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
mbuf: remove the rte_pktmbuf structure
[dpdk.git]
/
examples
/
ip_pipeline
/
pipeline_rx.c
diff --git
a/examples/ip_pipeline/pipeline_rx.c
b/examples/ip_pipeline/pipeline_rx.c
index
e43ebfa
..
7a8309c
100644
(file)
--- a/
examples/ip_pipeline/pipeline_rx.c
+++ b/
examples/ip_pipeline/pipeline_rx.c
@@
-255,8
+255,8
@@
app_pkt_metadata_fill(struct rte_mbuf *m)
/* Pop Ethernet header */
if (app.ether_hdr_pop_push) {
rte_pktmbuf_adj(m, (uint16_t)sizeof(struct ether_hdr));
/* Pop Ethernet header */
if (app.ether_hdr_pop_push) {
rte_pktmbuf_adj(m, (uint16_t)sizeof(struct ether_hdr));
- m->
pkt.
vlan_macip.f.l2_len = 0;
- m->
pkt.
vlan_macip.f.l3_len = sizeof(struct ipv4_hdr);
+ m->vlan_macip.f.l2_len = 0;
+ m->vlan_macip.f.l3_len = sizeof(struct ipv4_hdr);
}
}
}
}