]> git.droids-corp.org - dpdk.git/blobdiff - doc/guides/sample_app_ug/link_status_intr.rst
net: add rte prefix to ether functions
[dpdk.git] / doc / guides / sample_app_ug / link_status_intr.rst
index 3fd043e82e4f74e3d2af76a6b31ea99183afe317..cfb1bcd58b96aef6e8d062fb5725bb8cbbf68376 100644 (file)
@@ -324,7 +324,7 @@ The processing is very simple: processes the TX port from the RX port and then r
         *((uint64_t *)tmp) = 0x000000000002 + (dst_port << 40);
 
         /* src addr */
-        ether_addr_copy(&lsi_ports_eth_addr[dst_port], &eth->s_addr);
+        rte_ether_addr_copy(&lsi_ports_eth_addr[dst_port], &eth->s_addr);
 
         lsi_send_packet(m, dst_port);
     }