summaryrefslogtreecommitdiff
path: root/drivers/net/thunderx/base/nicvf_plat.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/thunderx/base/nicvf_plat.h')
-rw-r--r--drivers/net/thunderx/base/nicvf_plat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/thunderx/base/nicvf_plat.h b/drivers/net/thunderx/base/nicvf_plat.h
index 3f05195..dd05462 100644
--- a/drivers/net/thunderx/base/nicvf_plat.h
+++ b/drivers/net/thunderx/base/nicvf_plat.h
@@ -44,10 +44,10 @@
/* Constants */
#include <rte_ether.h>
-#define NICVF_MAC_ADDR_SIZE ETHER_ADDR_LEN
+#define NICVF_MAC_ADDR_SIZE RTE_ETHER_ADDR_LEN
/* Ethernet */
-#define ether_addr_copy(x, y) memcpy(y, x, ETHER_ADDR_LEN)
+#define ether_addr_copy(x, y) memcpy(y, x, RTE_ETHER_ADDR_LEN)
#include <rte_io.h>
#define nicvf_addr_write(addr, val) rte_write64_relaxed((val), (void *)(addr))