summaryrefslogtreecommitdiff
path: root/drivers/leds
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@mellanox.com>2020-06-28 13:06:06 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2020-09-21 17:22:24 -0700
commit8f0bcd19b1da3f264223abea985b9462e85a3718 (patch)
tree1a2504140a3c36f12c01cdafbc61e14fe3fdf1a9 /drivers/leds
parentb521105b68a2e3334d69202fb354d7b711b01aa3 (diff)
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/leds')
0 files changed, 0 insertions, 0 deletions