net/mlx4_en: Add XDP_REDIRECT statistics
authorJoshua Roys <roysjosh@gmail.com>
Thu, 30 Sep 2021 02:30:23 +0000 (22:30 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Sep 2021 13:14:30 +0000 (14:14 +0100)
commitdee3b2d0fa4b51a079f7d12159b42240f795bf64
tree648750441196a8a87e09d546318ab7fa48679a06
parent4fe815850bdc8d4cc94e06fe1de069424a895826
net/mlx4_en: Add XDP_REDIRECT statistics

Add counters for XDP REDIRECT success and failure. This brings the
redirect path in line with metrics gathered via the other XDP paths.

Signed-off-by: Joshua Roys <roysjosh@gmail.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
drivers/net/ethernet/mellanox/mlx4/en_port.c
drivers/net/ethernet/mellanox/mlx4/en_rx.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
drivers/net/ethernet/mellanox/mlx4/mlx4_stats.h