]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_pmd_bond/rte_eth_bond_private.h
bond: fix type for port and queue id
[dpdk.git] / lib / librte_pmd_bond / rte_eth_bond_private.h
index bef1e8191f90932286c4388bfad55e964625d52b..45e5c657a1548d753443561ca5996adb3f59c063 100644 (file)
@@ -66,7 +66,7 @@ extern const char *driver_name;
 
 /** Port Queue Mapping Structure */
 struct bond_rx_queue {
-       int queue_id;
+       uint16_t queue_id;
        /**< Queue Id */
        struct bond_dev_private *dev_private;
        /**< Reference to eth_dev private structure */
@@ -79,7 +79,7 @@ struct bond_rx_queue {
 };
 
 struct bond_tx_queue {
-       int queue_id;
+       uint16_t queue_id;
        /**< Queue Id */
        struct bond_dev_private *dev_private;
        /**< Reference to dev private structure */