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 structures
[dpdk.git]
/
app
/
test-pmd
/
macswap_common.h
diff --git
a/app/test-pmd/macswap_common.h
b/app/test-pmd/macswap_common.h
index
19754cd
..
56f86ba
100644
(file)
--- a/
app/test-pmd/macswap_common.h
+++ b/
app/test-pmd/macswap_common.h
@@
-39,7
+39,7
@@
mbuf_field_set(struct rte_mbuf *mb, uint64_t ol_flags)
{
mb->ol_flags &= IND_ATTACHED_MBUF | EXT_ATTACHED_MBUF;
mb->ol_flags |= ol_flags;
- mb->l2_len = sizeof(struct ether_hdr);
+ mb->l2_len = sizeof(struct
rte_
ether_hdr);
mb->l3_len = sizeof(struct ipv4_hdr);
}