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 */

