]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5: Initialize bulk for single flow counters
authorMoshe Shemesh <moshe@nvidia.com>
Mon, 12 Jan 2026 09:40:25 +0000 (11:40 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 15 Jan 2026 11:10:27 +0000 (12:10 +0100)
commit1c8910f50350b46eb184f77e5af7bc09e57e8aed
treedcb7bb88eaa111367eb48dc6d8a39b0ec2f00c40
parent6a6c4dd7c0190acff25e221b204ac8652ef07dae
net/mlx5: Initialize bulk for single flow counters

Ensure that flow counters allocated with mlx5_fc_single_alloc() have
bulk correctly initialized so they can safely be used in HWS rules.

Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1768210825-1598472-4-git-send-email-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.h
drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c