summaryrefslogtreecommitdiff
path: root/drivers/net/szedata2/rte_eth_szedata2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/szedata2/rte_eth_szedata2.c')
-rw-r--r--drivers/net/szedata2/rte_eth_szedata2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b/drivers/net/szedata2/rte_eth_szedata2.c
index 43a6643..99de9f4 100644
--- a/drivers/net/szedata2/rte_eth_szedata2.c
+++ b/drivers/net/szedata2/rte_eth_szedata2.c
@@ -1522,7 +1522,7 @@ rte_szedata2_eth_dev_init(struct rte_eth_dev *dev, struct port_info *pi)
return -ENOMEM;
}
- ether_addr_copy(&eth_addr, data->mac_addrs);
+ rte_ether_addr_copy(&eth_addr, data->mac_addrs);
PMD_INIT_LOG(INFO, "%s device %s successfully initialized",
RTE_STR(RTE_SZEDATA2_DRIVER_NAME), data->name);