]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5: Add IFC bits to support RSS for IPSec offload
authorJianbo Liu <jianbol@nvidia.com>
Thu, 17 Jul 2025 06:48:13 +0000 (09:48 +0300)
committerLeon Romanovsky <leon@kernel.org>
Sun, 20 Jul 2025 07:02:14 +0000 (03:02 -0400)
commit438794e93f6271af93f0d16a1851725115b5fd51
tree0349b42c68dbaac3d812cdcf23c5f9d7017a3f4e
parentcd1746cb6555a2238c4aae9f9d60b637a61bf177
net/mlx5: Add IFC bits to support RSS for IPSec offload

This adds the capabilities, ipsec_next_header and inner/outer
l4_type_ext fields to support RSS for the decrypted packets.

These fields are specifically for firmware steering. HWS validation
logic is updated to correctly handle the changes, ensuring the
unsupported fields are not set.

Besides, reserved_at_c4 is fixed to reserved_at_d4 to reflect the
accurate offset within the structure.

Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
Reviewed-by: Carolina Jubran <cjubran@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1752734895-257735-2-git-send-email-tariqt@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c
include/linux/mlx5/mlx5_ifc.h