ethdev: increase port id range
[dpdk.git] / drivers / net / nfp / nfp_net_pmd.h
index 3818130..1ae0ea6 100644 (file)
@@ -256,7 +256,7 @@ struct nfp_net_txq {
        uint32_t tx_hthresh;   /* not used by now. Future? */
        uint32_t tx_wthresh;   /* not used by now. Future? */
        uint32_t txq_flags;    /* not used by now. Future? */
-       uint8_t  port_id;
+       uint16_t port_id;
        int qidx;
        int tx_qcidx;
        __le64 dma;
@@ -437,6 +437,13 @@ struct nfp_net_hw {
        struct nfp_cpp_area *rx_area;
        struct nfp_cpp_area *msix_area;
 #endif
+       uint8_t *hw_queues;
+       uint8_t is_pf;
+       uint8_t pf_port_idx;
+       uint8_t pf_multiport_enabled;
+       union eth_table_entry *eth_table;
+       nspu_desc_t *nspu_desc;
+       nfpu_desc_t *nfpu_desc;
 };
 
 struct nfp_net_adapter {