]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Jan 2016 01:28:39 +0000 (17:28 -0800)
commit8ea1fba7cf4ba13b3bca4731b2cc11ca87f384e3
treedac350b23cffc09b3d5124694678c47f20c4bc1e
parent30c2913ae17781a5a17d7c20815a87b2ab2a7c40
bnxt_en: Exclude rx_drop_pkts hw counter from the stack's rx_dropped counter.

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>
drivers/net/ethernet/broadcom/bnxt/bnxt.c