]> www.infradead.org Git - users/hch/misc.git/commit
net/mlx5: fs, add HWS fte API functions
authorMoshe Shemesh <moshe@nvidia.com>
Thu, 9 Jan 2025 16:05:40 +0000 (18:05 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 14 Jan 2025 03:21:09 +0000 (19:21 -0800)
commit2ec6786ad0a6be59ffd6cada5507a2b0b4bb0a08
tree9a7e66d142ddffa66449cd0b1516660682462ad5
parent3fd62e943aebe72dc309177b874bdf6d0315165e
net/mlx5: fs, add HWS fte API functions

Add create, destroy and update fte API functions for adding, removing
and updating flow steering rules in HW Steering mode. Get HWS actions
according to required rule, use actions from pool whenever possible.

Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20250109160546.1733647-10-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.h
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.h