git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: add rte prefix to ether defines
[dpdk.git]
/
app
/
test
/
test_sched.c
diff --git
a/app/test/test_sched.c
b/app/test/test_sched.c
index
a782bf3
..
a08e129
100644
(file)
--- a/
app/test/test_sched.c
+++ b/
app/test/test_sched.c
@@
-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);