summaryrefslogtreecommitdiff
path: root/drivers/net/cxgbe/base/adapter.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/cxgbe/base/adapter.h')
-rw-r--r--drivers/net/cxgbe/base/adapter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgbe/base/adapter.h b/drivers/net/cxgbe/base/adapter.h
index b54f75e..1221664 100644
--- a/drivers/net/cxgbe/base/adapter.h
+++ b/drivers/net/cxgbe/base/adapter.h
@@ -671,7 +671,7 @@ static inline void t4_os_set_hw_addr(struct adapter *adapter, int port_idx,
{
struct port_info *pi = adap2pinfo(adapter, port_idx);
- ether_addr_copy((struct rte_ether_addr *)hw_addr,
+ rte_ether_addr_copy((struct rte_ether_addr *)hw_addr,
&pi->eth_dev->data->mac_addrs[0]);
}