]> asedeno.scripts.mit.edu Git - linux.git/commit
net/mlx5e: Add counter for XDP redirect in RX
authorTariq Toukan <tariqt@mellanox.com>
Wed, 16 May 2018 07:16:30 +0000 (10:16 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 26 Jul 2018 22:23:54 +0000 (15:23 -0700)
commit86690b4b4a5127b912348201f4f5880bb75a6621
tree9bc478f33fe4580dd6007171c1ab4e9abd57f139
parent159d21313423b5ffe301834273cba79e915c65ee
net/mlx5e: Add counter for XDP redirect in RX

Add per-ring and total stats for received packets that
goes into XDP redirection.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h