]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_port/rte_port_ethdev.c
ethdev: increase port id range
[dpdk.git] / lib / librte_port / rte_port_ethdev.c
index d5c5fba5528df705833c2ea1afb0ac993ea7a08b..4ed10f2767d35324dce6426ba7d51f6e46dd82b9 100644 (file)
@@ -60,7 +60,7 @@ struct rte_port_ethdev_reader {
        struct rte_port_in_stats stats;
 
        uint16_t queue_id;
-       uint8_t port_id;
+       uint16_t port_id;
 };
 
 static void *
@@ -156,7 +156,7 @@ struct rte_port_ethdev_writer {
        uint16_t tx_buf_count;
        uint64_t bsz_mask;
        uint16_t queue_id;
-       uint8_t port_id;
+       uint16_t port_id;
 };
 
 static void *
@@ -337,7 +337,7 @@ struct rte_port_ethdev_writer_nodrop {
        uint64_t bsz_mask;
        uint64_t n_retries;
        uint16_t queue_id;
-       uint8_t port_id;
+       uint16_t port_id;
 };
 
 static void *