diff options
author | Dima Chumak <[email protected]> | 2023-08-24 23:28:36 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-08-27 17:08:45 -0700 |
commit | b691b1116e820450de8a5d50eb4ce546a7de93dc (patch) | |
tree | 4f4d8f7f4ee050ad280c74a389588a07fc6bd45d /lib/mpi/mpiutil.c | |
parent | 06bab69658a8afb493204448f29703e12e6d3960 (diff) |
net/mlx5: Implement devlink port function cmds to control ipsec_packet
Implement devlink port function commands to enable / disable IPsec
packet offloads. This is used to control the IPsec capability of the
device.
When ipsec_offload is enabled for a VF, it prevents adding IPsec packet
offloads on the PF, because the two cannot be active simultaneously due
to HW constraints. Conversely, if there are any active IPsec packet
offloads on the PF, it's not allowed to enable ipsec_packet on a VF,
until PF IPsec offloads are cleared.
Signed-off-by: Dima Chumak <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions