diff options
author | Martin Habets | 2018-05-24 11:14:00 +0200 |
---|---|---|
committer | David S. Miller | 2018-05-25 20:49:37 +0200 |
commit | 0c235113b3c42197dba66baf76697359b03a5046 (patch) | |
tree | 7434564e95de1ef46a2981f233f8f5076bf2dcb2 /tools/usb | |
parent | net: bridge: add support for port isolation (diff) | |
download | kernel-qcow2-linux-0c235113b3c42197dba66baf76697359b03a5046.tar.gz kernel-qcow2-linux-0c235113b3c42197dba66baf76697359b03a5046.tar.xz kernel-qcow2-linux-0c235113b3c42197dba66baf76697359b03a5046.zip |
sfc: stop the TX queue before pushing new buffers
efx_enqueue_skb() can push new buffers for the xmit_more functionality.
We must stops the TX queue before this or else the TX queue does not get
restarted and we get a netdev watchdog.
In the error handling we may now need to unwind more than 1 packet, and
we may need to push the new buffers onto the partner queue.
v2: In the error leg also push this queue if xmit_more is set
Fixes: e9117e5099ea ("sfc: Firmware-Assisted TSO version 2")
Reported-by: Jarod Wilson <jarod@redhat.com>
Tested-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Martin Habets <mhabets@solarflare.com>
Acked-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/usb')
0 files changed, 0 insertions, 0 deletions