Thread (7 messages) 7 messages, 4 authors, 2026-01-15

Re: [PATCH net-next 0/3] net/mlx5: HWS single flow counter support

From: Simon Horman <horms@kernel.org>
Date: 2026-01-14 08:19:26
Also in: linux-rdma, lkml

On Mon, Jan 12, 2026 at 11:40:22AM +0200, Tariq Toukan wrote:
Hi,

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.
Hi Tariq,

Overall this looks good to me.
Am I correct in thinking that there will
be follow-up patches to make HWS use counters?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help