Searched refs:aso_ctx (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ipsec_offload.c | 94 void *aso_ctx; in mlx5e_ipsec_packet_setup() local 96 aso_ctx = MLX5_ADDR_OF(ipsec_obj, obj, ipsec_aso); in mlx5e_ipsec_packet_setup() 98 MLX5_SET(ipsec_aso, aso_ctx, esn_event_arm, 1); in mlx5e_ipsec_packet_setup() 101 MLX5_SET(ipsec_aso, aso_ctx, window_sz, in mlx5e_ipsec_packet_setup() 103 MLX5_SET(ipsec_aso, aso_ctx, mode, in mlx5e_ipsec_packet_setup() 106 MLX5_SET(ipsec_aso, aso_ctx, mode_parameter, in mlx5e_ipsec_packet_setup() 113 MLX5_SET(ipsec_aso, aso_ctx, valid, 1); in mlx5e_ipsec_packet_setup() 122 MLX5_SET(ipsec_aso, aso_ctx, mode, MLX5_IPSEC_ASO_INC_SN); in mlx5e_ipsec_packet_setup() 125 MLX5_SET(ipsec_aso, aso_ctx, remove_flow_pkt_cnt, in mlx5e_ipsec_packet_setup() 127 MLX5_SET(ipsec_aso, aso_ctx, hard_lft_arm, 1); in mlx5e_ipsec_packet_setup() [all …]
|
D | macsec.c | 209 static int macsec_set_replay_protection(struct mlx5_macsec_obj_attrs *attrs, void *aso_ctx) in macsec_set_replay_protection() argument 232 MLX5_SET(macsec_aso, aso_ctx, window_size, window_sz); in macsec_set_replay_protection() 233 MLX5_SET(macsec_aso, aso_ctx, mode, MLX5_MACSEC_ASO_REPLAY_PROTECTION); in macsec_set_replay_protection() 245 void *aso_ctx; in mlx5e_macsec_create_object() local 250 aso_ctx = MLX5_ADDR_OF(macsec_offload_obj, obj, macsec_aso); in mlx5e_macsec_create_object() 256 MLX5_SET(macsec_aso, aso_ctx, mode_parameter, attrs->next_pn); in mlx5e_macsec_create_object() 263 MLX5_SET(macsec_aso, aso_ctx, epn_event_arm, 1); in mlx5e_macsec_create_object() 275 MLX5_SET(macsec_aso, aso_ctx, valid, 0x1); in mlx5e_macsec_create_object() 277 MLX5_SET(macsec_aso, aso_ctx, mode, MLX5_MACSEC_ASO_INC_SN); in mlx5e_macsec_create_object() 279 err = macsec_set_replay_protection(attrs, aso_ctx); in mlx5e_macsec_create_object()
|