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: rename deprecated VLAN flags
[dpdk.git]
/
lib
/
librte_net
/
rte_ether.h
diff --git
a/lib/librte_net/rte_ether.h
b/lib/librte_net/rte_ether.h
index
917d42a
..
06d7b48
100644
(file)
--- a/
lib/librte_net/rte_ether.h
+++ b/
lib/librte_net/rte_ether.h
@@
-358,7
+358,7
@@
static inline int rte_vlan_strip(struct rte_mbuf *m)
return -1;
struct vlan_hdr *vh = (struct vlan_hdr *)(eh + 1);
return -1;
struct vlan_hdr *vh = (struct vlan_hdr *)(eh + 1);
- m->ol_flags |= PKT_RX_VLAN
_PKT
| PKT_RX_VLAN_STRIPPED;
+ m->ol_flags |= PKT_RX_VLAN | PKT_RX_VLAN_STRIPPED;
m->vlan_tci = rte_be_to_cpu_16(vh->vlan_tci);
/* Copy ether header over rather than moving whole packet */
m->vlan_tci = rte_be_to_cpu_16(vh->vlan_tci);
/* Copy ether header over rather than moving whole packet */