]> git.droids-corp.org - dpdk.git/blobdiff - examples/quota_watermark/qw/main.c
net: add rte prefix to ether functions
[dpdk.git] / examples / quota_watermark / qw / main.c
index 61e92a8208edd6c0a6e48ad6522acbca980a036b..a61360b99e784048dee57154f0f9a678e9b7c3f9 100644 (file)
@@ -67,7 +67,7 @@ static void send_pause_frame(uint16_t port_id, uint16_t duration)
        pause_frame = (struct ether_fc_frame *) &hdr[1];
 
        rte_eth_macaddr_get(port_id, &mac_addr);
-       ether_addr_copy(&mac_addr, &hdr->s_addr);
+       rte_ether_addr_copy(&mac_addr, &hdr->s_addr);
 
        void *tmp = &hdr->d_addr.addr_bytes[0];
        *((uint64_t *)tmp) = 0x010000C28001ULL;