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

Function pipeline_msg_recv

dpdk/examples/ip_pipeline/thread.c:2201–2212  ·  view source on GitHub ↗

* Data plane threads: message handling */

Source from the content-addressed store, hash-verified

2199 * Data plane threads: message handling
2200 */
2201static inline struct pipeline_msg_req *
2202pipeline_msg_recv(struct rte_ring *msgq_req)
2203{
2204 struct pipeline_msg_req *req;
2205
2206 int status = rte_ring_sc_dequeue(msgq_req, (void **) &req);
2207
2208 if (status != 0)
2209 return NULL;
2210
2211 return req;
2212}
2213
2214static inline void
2215pipeline_msg_send(struct rte_ring *msgq_rsp,

Callers 1

pipeline_msg_handleFunction · 0.85

Calls 1

rte_ring_sc_dequeueFunction · 0.85

Tested by

no test coverage detected