Searched refs:macsec_aso (Results 1 – 1 of 1) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | macsec.c | 16 #define MLX5E_MACSEC_ASO_CTX_SZ MLX5_ST_SZ_BYTES(macsec_aso) 91 u8 __aligned(64) ctx[MLX5_ST_SZ_BYTES(macsec_aso)]; 233 MLX5_SET(macsec_aso, aso_ctx, window_size, window_sz); in macsec_set_replay_protection() 234 MLX5_SET(macsec_aso, aso_ctx, mode, MLX5_MACSEC_ASO_REPLAY_PROTECTION); in macsec_set_replay_protection() 251 aso_ctx = MLX5_ADDR_OF(macsec_offload_obj, obj, macsec_aso); in mlx5e_macsec_create_object() 257 MLX5_SET(macsec_aso, aso_ctx, mode_parameter, attrs->next_pn); in mlx5e_macsec_create_object() 264 MLX5_SET(macsec_aso, aso_ctx, epn_event_arm, 1); in mlx5e_macsec_create_object() 276 MLX5_SET(macsec_aso, aso_ctx, valid, 0x1); in mlx5e_macsec_create_object() 278 MLX5_SET(macsec_aso, aso_ctx, mode, MLX5_MACSEC_ASO_INC_SN); in mlx5e_macsec_create_object() 1283 static void macsec_aso_build_wqe_ctrl_seg(struct mlx5e_macsec_aso *macsec_aso, in macsec_aso_build_wqe_ctrl_seg() argument [all …]
|