aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorhayeswang <[email protected]>2013-11-20 09:30:56 +0000
committerDavid S. Miller <[email protected]>2013-11-20 20:09:42 +0000
commitdd1b119c835632f5d939f2a7351ad95001d9cb52 (patch)
tree005ce53b5939c72b15ee60a676b9298fa798dd37 /net/unix/af_unix.c
parentr8152: modify the tx flow (diff)
downloadkernel-dd1b119c835632f5d939f2a7351ad95001d9cb52.tar.gz
kernel-dd1b119c835632f5d939f2a7351ad95001d9cb52.zip
r8152: support stopping/waking tx queue
The maximum packet number which a tx aggregation buffer could contain is the tx_qlen. tx_qlen = buffer size / (packet size + descriptor size). If the tx buffer is empty and the queued packets are more than the maximum value which is defined above, stop the tx queue. Wake the tx queue if tx queue is stopped and the queued packets are less than tx_qlen. Signed-off-by: Hayes Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions