diff options
author | Florian Fainelli | 2015-03-13 20:11:07 +0100 |
---|---|---|
committer | David S. Miller | 2015-03-13 20:52:31 +0100 |
commit | ddd0ca5d60b350bbfbfb60b25885a9779ce6d6c7 (patch) | |
tree | 974239fd13e2133fedb00e2096adfca16983440b /drivers/net/ethernet/intel/i40evf/i40e_txrx.h | |
parent | net: bcmgenet: update ring producer index and buffer count in xmit (diff) | |
download | kernel-qcow2-linux-ddd0ca5d60b350bbfbfb60b25885a9779ce6d6c7.tar.gz kernel-qcow2-linux-ddd0ca5d60b350bbfbfb60b25885a9779ce6d6c7.tar.xz kernel-qcow2-linux-ddd0ca5d60b350bbfbfb60b25885a9779ce6d6c7.zip |
net: bcmgenet: add support for xmit_more
Delay the update of the TDMA producer index unless this is the last SKB
in a batch, or the queue is already stopped. Move the check for whether
the queue should be stopped before the xmit_more check to avoid locking
the transmit queue in case there was a SKB submitted which has xmit_more
set.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/i40evf/i40e_txrx.h')
0 files changed, 0 insertions, 0 deletions