Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_offload.c367 struct mlx5e_ipsec_aso *aso = ipsec->aso; in mlx5e_ipsec_handle_limits() local
373 soft_arm = !MLX5_GET(ipsec_aso, aso->ctx, soft_lft_arm); in mlx5e_ipsec_handle_limits()
374 hard_arm = !MLX5_GET(ipsec_aso, aso->ctx, hard_lft_arm); in mlx5e_ipsec_handle_limits()
379 hard_cnt = MLX5_GET(ipsec_aso, aso->ctx, remove_flow_pkt_cnt); in mlx5e_ipsec_handle_limits()
450 struct mlx5e_ipsec_aso *aso; in mlx5e_ipsec_handle_event() local
453 aso = sa_entry->ipsec->aso; in mlx5e_ipsec_handle_event()
462 !MLX5_GET(ipsec_aso, aso->ctx, esn_event_arm)) { in mlx5e_ipsec_handle_event()
463 u32 mode_param = MLX5_GET(ipsec_aso, aso->ctx, mode_parameter); in mlx5e_ipsec_handle_event()
513 struct mlx5e_ipsec_aso *aso; in mlx5e_ipsec_aso_init() local
518 aso = kzalloc(sizeof(*ipsec->aso), GFP_KERNEL); in mlx5e_ipsec_aso_init()
[all …]
Dmacsec.c125 struct mlx5e_macsec_aso aso; member
160 static int mlx5e_macsec_aso_reg_mr(struct mlx5_core_dev *mdev, struct mlx5e_macsec_aso *aso) in mlx5e_macsec_aso_reg_mr() argument
181 err = mlx5e_create_mkey(mdev, aso->pdn, &umr->mkey); in mlx5e_macsec_aso_reg_mr()
189 aso->umr = umr; in mlx5e_macsec_aso_reg_mr()
200 static void mlx5e_macsec_aso_dereg_mr(struct mlx5_core_dev *mdev, struct mlx5e_macsec_aso *aso) in mlx5e_macsec_aso_dereg_mr() argument
202 struct mlx5e_macsec_umr *umr = aso->umr; in mlx5e_macsec_aso_dereg_mr()
345 obj_attrs.aso_pdn = macsec->aso.pdn; in mlx5e_macsec_init_sa()
1330 static void macsec_aso_build_ctrl(struct mlx5e_macsec_aso *aso, in macsec_aso_build_ctrl() argument
1344 macsec_aso_build_wqe_ctrl_seg(aso, aso_ctrl, &param); in macsec_aso_build_ctrl()
1350 struct mlx5e_macsec_aso *aso; in macsec_aso_set_arm_event() local
[all …]
Dipsec.h167 struct mlx5_aso *aso; member
236 struct mlx5e_ipsec_aso *aso; member
Dipsec.c942 if (ipsec->aso) in mlx5e_ipsec_cleanup()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Daso.c311 struct mlx5_aso *aso; in mlx5_aso_create() local
314 aso = kzalloc(sizeof(*aso), GFP_KERNEL); in mlx5_aso_create()
315 if (!aso) in mlx5_aso_create()
318 err = mlx5_aso_create_cq(mdev, numa_node, &aso->cq); in mlx5_aso_create()
322 err = mlx5_aso_create_sq(mdev, numa_node, pdn, aso); in mlx5_aso_create()
326 return aso; in mlx5_aso_create()
329 mlx5_aso_destroy_cq(&aso->cq); in mlx5_aso_create()
331 kfree(aso); in mlx5_aso_create()
335 void mlx5_aso_destroy(struct mlx5_aso *aso) in mlx5_aso_destroy() argument
337 mlx5_aso_destroy_sq(aso); in mlx5_aso_destroy()
[all …]
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-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
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-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c915 attr.aso_flow_meter.obj_id = action->aso->obj_id; in mlx5dr_actions_build_ste_arr()
916 attr.aso_flow_meter.offset = action->aso->offset; in mlx5dr_actions_build_ste_arr()
917 attr.aso_flow_meter.dest_reg_id = action->aso->dest_reg_id; in mlx5dr_actions_build_ste_arr()
918 attr.aso_flow_meter.init_color = action->aso->init_color; in mlx5dr_actions_build_ste_arr()
2134 action->aso->obj_id = obj_id; in mlx5dr_action_create_aso()
2135 action->aso->offset = meter_id; in mlx5dr_action_create_aso()
2136 action->aso->dest_reg_id = dest_reg_id; in mlx5dr_action_create_aso()
2137 action->aso->init_color = init_color; in mlx5dr_action_create_aso()
2138 action->aso->dmn = dmn; in mlx5dr_action_create_aso()
2204 refcount_dec(&action->aso->dmn->refcount); in mlx5dr_action_destroy()
Ddr_types.h1136 struct mlx5dr_action_aso_flow_meter *aso; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
DMakefile20 fw_reset.o qos.o lib/tout.o lib/aso.o
/linux-6.6.21/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_common.h394 u8 aso; member
Ds5p_mfc_opr_v6.c1112 reg |= ((p_h264->aso & 0x1) << 6); in s5p_mfc_set_enc_params_h264()
1744 if (p_h264->aso) { in s5p_mfc_h264_set_aso_slice_order_v6()