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

Function thread_msg_recv

dpdk/examples/ip_pipeline/thread.c:430–441  ·  view source on GitHub ↗

* Data plane threads: message handling */

Source from the content-addressed store, hash-verified

428 * Data plane threads: message handling
429 */
430static inline struct thread_msg_req *
431thread_msg_recv(struct rte_ring *msgq_req)
432{
433 struct thread_msg_req *req = NULL;
434
435 int status = rte_ring_sc_dequeue(msgq_req, (void **) &req);
436
437 if (status != 0)
438 return NULL;
439
440 return req;
441}
442
443static inline void
444thread_msg_send(struct rte_ring *msgq_rsp,

Callers 1

thread_msg_handleFunction · 0.70

Calls 1

rte_ring_sc_dequeueFunction · 0.85

Tested by

no test coverage detected