]> git.droids-corp.org - dpdk.git/blobdiff - examples/l2fwd-keepalive/main.c
net: add rte prefix to ether functions
[dpdk.git] / examples / l2fwd-keepalive / main.c
index 21d19932d7033c92f7dcf36dd2dafc5444e5dbee..9831a4323785b7ed07cdc20be652b9214f46e472 100644 (file)
@@ -179,7 +179,7 @@ l2fwd_simple_forward(struct rte_mbuf *m, unsigned portid)
        *((uint64_t *)tmp) = 0x000000000002 + ((uint64_t)dst_port << 40);
 
        /* src addr */
-       ether_addr_copy(&l2fwd_ports_eth_addr[dst_port], &eth->s_addr);
+       rte_ether_addr_copy(&l2fwd_ports_eth_addr[dst_port], &eth->s_addr);
 
        buffer = tx_buffer[dst_port];
        sent = rte_eth_tx_buffer(dst_port, 0, buffer, m);