DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] ethdev: use correct QinQ offload flag
@ 2019-09-13 11:14 viveksharma
  2019-09-29  4:29 ` Vivek Kumar Sharma
  0 siblings, 1 reply; 4+ messages in thread
From: viveksharma @ 2019-09-13 11:14 UTC (permalink / raw)
  To: dev; +Cc: intoviveksharma, Vivek Sharma, stable

From: Vivek Sharma <viveksharma@marvell.com>

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>
---
 lib/librte_ethdev/rte_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c
index 17d183e..bfc0468 100644
--- a/lib/librte_ethdev/rte_ethdev.c
+++ b/lib/librte_ethdev/rte_ethdev.c
@@ -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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] ethdev: use correct QinQ offload flag
  2019-09-13 11:14 [dpdk-dev] [PATCH] ethdev: use correct QinQ offload flag viveksharma
@ 2019-09-29  4:29 ` Vivek Kumar Sharma
  2019-09-29 11:43   ` Andrew Rybchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Vivek Kumar Sharma @ 2019-09-29  4:29 UTC (permalink / raw)
  To: dev; +Cc: intoviveksharma, stable

Ping!


Thanks,
Vivek

________________________________________
From: viveksharma@marvell.com <viveksharma@marvell.com>
Sent: 13 September 2019 16:44
To: dev@dpdk.org
Cc: intoviveksharma@gmail.com; Vivek Kumar Sharma; stable@dpdk.org
Subject: [PATCH] ethdev: use correct QinQ offload flag

From: Vivek Sharma <viveksharma@marvell.com>

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>
---
 lib/librte_ethdev/rte_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c
index 17d183e..bfc0468 100644
--- a/lib/librte_ethdev/rte_ethdev.c
+++ b/lib/librte_ethdev/rte_ethdev.c
@@ -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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] ethdev: use correct QinQ offload flag
  2019-09-29  4:29 ` Vivek Kumar Sharma
@ 2019-09-29 11:43   ` Andrew Rybchenko
  2019-10-09  8:48     ` [dpdk-dev] [dpdk-stable] " Ferruh Yigit
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Rybchenko @ 2019-09-29 11:43 UTC (permalink / raw)
  To: Vivek Kumar Sharma, dev; +Cc: intoviveksharma, stable

On 9/29/19 7:29 AM, Vivek Kumar Sharma wrote:
> From: Vivek Sharma <viveksharma@marvell.com>
>
> 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>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [dpdk-stable] [PATCH] ethdev: use correct QinQ offload flag
  2019-09-29 11:43   ` Andrew Rybchenko
@ 2019-10-09  8:48     ` Ferruh Yigit
  0 siblings, 0 replies; 4+ messages in thread
From: Ferruh Yigit @ 2019-10-09  8:48 UTC (permalink / raw)
  To: Andrew Rybchenko, Vivek Kumar Sharma, dev; +Cc: intoviveksharma, stable

On 9/29/2019 12:43 PM, Andrew Rybchenko wrote:
> On 9/29/19 7:29 AM, Vivek Kumar Sharma wrote:
>> From: Vivek Sharma <viveksharma@marvell.com>
>>
>> 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>
> 

Applied to dpdk-next-net/master, thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-10-09  8:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-13 11:14 [dpdk-dev] [PATCH] ethdev: use correct QinQ offload flag viveksharma
2019-09-29  4:29 ` Vivek Kumar Sharma
2019-09-29 11:43   ` Andrew Rybchenko
2019-10-09  8:48     ` [dpdk-dev] [dpdk-stable] " Ferruh Yigit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).