net/bnxt: support WC TCAM management
[dpdk.git] / drivers / net / nfp / nfp_net_pmd.h
index 922d940..212f9ef 100644 (file)
@@ -389,9 +389,6 @@ struct nfp_pf_dev {
        /* Backpointer to associated pci device */
        struct rte_pci_device *pci_dev;
 
-       /* First physical port's eth device */
-       struct rte_eth_dev *eth_dev;
-
        /* Array of physical ports belonging to this PF */
        struct nfp_net_hw *ports[NFP_MAX_PHYPORTS];
 
@@ -483,7 +480,10 @@ struct nfp_net_hw {
        struct nfp_cpp_area *msix_area;
 
        uint8_t *hw_queues;
+       /* Sequential physical port number */
        uint8_t idx;
+       /* Internal port number as seen from NFP */
+       uint8_t nfp_idx;
        bool    is_phyport;
 
        union eth_table_entry *eth_table;