]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_ether/rte_ethdev.h
ethdev: fix build with strict flags
[dpdk.git] / lib / librte_ether / rte_ethdev.h
index 3132bfe548a11c41fa66e5da2c12680a0bdcf45e..f9de9a2b6a6c618e43c48c992c2a03a8a766374f 100644 (file)
@@ -1667,7 +1667,7 @@ struct rte_eth_dev {
         * received packets before passing them to the driver for transmission.
         */
        struct rte_eth_rxtx_callback *pre_tx_burst_cbs[RTE_MAX_QUEUES_PER_PORT];
-       enum rte_eth_dev_state state:8; /**< Flag indicating the port state */
+       enum rte_eth_dev_state state; /**< Flag indicating the port state */
 } __rte_cache_aligned;
 
 struct rte_eth_dev_sriov {