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: add new Rx flags for stripped VLAN
[dpdk.git]
/
drivers
/
net
/
enic
/
enic_rx.c
diff --git
a/drivers/net/enic/enic_rx.c
b/drivers/net/enic/enic_rx.c
index
f92f6bc
..
6459e97
100644
(file)
--- a/
drivers/net/enic/enic_rx.c
+++ b/
drivers/net/enic/enic_rx.c
@@
-197,7
+197,7
@@
enic_cq_rx_to_pkt_flags(struct cq_desc *cqd, struct rte_mbuf *mbuf)
/* VLAN stripping */
if (bwflags & CQ_ENET_RQ_DESC_FLAGS_VLAN_STRIPPED) {
- pkt_flags |= PKT_RX_VLAN_PKT;
+ pkt_flags |= PKT_RX_VLAN_PKT
| PKT_RX_VLAN_STRIPPED
;
mbuf->vlan_tci = enic_cq_rx_desc_vlan(cqrd);
} else {
mbuf->vlan_tci = 0;