diff options
author | Boris Pismenny <borisp@mellanox.com> | 2018-06-11 17:24:58 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-06-28 14:44:14 -0700 |
commit | bc5a7ccd9a6025e2ba555ab7dcd5043e2bfde315 (patch) | |
tree | 72619af09fbdd31a1326b33d3abbae1d1b5d34c9 /drivers/net/ethernet/mellanox/mlx5/core/en_stats.h | |
parent | 689adf0d4892680f5998ea424e0ace560b492dc2 (diff) | |
download | linux-bc5a7ccd9a6025e2ba555ab7dcd5043e2bfde315.tar.bz2 |
net/mlx5e: Add UDP GSO remaining counter
This patch adds a counter for tx UDP GSO packets that contain a segment
that is not aligned to MSS - remaining segment.
Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_stats.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/en_stats.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_stats.h b/drivers/net/ethernet/mellanox/mlx5/core/en_stats.h index 643153bb3607..d416bb86e747 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_stats.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_stats.h @@ -79,6 +79,7 @@ struct mlx5e_sw_stats { u64 tx_xmit_more; u64 tx_recover; u64 tx_queue_wake; + u64 tx_udp_seg_rem; u64 tx_cqe_err; u64 rx_wqe_err; u64 rx_mpwqe_filler; @@ -196,6 +197,7 @@ struct mlx5e_sq_stats { u64 csum_partial_inner; u64 added_vlan_packets; u64 nop; + u64 udp_seg_rem; #ifdef CONFIG_MLX5_EN_TLS u64 tls_ooo; u64 tls_resync_bytes; |