summaryrefslogtreecommitdiff
path: root/examples/l3fwd-vf/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/l3fwd-vf/main.c')
-rw-r--r--examples/l3fwd-vf/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/l3fwd-vf/main.c b/examples/l3fwd-vf/main.c
index 2c0c89e..56a55ac 100644
--- a/examples/l3fwd-vf/main.c
+++ b/examples/l3fwd-vf/main.c
@@ -450,7 +450,7 @@ l3fwd_simple_forward(struct rte_mbuf *m, uint16_t portid,
#endif
/* src addr */
- ether_addr_copy(&ports_eth_addr[dst_port], &eth_hdr->s_addr);
+ rte_ether_addr_copy(&ports_eth_addr[dst_port], &eth_hdr->s_addr);
send_single_packet(m, dst_port);
@@ -791,7 +791,7 @@ static void
print_ethaddr(const char *name, const struct rte_ether_addr *eth_addr)
{
char buf[ETHER_ADDR_FMT_SIZE];
- ether_format_addr(buf, ETHER_ADDR_FMT_SIZE, eth_addr);
+ rte_ether_format_addr(buf, ETHER_ADDR_FMT_SIZE, eth_addr);
printf("%s%s", name, buf);
}