net/mlx5e: Add vnic steering drop statistics
authorMoshe Shemesh <moshe@mellanox.com>
Tue, 26 Dec 2017 14:46:29 +0000 (16:46 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 26 Mar 2018 20:47:10 +0000 (13:47 -0700)
commit5c298143be17f5100656b9c140af672c644116d9
treed09567e325c9395b410b8408673cd1640acecc25
parent61c5b5c9178288a4caa3e39095aafb391c5100f6
net/mlx5e: Add vnic steering drop statistics

Added the following packets drop counter:
Rx steering missed dropped packets - counts packets which were dropped
due to miss on NIC rx steering rules.
This counter will be shown on ethtool as a new counter called
rx_steer_missed_packets.

Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h
include/linux/mlx5/mlx5_ifc.h