]> 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 a782bf3e5d2a24ba8adab0097eb1e3385e0fc2b2..a08e1294c472f5f5a4d46ac9b60b2e19ca55f9a2 100644 (file)
@@ -95,7 +95,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);