]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5e: Implement PSP Tx data path
authorRaed Salem <raeds@nvidia.com>
Wed, 17 Sep 2025 00:09:41 +0000 (17:09 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 18 Sep 2025 10:32:07 +0000 (12:32 +0200)
commite5a1861a298eb386bf22c2cfc95b147f65c6071c
tree7f65caa67b2a1b0dd3c22a9abe6f386aedacd4cb
parentfc724515741a1b86ca0457825fdb784ab038e92c
net/mlx5e: Implement PSP Tx data path

Setup PSP offload on Tx data path based on whether skb indicates that it is
intended for PSP or not. Support driver side encapsulation of the UDP
headers, PSP headers, and PSP trailer for the PSP traffic that will be
encrypted by the NIC.

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-15-daniel.zahka@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h
drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_rxtx.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp_rxtx.h [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c