diff options
author | Tariq Toukan <tariqt@mellanox.com> | 2020-06-28 13:06:06 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2020-09-22 03:22:24 +0300 |
commit | 8f0bcd19b1da3f264223abea985b9462e85a3718 (patch) | |
tree | 1a2504140a3c36f12c01cdafbc61e14fe3fdf1a9 /drivers/memory/of_memory.h | |
parent | b521105b68a2e3334d69202fb354d7b711b01aa3 (diff) | |
download | linux-8f0bcd19b1da3f264223abea985b9462e85a3718.tar.xz |
net/mlx5e: TLS, Do not expose FPGA TLS counter if not supported
The set of TLS TX global SW counters in mlx5e_tls_sw_stats_desc
is updated from all rings by using atomic ops.
This set of stats is used only in the FPGA TLS use case, not in
the Connect-X TLS one, where regular per-ring counters are used.
Do not expose them in the Connect-X use case, as this would cause
counter duplication. For example, tx_tls_drop_no_sync_data would
appear twice in the ethtool stats.
Fixes: d2ead1f360e8 ("net/mlx5e: Add kTLS TX HW offload support")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/memory/of_memory.h')
0 files changed, 0 insertions, 0 deletions