]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc.h
net/sfc: fix main MAC address handling
[dpdk.git] / drivers / net / sfc / sfc.h
index c1703841a0d6095be02996dd3955bf6cddb84abc..b72eba063bca600c0dda707c02b93574356277a4 100644 (file)
@@ -35,6 +35,7 @@
 #include <stdbool.h>
 
 #include <rte_pci.h>
+#include <rte_bus_pci.h>
 #include <rte_ethdev.h>
 #include <rte_kvargs.h>
 #include <rte_spinlock.h>
@@ -157,6 +158,8 @@ struct sfc_port {
        boolean_t                       promisc;
        boolean_t                       allmulti;
 
+       struct ether_addr               default_mac_addr;
+
        unsigned int                    max_mcast_addrs;
        unsigned int                    nb_mcast_addrs;
        uint8_t                         *mcast_addrs;