]> git.droids-corp.org - dpdk.git/blobdiff - examples/eventdev_pipeline/main.c
net: add rte prefix to ether structures
[dpdk.git] / examples / eventdev_pipeline / main.c
index 92e08bc0c81b1a7bca42c6a5f8ad2f5b8761114e..ee65b3ef27a39a56a87fb1d4f65fcc7238f4fb56 100644 (file)
@@ -322,7 +322,7 @@ port_init(uint8_t port, struct rte_mempool *mbuf_pool)
                return retval;
 
        /* Display the port MAC address. */
-       struct ether_addr addr;
+       struct rte_ether_addr addr;
        rte_eth_macaddr_get(port, &addr);
        printf("Port %u MAC: %02" PRIx8 " %02" PRIx8 " %02" PRIx8
                           " %02" PRIx8 " %02" PRIx8 " %02" PRIx8 "\n",