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

Function thread_msg_recv

dpdk/drivers/net/softnic/rte_eth_softnic_thread.c:424–435  ·  view source on GitHub ↗

* Data plane threads: message handling */

Source from the content-addressed store, hash-verified

422 * Data plane threads: message handling
423 */
424static inline struct thread_msg_req *
425thread_msg_recv(struct rte_ring *msgq_req)
426{
427 struct thread_msg_req *req;
428
429 int status = rte_ring_sc_dequeue(msgq_req, (void **)&req);
430
431 if (status != 0)
432 return NULL;
433
434 return req;
435}
436
437static inline void
438thread_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