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/ice: support src MAC filter for flow director
[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
56f86ba
..
7e9a359
100644
(file)
--- a/
app/test-pmd/macswap_common.h
+++ b/
app/test-pmd/macswap_common.h
@@
-40,7
+40,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 rte_ether_hdr);
mb->ol_flags &= IND_ATTACHED_MBUF | EXT_ATTACHED_MBUF;
mb->ol_flags |= ol_flags;
mb->l2_len = sizeof(struct rte_ether_hdr);
- mb->l3_len = sizeof(struct ipv4_hdr);
+ mb->l3_len = sizeof(struct
rte_
ipv4_hdr);
}
#endif /* _MACSWAP_COMMON_H_ */
}
#endif /* _MACSWAP_COMMON_H_ */