Home
last modified time | relevance | path

Searched refs:aso_ctrl (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Daso.h41 struct mlx5_wqe_aso_ctrl_seg aso_ctrl; member
46 struct mlx5_wqe_aso_ctrl_seg aso_ctrl; member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dmacsec.c1279 struct mlx5_wqe_aso_ctrl_seg *aso_ctrl, in macsec_aso_build_wqe_ctrl_seg() argument
1284 memset(aso_ctrl, 0, sizeof(*aso_ctrl)); in macsec_aso_build_wqe_ctrl_seg()
1286 aso_ctrl->va_h = cpu_to_be32((u64)umr->dma_addr >> 32); in macsec_aso_build_wqe_ctrl_seg()
1287 aso_ctrl->l_key = cpu_to_be32(umr->mkey); in macsec_aso_build_wqe_ctrl_seg()
1292 aso_ctrl->data_mask_mode = param->data_mask_mode << 6; in macsec_aso_build_wqe_ctrl_seg()
1295 aso_ctrl->condition_1_0_offset = param->condition_1_offset | in macsec_aso_build_wqe_ctrl_seg()
1303 aso_ctrl->bitwise_data = cpu_to_be64(param->bitwise_data); in macsec_aso_build_wqe_ctrl_seg()
1304 aso_ctrl->data_mask = cpu_to_be64(param->data_mask); in macsec_aso_build_wqe_ctrl_seg()
1351 struct mlx5_wqe_aso_ctrl_seg *aso_ctrl, in macsec_aso_build_ctrl() argument
1364 macsec_aso_build_wqe_ctrl_seg(aso, aso_ctrl, &param); in macsec_aso_build_ctrl()
[all …]
H A Dipsec_offload.c611 ctrl = &wqe->aso_ctrl; in mlx5e_ipsec_aso_query()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dmeter.c113 struct mlx5_wqe_aso_ctrl_seg *aso_ctrl; in mlx5e_tc_meter_modify() local
164 aso_ctrl = &aso_wqe->aso_ctrl; in mlx5e_tc_meter_modify()
165 aso_ctrl->data_mask_mode = MLX5_ASO_DATA_MASK_MODE_BYTEWISE_64BYTE << 6; in mlx5e_tc_meter_modify()
166 aso_ctrl->condition_1_0_operand = MLX5_ASO_ALWAYS_TRUE | in mlx5e_tc_meter_modify()
168 aso_ctrl->data_offset_condition_operand = MLX5_ASO_LOGICAL_OR << 6; in mlx5e_tc_meter_modify()
169 aso_ctrl->data_mask = cpu_to_be64(0x80FFFFFFULL << (meter->idx ? 0 : 32)); in mlx5e_tc_meter_modify()