net/mlx5e: IPSec, Add IPSec ethtool stats
authorIlan Tayari <ilant@mellanox.com>
Thu, 22 Jun 2017 09:01:17 +0000 (12:01 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 27 Jun 2017 13:36:48 +0000 (16:36 +0300)
commit164f16f7021406795729916e100c7edd53ae954f
tree31768c01ed667fc622e1b0d31e8d8d3e9d30b28b
parent2ac9cfe78223bb88be8cff3b59e0e13551b4e29c
net/mlx5e: IPSec, Add IPSec ethtool stats

Add Innova IPSec SBU counters to the ethtool -S stats.
Add IPSec offload error counters to the ethtool -S stats.

Signed-off-by: Ilan Tayari <ilant@mellanox.com>
Reviewed-by: Boris Pismenny <borisp@mellanox.com>
Reviewed-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_stats.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c