[dpdk-dev] bug in struct rte_sched_port_hierarchy define?
Yang, Tao Y
tao.y.yang at intel.com
Wed Jun 15 14:12:23 CEST 2016
In rte_sched.c
struct rte_sched_port_hierarchy {
uint16_t queue:2; /**< Queue ID (0 .. 3) */
uint16_t traffic_class:2; /**< Traffic class ID (0 .. 3)*/
uint32_t color:2; /**< Color */
uint16_t unused:10;
uint16_t subport; /**< Subport ID */
uint32_t pipe; /**< Pipe ID */
};
The
uint32_t color:2; /**< Color */
should be
uint16_t color:2; /**< Color */
More information about the dev
mailing list