diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2022-03-20 16:07:14 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2022-05-03 22:59:17 -0700 |
commit | effbe2675165515e47e45aa26d70c3caedc9f6bc (patch) | |
tree | 6f7a62a2716d762d4588b3c9647762798d999731 /include | |
parent | net/mlx5: Don't advertise IPsec netdev support for non-IPsec device (diff) | |
download | linux-dev-effbe2675165515e47e45aa26d70c3caedc9f6bc.tar.xz linux-dev-effbe2675165515e47e45aa26d70c3caedc9f6bc.zip |
net/mlx5: Simplify IPsec capabilities logic
Reduce number of hard-coded IPsec capabilities by making sure
that mlx5_ipsec_device_caps() sets only supported bits.
As part of this change, remove _ACCEL_ notations from the capabilities
names as they represent IPsec-capable device, so it is aligned with
MLX5_CAP_IPSEC() macro. And prepare the code to IPsec full offload mode.
Reviewed-by: Raed Salem <raeds@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions