MCPcopy Create free account
hub / github.com/F-Stack/f-stack / set_wqe_ctrl_seg

Function set_wqe_ctrl_seg

dpdk/drivers/regex/mlx5/mlx5_regex_fastpath.c:131–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131static inline void
132set_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
145static inline void
146__prep_one(struct mlx5_regex_priv *priv, struct mlx5_regex_hw_qp *qp_obj,

Callers 4

__prep_oneFunction · 0.85
complete_umr_wqeFunction · 0.85
prep_nop_regex_wqe_setFunction · 0.85
setup_qpsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected