linux-stable/include/linux/mlx5
Jianbo Liu c6c2bf5db4 net/mlx5e: Support IPsec packet offload for TX in switchdev mode
The IPsec encryption is done at the last, so add new prio for IPsec
offload in FDB, and put it just lower than the slow path prio and
higher than the per-vport prio.
Three levels are added for TX. The first one is for ip xfrm policy.
The sa table is created in the second level for ip xfrm state. The
status table is created at the last to count the number of packets
encrypted.
The rules, which forward packets to uplink, are changed to forward
them to IPsec TX tables first. These rules are restored after those
tables are destroyed, which is done immediately when there is no
reference to them, just as what does in legacy mode. The support for
slow path is added here, by refreshing uplink's channels. But, the
handling for TC fast path, which is more complicated, will be added
later. Besides, reg c4 is used instead to match reqid.

Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/cfd0e6ffaf0b8c55ebaa9fb0649b7c504b6b8ec6.1690802064.git.leon@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-08-02 18:37:29 -07:00
..
cq.h
device.h net/mlx5: Handle sync reset unload event 2023-06-16 12:02:07 -07:00
doorbell.h
driver.h net/mlx5: Allocate command stats with xarray 2023-07-27 11:37:29 -07:00
eq.h
eswitch.h net/mlx5e: Handle IPsec offload for RX datapath in switchdev mode 2023-08-02 18:37:29 -07:00
fs.h net/mlx5e: Support IPsec packet offload for TX in switchdev mode 2023-08-02 18:37:29 -07:00
fs_helpers.h net/mlx5: Remove unused functions 2022-09-27 12:50:27 -07:00
mlx5_ifc.h net/mlx5: Add relevant capabilities bits to support NAT-T 2023-07-25 15:08:57 +02:00
mlx5_ifc_fpga.h net/mlx5: Remove from FPGA IFC file not-needed definitions 2022-09-27 12:50:27 -07:00
mlx5_ifc_vdpa.h
mpfs.h
port.h net/mlx5: Move needed PTYS functions to core layer 2023-03-15 22:12:08 -07:00
qp.h net/mlx5: Add new WQE for updating flow table 2023-04-11 20:57:37 -07:00
rsc_dump.h
transobj.h
vport.h net/mlx5: Update vport caps query/set for EC VFs 2023-06-09 18:40:51 -07:00