net/mlx4: remove useless code
[dpdk.git] / drivers / net / bnxt / bnxt.h
index d39baf1..405d94d 100644 (file)
@@ -38,6 +38,7 @@
 #include <stdbool.h>
 #include <sys/queue.h>
 
+#include <rte_pci.h>
 #include <rte_ethdev.h>
 #include <rte_memory.h>
 #include <rte_lcore.h>
@@ -96,9 +97,16 @@ struct bnxt_vlan_table_entry {
        uint16_t                vid;
 } __attribute__((packed));
 
+struct bnxt_vlan_antispoof_table_entry {
+       uint16_t                tpid;
+       uint16_t                vid;
+       uint16_t                mask;
+} __attribute__((packed));
+
 struct bnxt_child_vf_info {
        void                    *req_buf;
        struct bnxt_vlan_table_entry    *vlan_table;
+       struct bnxt_vlan_antispoof_table_entry  *vlan_as_table;
        STAILQ_HEAD(, bnxt_filter_info) filter;
        uint32_t                func_cfg_flags;
        uint32_t                l2_rx_mask;
@@ -109,6 +117,7 @@ struct bnxt_child_vf_info {
        uint8_t                 mac_spoof_en;
        uint8_t                 vlan_spoof_en;
        bool                    random_mac;
+       bool                    persist_stats;
 };
 
 struct bnxt_pf_info {