Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
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 memset(aso_ctrl, 0, sizeof(*aso_ctrl)); in mlx5e_tc_meter_modify()
166 aso_ctrl->data_mask_mode = MLX5_ASO_DATA_MASK_MODE_BYTEWISE_64BYTE << 6; in mlx5e_tc_meter_modify()
167 aso_ctrl->condition_1_0_operand = MLX5_ASO_ALWAYS_TRUE | in mlx5e_tc_meter_modify()
169 aso_ctrl->data_offset_condition_operand = MLX5_ASO_LOGICAL_OR << 6; in mlx5e_tc_meter_modify()
170 aso_ctrl->data_mask = cpu_to_be64(0x80FFFFFFULL << (meter->idx ? 0 : 32)); in mlx5e_tc_meter_modify()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Daso.h40 struct mlx5_wqe_aso_ctrl_seg aso_ctrl; member
45 struct mlx5_wqe_aso_ctrl_seg aso_ctrl; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dmacsec.c1298 struct mlx5_wqe_aso_ctrl_seg *aso_ctrl, in macsec_aso_build_wqe_ctrl_seg() argument
1301 memset(aso_ctrl, 0, sizeof(*aso_ctrl)); in macsec_aso_build_wqe_ctrl_seg()
1303 aso_ctrl->va_l = cpu_to_be32(macsec_aso->umr->dma_addr | ASO_CTRL_READ_EN); in macsec_aso_build_wqe_ctrl_seg()
1304 aso_ctrl->va_h = cpu_to_be32((u64)macsec_aso->umr->dma_addr >> 32); in macsec_aso_build_wqe_ctrl_seg()
1305 aso_ctrl->l_key = cpu_to_be32(macsec_aso->umr->mkey); in macsec_aso_build_wqe_ctrl_seg()
1311 aso_ctrl->data_mask_mode = param->data_mask_mode << 6; in macsec_aso_build_wqe_ctrl_seg()
1312 aso_ctrl->condition_1_0_operand = param->condition_1_operand | in macsec_aso_build_wqe_ctrl_seg()
1314 aso_ctrl->condition_1_0_offset = param->condition_1_offset | in macsec_aso_build_wqe_ctrl_seg()
1316 aso_ctrl->data_offset_condition_operand = param->data_offset | in macsec_aso_build_wqe_ctrl_seg()
1318 aso_ctrl->condition_0_data = cpu_to_be32(param->condition_0_data); in macsec_aso_build_wqe_ctrl_seg()
[all …]