]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_sched.c
net: add rte prefix to ether defines
[dpdk.git] / app / test / test_sched.c
index c4554aa7476d3ba67cb4595987242c57f9473cb2..58f42a2d8e81871ee7e551bce424dfdc90ef277f 100644 (file)
@@ -91,7 +91,7 @@ prepare_pkt(struct rte_sched_port *port, struct rte_mbuf *mbuf)
 
        vlan1->vlan_tci = rte_cpu_to_be_16(SUBPORT);
        vlan2->vlan_tci = rte_cpu_to_be_16(PIPE);
-       eth_hdr->ether_type =  rte_cpu_to_be_16(ETHER_TYPE_IPv4);
+       eth_hdr->ether_type =  rte_cpu_to_be_16(RTE_ETHER_TYPE_IPv4);
        ip_hdr->dst_addr = IPv4(0,0,TC,QUEUE);