]> 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 58f8904e04aff1424f2c72eab3d89c06daf338ed..63227f0d57608493216156d202585c63e9ecaab4 100644 (file)
@@ -317,7 +317,7 @@ port_init(uint8_t port, struct rte_mempool *mbuf_pool)
        }
 
        /* 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",