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)
commit8a4d4c8dde7a4119bce3fd8287dca193ff6356da
treedac350b23cffc09b3d5124694678c47f20c4bc1e
parent74608fc98d2856fa7201a498b61c9dd9455b504a
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