]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sfc: push partner queue for skb->xmit_more
authorMartin Habets <mhabets@solarflare.com>
Mon, 2 Nov 2015 12:51:31 +0000 (12:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Nov 2015 04:02:58 +0000 (23:02 -0500)
commitb2663a4f30e85ec606b806f5135413e6d5c78d1e
tree115a16d89b46e332254fe2cdf3b1087f95e97391
parent4ece9009774596ee3df0acba65a324b7ea79387c
sfc: push partner queue for skb->xmit_more

When the IP stack passes SKBs the sfc driver puts them in 2 different TX
queues (called partners), one for checksummed and one for not checksummed.
If the SKB has xmit_more set the driver will delay pushing the work to the
NIC.

When later it does decide to push the buffers this patch ensures it also
pushes the partner queue, if that also has any delayed work. Before this
fix the work in the partner queue would be left for a long time and cause
a netdev watchdog.

Fixes: 70b33fb ("sfc: add support for skb->xmit_more")
Reported-by: Jianlin Shi <jishi@redhat.com>
Signed-off-by: Martin Habets <mhabets@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/farch.c
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/tx.c