]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_event_eth_tx_adapter.c
net: add rte prefix to ether structures
[dpdk.git] / app / test / test_event_eth_tx_adapter.c
index c26c5152c2a4b9a4e59d7edca78da11075bf1f69..208d20c538361b8a6e7f701a7964c051ae05bc13 100644 (file)
@@ -84,7 +84,7 @@ port_init_common(uint8_t port, const struct rte_eth_conf *port_conf,
                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",