]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Fix xmit_more with BQL.
authorMichael Chan <michael.chan@broadcom.com>
Wed, 31 May 2017 00:03:00 +0000 (20:03 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 May 2017 02:37:06 +0000 (22:37 -0400)
commit783e1155a8075e602b2f09613092a47411117f6d
tree1c812677a8836f2dd7407fb0d135b03c7a6923da
parent3eb3840650ce97a10697f95f6d0e655f4d08f239
bnxt_en: Fix xmit_more with BQL.

We need to write the doorbell if BQL has stopped the queue and
skb->xmit_more is set.  Otherwise it is possible for the tx queue to
rot and cause tx timeout.

Fixes: 6dff915ca0d8 ("bnxt_en: Implement xmit_more.")
Suggested-by: Yuval Mintz <yuval.mintz@cavium.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c