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

Function set_regex_ctrl_seg

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

Source from the content-addressed store, hash-verified

116}
117
118static inline void
119set_regex_ctrl_seg(void *seg, uint8_t le, uint16_t subset_id0,
120 uint16_t subset_id1, uint16_t subset_id2,
121 uint16_t subset_id3, uint8_t ctrl)
122{
123 MLX5_SET(regexp_mmo_control, seg, le, le);
124 MLX5_SET(regexp_mmo_control, seg, ctrl, ctrl);
125 MLX5_SET(regexp_mmo_control, seg, subset_id_0, subset_id0);
126 MLX5_SET(regexp_mmo_control, seg, subset_id_1, subset_id1);
127 MLX5_SET(regexp_mmo_control, seg, subset_id_2, subset_id2);
128 MLX5_SET(regexp_mmo_control, seg, subset_id_3, subset_id3);
129}
130
131static inline void
132set_wqe_ctrl_seg(struct mlx5_wqe_ctrl_seg *seg, uint16_t pi, uint8_t opcode,

Callers 1

__prep_oneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected