summaryrefslogtreecommitdiff
path: root/app/test-pmd/txonly.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test-pmd/txonly.c')
-rw-r--r--app/test-pmd/txonly.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/test-pmd/txonly.c b/app/test-pmd/txonly.c
index e558b40..eb3a245 100644
--- a/app/test-pmd/txonly.c
+++ b/app/test-pmd/txonly.c
@@ -266,8 +266,8 @@ pkt_burst_transmit(struct fwd_stream *fs)
/*
* Initialize Ethernet header.
*/
- ether_addr_copy(&peer_eth_addrs[fs->peer_addr], &eth_hdr.d_addr);
- ether_addr_copy(&ports[fs->tx_port].eth_addr, &eth_hdr.s_addr);
+ rte_ether_addr_copy(&peer_eth_addrs[fs->peer_addr], &eth_hdr.d_addr);
+ rte_ether_addr_copy(&ports[fs->tx_port].eth_addr, &eth_hdr.s_addr);
eth_hdr.ether_type = rte_cpu_to_be_16(ETHER_TYPE_IPv4);
if (rte_mempool_get_bulk(mbp, (void **)pkts_burst,