]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Merge branch 'net-mlx5-hws-single-flow-counter-support'
authorPaolo Abeni <pabeni@redhat.com>
Thu, 15 Jan 2026 11:10:29 +0000 (12:10 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 15 Jan 2026 11:10:29 +0000 (12:10 +0100)
Tariq Toukan says:

====================
net/mlx5: HWS single flow counter support

This small series refactors the flow counter bulk initialization code
and extends it so that single flow counters are also usable by hardware
steering (HWS) rules.

Patches 1-2 refactor the bulk init path: first by factoring out common
flow counter bulk initialization into mlx5_fc_bulk_init(), then by
splitting the bitmap allocation into mlx5_fs_bulk_bitmap_alloc(), with
no functional changes.

Patch 3 initializes bulk data for counters allocated via
mlx5_fc_single_alloc(), so they can be safely used by HWS rules.
====================

Link: https://patch.msgid.link/1768210825-1598472-1-git-send-email-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>

Trivial merge