Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
New upstream version 18.11.2
[deb_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
c2c5e24
..
e0d8311
100644
(file)
--- a/
lib/librte_net/rte_ether.h
+++ b/
lib/librte_net/rte_ether.h
@@
-408,7
+408,7
@@
static inline int rte_vlan_insert(struct rte_mbuf **m)
vh = (struct vlan_hdr *) (nh + 1);
vh->vlan_tci = rte_cpu_to_be_16((*m)->vlan_tci);
- (*m)->ol_flags &= ~
PKT_RX_VLAN_STRIPPED
;
+ (*m)->ol_flags &= ~
(PKT_RX_VLAN_STRIPPED | PKT_TX_VLAN)
;
return 0;
}