]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/enic/enic_ethdev.c
net: add rte prefix to ether structures
[dpdk.git] / drivers / net / enic / enic_ethdev.c
index 4d450fe0cd3e970457e1bad409efe028c65c65ff..0d35a20276e34c6ed279b3146c10ad1e9b76fba7 100644 (file)
@@ -579,7 +579,7 @@ static void enicpmd_dev_allmulticast_disable(struct rte_eth_dev *eth_dev)
 }
 
 static int enicpmd_add_mac_addr(struct rte_eth_dev *eth_dev,
-       struct ether_addr *mac_addr,
+       struct rte_ether_addr *mac_addr,
        __rte_unused uint32_t index, __rte_unused uint32_t pool)
 {
        struct enic *enic = pmd_priv(eth_dev);
@@ -604,7 +604,7 @@ static void enicpmd_remove_mac_addr(struct rte_eth_dev *eth_dev, uint32_t index)
 }
 
 static int enicpmd_set_mac_addr(struct rte_eth_dev *eth_dev,
-                               struct ether_addr *addr)
+                               struct rte_ether_addr *addr)
 {
        struct enic *enic = pmd_priv(eth_dev);
        int ret;