Home
last modified time | relevance | path

Searched refs:aso (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_offload.c374 struct mlx5e_ipsec_aso *aso = ipsec->aso; in mlx5e_ipsec_handle_limits() local
380 soft_arm = !MLX5_GET(ipsec_aso, aso->ctx, soft_lft_arm); in mlx5e_ipsec_handle_limits()
381 hard_arm = !MLX5_GET(ipsec_aso, aso->ctx, hard_lft_arm); in mlx5e_ipsec_handle_limits()
386 hard_cnt = MLX5_GET(ipsec_aso, aso->ctx, remove_flow_pkt_cnt); in mlx5e_ipsec_handle_limits()
457 struct mlx5e_ipsec_aso *aso; in mlx5e_ipsec_handle_event() local
460 aso = sa_entry->ipsec->aso; in mlx5e_ipsec_handle_event()
469 !MLX5_GET(ipsec_aso, aso->ctx, esn_event_arm)) { in mlx5e_ipsec_handle_event()
470 u32 mode_param = MLX5_GET(ipsec_aso, aso->ctx, mode_parameter); in mlx5e_ipsec_handle_event()
520 struct mlx5e_ipsec_aso *aso; in mlx5e_ipsec_aso_init() local
525 aso = kzalloc(sizeof(*ipsec->aso), GFP_KERNEL); in mlx5e_ipsec_aso_init()
[all …]
H A Dipsec.h177 struct mlx5_aso *aso; member
254 struct mlx5e_ipsec_aso *aso; member
H A Dipsec.c1053 if (ipsec->aso) in mlx5e_ipsec_cleanup()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Daso.h82 struct mlx5_aso_wqe *mlx5_aso_get_wqe(struct mlx5_aso *aso);
83 void mlx5_aso_build_wqe(struct mlx5_aso *aso, u8 ds_cnt,
86 void mlx5_aso_post_wqe(struct mlx5_aso *aso, bool with_data,
88 int mlx5_aso_poll_cq(struct mlx5_aso *aso, bool with_data);
91 void mlx5_aso_destroy(struct mlx5_aso *aso);
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dmeter.c36 struct mlx5_aso *aso; member
119 struct mlx5_aso *aso; in mlx5e_tc_meter_modify() local
156 aso = flow_meters->aso; in mlx5e_tc_meter_modify()
159 aso_wqe = mlx5_aso_get_wqe(aso); in mlx5e_tc_meter_modify()
161 mlx5_aso_build_wqe(aso, ds_cnt, aso_wqe, meter->obj_id, in mlx5e_tc_meter_modify()
187 mlx5_aso_post_wqe(aso, true, &aso_wqe->ctrl); in mlx5e_tc_meter_modify()
192 err = mlx5_aso_poll_cq(aso, true); in mlx5e_tc_meter_modify()
543 flow_meters->aso = mlx5_aso_create(mdev, flow_meters->pdn); in mlx5e_flow_meters_init()
544 if (IS_ERR(flow_meters->aso)) { in mlx5e_flow_meters_init()
546 err = PTR_ERR(flow_meters->aso); in mlx5e_flow_meters_init()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Daction.c509 attr->aso.aso_type = ASO_OPC_MOD_POLICER; in hws_action_fill_stc_attr()
510 attr->aso.devx_obj_id = obj_id; in hws_action_fill_stc_attr()
511 attr->aso.return_reg_id = action->aso.return_reg_id; in hws_action_fill_stc_attr()
766 action->aso.obj_id = obj_id; in hws_action_create_aso()
767 action->aso.return_reg_id = return_reg_id; in hws_action_create_aso()
H A Dcmd.h132 } aso; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_types.h1133 struct mlx5dr_action_aso_flow_meter *aso; member