summaryrefslogtreecommitdiff
path: root/examples/eventdev_pipeline/pipeline_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/eventdev_pipeline/pipeline_common.h')
-rw-r--r--examples/eventdev_pipeline/pipeline_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/eventdev_pipeline/pipeline_common.h b/examples/eventdev_pipeline/pipeline_common.h
index ef23d96..8e30393 100644
--- a/examples/eventdev_pipeline/pipeline_common.h
+++ b/examples/eventdev_pipeline/pipeline_common.h
@@ -104,8 +104,8 @@ exchange_mac(struct rte_mbuf *m)
/* change mac addresses on packet (to use mbuf data) */
eth = rte_pktmbuf_mtod(m, struct rte_ether_hdr *);
- ether_addr_copy(&eth->d_addr, &addr);
- ether_addr_copy(&addr, &eth->d_addr);
+ rte_ether_addr_copy(&eth->d_addr, &addr);
+ rte_ether_addr_copy(&addr, &eth->d_addr);
}
static __rte_always_inline void