src/dpdk/lib/librte_mbuf/rte_mbuf.h
static inline void
rte_mbuf_sched_get(const struct rte_mbuf *m, uint32_t *queue_id,
			uint8_t *traffic_class,
			uint8_t *color)
{
	struct rte_mbuf_sched sched = m->hash.sched;

	*queue_id = sched.queue_id;
	*traffic_class = sched.traffic_class;
	*color = sched.color;
}
/**
 * Get the values of mbuf sched queue_id, traffic_class and color.
 *
 * @param m
 *   Mbuf to read
 * @param queue_id
 *  Returns the queue id
 * @param traffic_class
 *  Returns the traffic class id
 * @param color
 *  Returns the colour id
 */
Get the values of mbuf sched queue_id, traffic_class and color.
@param m
Mbuf to read
@param queue_id
Returns the queue id
@param traffic_class
Returns the traffic class id
@param color
Returns the colour id
Get the values of mbuf sched queue_id traffic_class and color . @param m Mbuf to read @param queue_id Returns the queue id @param traffic_class Returns the traffic class id @param color Returns the colour id
static inline void
rte_mbuf_sched_get(const struct rte_mbuf *m, uint32_t *queue_id,
			uint8_t *traffic_class,
			uint8_t *color)
{
	struct rte_mbuf_sched sched = m->hash.sched;
	*queue_id = sched.queue_id;
	*traffic_class = sched.traffic_class;
	*color = sched.color;
}
static inline void rte_mbuf_sched_get ( const struct rte_mbuf * m , uint32_t * queue_id , uint8_t * traffic_class , uint8_t * color ) { struct rte_mbuf_sched sched = m -> hash . sched ; * queue_id = sched . queue_id ; * traffic_class = sched . traffic_class ; * color = sched . color ; }
Get the values of mbuf sched queue_id, traffic_class and color.
Get the values of mbuf sched queue_id traffic_class and color .