git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66c249f
)
ethdev: fix QinQ offload
author
Vivek Sharma
<viveksharma@marvell.com>
Fri, 13 Sep 2019 11:14:49 +0000
(16:44 +0530)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Wed, 23 Oct 2019 14:43:08 +0000
(16:43 +0200)
Use correct flag for indicating QinQ strip rx offload.
Fixes:
dfebfc9882fb
("ethdev: support dynamic configuration of QinQ strip")
Cc: stable@dpdk.org
Signed-off-by: Vivek Sharma <viveksharma@marvell.com>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
lib/librte_ethdev/rte_ethdev.c
patch
|
blob
|
history
diff --git
a/lib/librte_ethdev/rte_ethdev.c
b/lib/librte_ethdev/rte_ethdev.c
index
af82360
..
7caaa0b
100644
(file)
--- a/
lib/librte_ethdev/rte_ethdev.c
+++ b/
lib/librte_ethdev/rte_ethdev.c
@@
-2936,7
+2936,7
@@
rte_eth_dev_get_vlan_offload(uint16_t port_id)
ret |= ETH_VLAN_EXTEND_OFFLOAD;
if (*dev_offloads & DEV_RX_OFFLOAD_QINQ_STRIP)
- ret |=
DEV_RX_OFFLOAD_QINQ_STRIP
;
+ ret |=
ETH_QINQ_STRIP_OFFLOAD
;
return ret;
}