aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2019-08-17 17:04:48 -0400
committerDavid S. Miller <davem@davemloft.net>2019-08-18 13:05:00 -0700
commite8f267b063208372f7a329c6d5288d58944d873c (patch)
tree847a33cc674c63a1a6b2ad01fc84404b421ea448 /drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
parentbnxt_en: Fix VNIC clearing logic for 57500 chips. (diff)
downloadlinux-dev-e8f267b063208372f7a329c6d5288d58944d873c.tar.xz
linux-dev-e8f267b063208372f7a329c6d5288d58944d873c.zip
bnxt_en: Improve RX doorbell sequence.
When both RX buffers and RX aggregation buffers have to be replenished at the end of NAPI, post the RX aggregation buffers first before RX buffers. Otherwise, we may run into a situation where there are only RX buffers without RX aggregation buffers for a split second. This will cause the hardware to abort the RX packet and report buffer errors, which will cause unnecessary cleanup by the driver. Ringing the Aggregation ring doorbell first before the RX ring doorbell will prevent some of these buffer errors. Use the same sequence during ring initialization as well. Fixes: 697197e5a173 ("bnxt_en: Re-structure doorbells.") Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c')
0 files changed, 0 insertions, 0 deletions