pci: introduce library and driver
[dpdk.git] / drivers / net / bnxt / bnxt.h
index e7b1007..039b248 100644 (file)
@@ -39,6 +39,7 @@
 #include <sys/queue.h>
 
 #include <rte_pci.h>
+#include <rte_bus_pci.h>
 #include <rte_ethdev.h>
 #include <rte_memory.h>
 #include <rte_lcore.h>
@@ -126,7 +127,7 @@ struct bnxt_pf_info {
 #define BNXT_FIRST_VF_FID      128
 #define BNXT_PF_RINGS_USED(bp) bnxt_get_num_queues(bp)
 #define BNXT_PF_RINGS_AVAIL(bp)        (bp->pf.max_cp_rings - BNXT_PF_RINGS_USED(bp))
-       uint8_t                 port_id;
+       uint16_t                port_id;
        uint16_t                first_vf_id;
        uint16_t                active_vfs;
        uint16_t                max_vfs;