net/mlx5e: Add VLAN offloads statistics
The following counters are now exposed through ethtool -S: rx[i]_removed_vlan_packets (per channel) rx_removed_vlan_packets tx[i]_added_vlan_packets (per channel) tx_added_vlan_packets rx_removed_vlan_packets: The number of packets that had their outer VLAN header stripped to the CQE by the hardware. tx_added_vlan_packets: The number of packets that had their outer VLAN header inserted by the hardware. Signed-off-by:Gal Pressman <galp@mellanox.com> Reviewed-by:
Tariq Toukan <tariqt@mellanox.com> Signed-off-by:
Saeed Mahameed <saeedm@mellanox.com>
Showing
- drivers/net/ethernet/mellanox/mlx5/core/en_main.c 2 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en_main.c
- drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 3 additions, 1 deletiondrivers/net/ethernet/mellanox/mlx5/core/en_rx.c
- drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 4 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en_stats.c
- drivers/net/ethernet/mellanox/mlx5/core/en_stats.h 4 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en_stats.h
- drivers/net/ethernet/mellanox/mlx5/core/en_tx.c 2 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en_tx.c
Loading
Please register or sign in to comment