linux/drivers/net/ethernet/mellanox/mlx4
Eran Ben Elisha d21ed3a311 net/mlx4_en: Split SW RX dropped counter per RX ring
Count SW packet drops per RX ring instead of a global counter. This
will allow monitoring the number of rx drops per ring.

In addition, SW rx_dropped counter was overwritten by HW rx_dropped
counter, sum both of them instead to show the accurate value.

Fixes: a3333b35da ('net/mlx4_en: Moderate ethtool callback to [...] ')
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Reported-by: Brenden Blanco <bblanco@plumgrid.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reported-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-04-21 15:02:40 -04:00
..
alloc.c net: Mellanox: Delete unnecessary checks before the function call "vunmap" 2015-02-09 14:10:05 -08:00
catas.c net/mlx4_core: Do not BUG_ON during reset when PCI is offline 2016-02-17 10:29:26 -05:00
cmd.c net/mlx4: fix some error handling in mlx4_multi_func_init() 2016-02-11 11:04:54 -05:00
cq.c net/mlx4_core: Set UAR page size to 4KB regardless of system page size 2016-02-17 10:29:27 -05:00
en_clock.c net/mlx4_en: Choose time-stamping shift value according to HW frequency 2016-02-17 10:29:25 -05:00
en_cq.c net: provide generic busy polling to all NAPI drivers 2015-11-18 16:17:42 -05:00
en_dcb_nl.c net/mlx4: New file for QoS related firmware commands 2015-04-02 16:25:02 -04:00
en_ethtool.c net/mlx4_en: Split SW RX dropped counter per RX ring 2016-04-21 15:02:40 -04:00
en_main.c net: mlx4: use new ETHTOOL_G/SSETTINGS API 2016-02-25 22:06:47 -05:00
en_netdev.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-03-08 12:34:12 -05:00
en_port.c net/mlx4_en: Split SW RX dropped counter per RX ring 2016-04-21 15:02:40 -04:00
en_port.h
en_resources.c net/mlx4_core: Set UAR page size to 4KB regardless of system page size 2016-02-17 10:29:27 -05:00
en_rx.c net/mlx4_en: Split SW RX dropped counter per RX ring 2016-04-21 15:02:40 -04:00
en_selftest.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-03-03 21:16:48 -05:00
en_tx.c mlx4: use napi_consume_skb API to get bulk free operations 2016-03-13 22:35:35 -04:00
eq.c net/mlx4_core: Set UAR page size to 4KB regardless of system page size 2016-02-17 10:29:27 -05:00
fw_qos.c net/mlx4: Add mlx4_SET_VPORT_QOS implementation 2015-04-02 16:25:02 -04:00
fw_qos.h net/mlx4: Added qos_vport QP configuration in VST mode 2015-04-02 16:25:03 -04:00
fw.c IB/mlx4: Add support for the don't trap rule 2016-02-29 17:11:40 -05:00
fw.h net/mlx4_core: Use both physical ports to set the VF link state 2015-12-06 22:40:44 -05:00
icm.c net/mlx4_core: Maintain a persistent memory for mlx4 device 2015-01-25 14:43:13 -08:00
icm.h
intf.c mlx4: Implement devlink interface 2016-03-01 16:07:29 -05:00
Kconfig net: mellanox: add DEVLINK dependencies 2016-03-03 17:08:59 -05:00
main.c net/mlx4_core: Avoid repeated calls to pci enable/disable 2016-04-21 15:02:40 -04:00
Makefile net/mlx4: New file for QoS related firmware commands 2015-04-02 16:25:02 -04:00
mcg.c net/mlx4: remove unused array zero_gid[] 2016-03-20 16:24:06 -04:00
mlx4_en.h net/mlx4_en: Split SW RX dropped counter per RX ring 2016-04-21 15:02:40 -04:00
mlx4_stats.h net/mlx4_en: Fix off-by-four in ethtool 2015-06-24 00:42:32 -07:00
mlx4.h net/mlx4_core: Don't allow to VF change global pause settings 2016-04-21 15:02:40 -04:00
mr.c mlx4: corretly check failed allocation 2015-10-15 23:31:38 -07:00
pd.c net/mlx4_core: Set UAR page size to 4KB regardless of system page size 2016-02-17 10:29:27 -05:00
port.c net/mlx4_core: Don't allow to VF change global pause settings 2016-04-21 15:02:40 -04:00
profile.c net/mlx4_core: use swap() in mlx4_make_profile() 2015-06-11 15:19:41 -07:00
qp.c net/mlx4_core: Add support for RoCE v2 entropy 2016-01-19 15:35:00 -05:00
reset.c net/mlx4_core: Maintain a persistent memory for mlx4 device 2015-01-25 14:43:13 -08:00
resource_tracker.c mlx4: add missing braces in verify_qp_parameters 2016-03-14 13:09:49 -04:00
sense.c
srq.c