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/cxgbe: add option to keep outer VLAN tag in QinQ
[dpdk.git]
/
drivers
/
net
/
cxgbe
/
sge.c
diff --git
a/drivers/net/cxgbe/sge.c
b/drivers/net/cxgbe/sge.c
index
85846fc
..
a274151
100644
(file)
--- a/
drivers/net/cxgbe/sge.c
+++ b/
drivers/net/cxgbe/sge.c
@@
-1597,7
+1597,8
@@
static int process_responses(struct sge_rspq *q, int budget,
}
if (cpl->vlan_ex) {
- pkt->ol_flags |= PKT_RX_VLAN;
+ pkt->ol_flags |= PKT_RX_VLAN |
+ PKT_RX_VLAN_STRIPPED;
pkt->vlan_tci = ntohs(cpl->vlan);
}