| 129 | } |
| 130 | |
| 131 | static inline void |
| 132 | set_wqe_ctrl_seg(struct mlx5_wqe_ctrl_seg *seg, uint16_t pi, uint8_t opcode, |
| 133 | uint8_t opmod, uint32_t qp_num, uint8_t fm_ce_se, uint8_t ds, |
| 134 | uint8_t signature, uint32_t imm) |
| 135 | { |
| 136 | seg->opmod_idx_opcode = rte_cpu_to_be_32(((uint32_t)opmod << 24) | |
| 137 | ((uint32_t)pi << 8) | |
| 138 | opcode); |
| 139 | seg->qpn_ds = rte_cpu_to_be_32((qp_num << 8) | ds); |
| 140 | seg->fm_ce_se = fm_ce_se; |
| 141 | seg->signature = signature; |
| 142 | seg->imm = imm; |
| 143 | } |
| 144 | |
| 145 | static inline void |
| 146 | __prep_one(struct mlx5_regex_priv *priv, struct mlx5_regex_hw_qp *qp_obj, |
no outgoing calls
no test coverage detected