]> www.infradead.org Git - users/jedix/linux-maple.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)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Tue, 11 Jul 2017 00:04:09 +0000 (17:04 -0700)
commitc79d6a96bad082a430f9b5318a3db0f30f0a812c
tree72d834a825928ee50cc572d952871e5d6b18fb57
parent5717cb9193075593c7439b8063465eb6dc261f12
bnxt_en: Fix xmit_more with BQL.

Orabug: 264025332632559926366387

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: 4d172f21cefe ("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>
(cherry picked from commit ffe406457753a7ca2061ecc8c4d3971623066911)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c