ethdev: use correct QinQ offload flag
PATCH 1/1 ethdev: use correct QinQ offload flag
From: Vivek Sharma <[email protected]>
Use correct flag for indicating QinQ strip rx offload.
Fixes dfebfc9882fb ("ethdev: support dynamic configuration of QinQ strip")
Signed-off-by Vivek Sharma <[email protected]>
--- lib/librte_ethdev/rte_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/librte_ethdev/rte_ethdev.c +1 -1
@@ -2823,7 +2823,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; }
Signature · 1 line
2.7.4
Ping!
Thanks,
Vivek
________________________________________
From: [email protected] <[email protected]>
Sent: 13 September 2019 16:44
To: [email protected]
Cc: [email protected]; Vivek Kumar Sharma; [email protected]
Subject: [PATCH] ethdev: use correct QinQ offload flag
From: Vivek Sharma <[email protected]>
Use correct flag for indicating QinQ strip rx offload.
Fixes dfebfc9882fb ("ethdev: support dynamic configuration of QinQ strip")
Signed-off-by Vivek Sharma <[email protected]>
--- lib/librte_ethdev/rte_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/librte_ethdev/rte_ethdev.c +1 -1
@@ -2823,7 +2823,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; }
--
2.7.4
Andrew Rybchenko
Reviewed-byQuoted 8 lines · Vivek Kumar Sharma
From: Vivek Sharma <[email protected]>
Use correct flag for indicating QinQ strip rx offload.
Fixes dfebfc9882fb ("ethdev: support dynamic configuration of QinQ strip")Signed-off-by Vivek Sharma <[email protected]>
Reviewed-by Andrew Rybchenko <[email protected]>
Ferruh Yigit
AppliedQuoted 12 lines · Andrew Rybchenko
Quoted 8 lines · Vivek Kumar Sharma
From: Vivek Sharma <[email protected]>
Use correct flag for indicating QinQ strip rx offload.
Fixes dfebfc9882fb ("ethdev: support dynamic configuration of QinQ strip")Signed-off-by Vivek Sharma <[email protected]>Reviewed-by Andrew Rybchenko <[email protected]>
Applied to dpdk-next-net/master, thanks.