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

Function set_data_seg

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

Source from the content-addressed store, hash-verified

96} __rte_cached_aligned;
97
98static inline void
99set_data_seg(struct mlx5_wqe_data_seg *seg,
100 uint32_t length, uint32_t lkey,
101 uintptr_t address)
102{
103 seg->byte_count = rte_cpu_to_be_32(length);
104 seg->lkey = rte_cpu_to_be_32(lkey);
105 seg->addr = rte_cpu_to_be_64(address);
106}
107
108static inline void
109set_metadata_seg(struct mlx5_wqe_metadata_seg *seg,

Callers 1

setup_qpsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected