]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt_en: Exclude rx_drop_pkts hw counter from the stack's rx_dropped counter.
authorMichael Chan <mchan@broadcom.com>
Thu, 28 Jan 2016 08:11:21 +0000 (03:11 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 00:36:50 +0000 (17:36 -0700)
commitdf549c6a4ff823662255cfce02413ebd55327eae
tree6ec16665cf089bfe032f3ffd79c11243739f7f9a
parentefd50ab200435cf62b6cdd13d182f1451a7c253b
bnxt_en: Exclude rx_drop_pkts hw counter from the stack's rx_dropped counter.

Orabug: 23221795

This hardware counter is misleading as it counts dropped packets that
don't match the hardware filters for unicast/broadcast/multicast.  We
will still report this counter in ethtool -S for diagnostics purposes.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 8a4d4c8dde7a4119bce3fd8287dca193ff6356da)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c