]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/liquidio/lio_ethdev.c
net: add rte prefix to ether functions
[dpdk.git] / drivers / net / liquidio / lio_ethdev.c
index c9cabd65a340241ff7b1ea12ae72ece71f5aac43..21ded9ef3af6e71287f7f1ce277e5e52fed487c4 100644 (file)
@@ -1835,7 +1835,8 @@ lio_dev_configure(struct rte_eth_dev *eth_dev)
                                       2 + i));
 
        /* Copy the permanent MAC address */
-       ether_addr_copy((struct ether_addr *)mac, &eth_dev->data->mac_addrs[0]);
+       rte_ether_addr_copy((struct rte_ether_addr *)mac,
+                       &eth_dev->data->mac_addrs[0]);
 
        /* enable firmware checksum support for tunnel packets */
        lio_enable_hw_tunnel_rx_checksum(eth_dev);