net/mlx5e: Support MACsec offload replay window
authorEmeel Hakim <ehakim@nvidia.com>
Wed, 21 Sep 2022 18:10:54 +0000 (11:10 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Sep 2022 01:01:33 +0000 (18:01 -0700)
commiteb43846b43c3b6578703661274206202cc04c358
treebe30fb84186e93f6a8d6090dbac3f73ba23b97ca
parent4411a6c0abd3e55b4a4fb9432b3a0553f12337c2
net/mlx5e: Support MACsec offload replay window

Support setting replay window size for MACsec offload.
Currently supported window size of 32, 64, 128 and 256
bit. Other values will be returned as invalid parameter.

Reviewed-by: Raed Salem <raeds@nvidia.com>
Signed-off-by: Emeel Hakim <ehakim@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c