src/dpdk/drivers/net/softnic/rte_eth_softnic_thread.c
static inline struct thread_msg_req *
thread_msg_recv(struct rte_ring *msgq_req)
{
	struct thread_msg_req *req;

	int status = rte_ring_sc_dequeue(msgq_req, (void **)&req);

	if (status != 0)
		return NULL;

	return req;
}
/**
 * Data plane threads: message handling
 */
Data plane threads: message handling
Data plane threads : message handling
static inline struct thread_msg_req *
thread_msg_recv(struct rte_ring *msgq_req)
{
	struct thread_msg_req *req;
	int status = rte_ring_sc_dequeue(msgq_req, (void **)&req);
	if (status != 0)
		return NULL;
	return req;
}
static inline struct thread_msg_req * thread_msg_recv ( struct rte_ring * msgq_req ) { struct thread_msg_req * req ; int status = rte_ring_sc_dequeue ( msgq_req , ( void * * ) & req ) ; if ( status != 0 ) return NULL ; return req ; }
Data plane threads: message handling
Data plane threads : message handling