summaryrefslogtreecommitdiff
path: root/drivers/net/ipn3ke/ipn3ke_flow.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ipn3ke/ipn3ke_flow.c')
-rw-r--r--drivers/net/ipn3ke/ipn3ke_flow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ipn3ke/ipn3ke_flow.c b/drivers/net/ipn3ke/ipn3ke_flow.c
index e5937df..300d8f9 100644
--- a/drivers/net/ipn3ke/ipn3ke_flow.c
+++ b/drivers/net/ipn3ke/ipn3ke_flow.c
@@ -96,7 +96,7 @@ ipn3ke_pattern_vxlan(const struct rte_flow_item patterns[],
rte_memcpy(&parser->key[0],
eth->src.addr_bytes,
- ETHER_ADDR_LEN);
+ RTE_ETHER_ADDR_LEN);
break;
case RTE_FLOW_ITEM_TYPE_VXLAN:
@@ -160,7 +160,7 @@ ipn3ke_pattern_mac(const struct rte_flow_item patterns[],
rte_memcpy(parser->key,
eth->src.addr_bytes,
- ETHER_ADDR_LEN);
+ RTE_ETHER_ADDR_LEN);
break;
default: