]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5e: Configure PSP Rx flow steering rules
authorRaed Salem <raeds@nvidia.com>
Wed, 17 Sep 2025 00:09:43 +0000 (17:09 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 18 Sep 2025 10:32:07 +0000 (12:32 +0200)
commit2b6e450bfde7b021bfb44c3c7b04d3b3a2bfe1bb
tree2c8af2b7f899c544af27c9ceaab4b439ae75b0ae
parent9536fbe10c9ded3f5ce37eda40650039aed5e2ac
net/mlx5e: Configure PSP Rx flow steering rules

Set the Rx PSP flow steering rule where PSP packet is identified and
decrypted using the dedicated UDP destination port number 1000. If packet
is decrypted then a PSP marker and syndrome are added to metadata so SW can
use it later on in Rx data path.

The rule is set as part of init_rx netdev profile implementation.

Signed-off-by: Raed Salem <raeds@nvidia.com>
Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com>
Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com>
Link: https://patch.msgid.link/20250917000954.859376-17-daniel.zahka@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h
drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp.c
drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp.h