ethdev: increase port id range
[dpdk.git] / drivers / net / vmxnet3 / vmxnet3_ring.h
index 0ce46c5..a6fa93a 100644 (file)
@@ -141,9 +141,10 @@ typedef struct vmxnet3_tx_queue {
        uint32_t                     qid;
        struct Vmxnet3_TxQueueDesc   *shared;
        struct vmxnet3_txq_stats     stats;
+       const struct rte_memzone     *mz;
        bool                         stopped;
        uint16_t                     queue_id;      /**< Device TX queue index. */
-       uint8_t                      port_id;       /**< Device port identifier. */
+       uint16_t                     port_id;       /**< Device port identifier. */
        uint16_t                     txdata_desc_size;
 } vmxnet3_tx_queue_t;
 
@@ -175,9 +176,10 @@ typedef struct vmxnet3_rx_queue {
        struct rte_mbuf             *start_seg;
        struct rte_mbuf             *last_seg;
        struct vmxnet3_rxq_stats    stats;
+       const struct rte_memzone    *mz;
        bool                        stopped;
        uint16_t                    queue_id;      /**< Device RX queue index. */
-       uint8_t                     port_id;       /**< Device port identifier. */
+       uint16_t                    port_id;       /**< Device port identifier. */
 } vmxnet3_rx_queue_t;
 
 #endif /* _VMXNET3_RING_H_ */