* [PATCH] app/testpmd: fix vlan offload of rxq
@ 2022-09-30 15:45 Mingjin Ye
2022-10-04 14:30 ` Singh, Aman Deep
0 siblings, 1 reply; 2+ messages in thread
From: Mingjin Ye @ 2022-09-30 15:45 UTC (permalink / raw)
To: dev; +Cc: stable, yidingx.zhou, Mingjin Ye, Aman Singh, Yuying Zhang
After setting "vlan offload" in testpmd, the result does not
update the rxq queues configuration.
Therefore, this patch is to reconfigure rxq queues after
executing the "vlan offload" command.
Fixes: a47aa8b97afe ("app/testpmd: add vlan offload support")
Cc: stable@dpdk.org
Signed-off-by: Mingjin Ye <mingjinx.ye@intel.com>
---
app/test-pmd/cmdline.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index b4fe9dfb17..066a482fb5 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdline.c
@@ -4076,6 +4076,7 @@ cmd_vlan_offload_parsed(void *parsed_result,
else
vlan_extend_set(port_id, on);
+ cmd_reconfig_device_queue(port_id, 1, 1);
return;
}
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] app/testpmd: fix vlan offload of rxq
2022-09-30 15:45 [PATCH] app/testpmd: fix vlan offload of rxq Mingjin Ye
@ 2022-10-04 14:30 ` Singh, Aman Deep
0 siblings, 0 replies; 2+ messages in thread
From: Singh, Aman Deep @ 2022-10-04 14:30 UTC (permalink / raw)
To: Mingjin Ye, dev; +Cc: stable, yidingx.zhou, Yuying Zhang
On 9/30/2022 9:15 PM, Mingjin Ye wrote:
> After setting "vlan offload" in testpmd, the result does not
> update the rxq queues configuration.
>
> Therefore, this patch is to reconfigure rxq queues after
> executing the "vlan offload" command.
>
> Fixes: a47aa8b97afe ("app/testpmd: add vlan offload support")
> Cc: stable@dpdk.org
>
> Signed-off-by: Mingjin Ye <mingjinx.ye@intel.com>
> Acked-by: Aman Singh<aman.deep.singh@intel.com>
> ---
> app/test-pmd/cmdline.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
> index b4fe9dfb17..066a482fb5 100644
> --- a/app/test-pmd/cmdline.c
> +++ b/app/test-pmd/cmdline.c
> @@ -4076,6 +4076,7 @@ cmd_vlan_offload_parsed(void *parsed_result,
> else
> vlan_extend_set(port_id, on);
>
> + cmd_reconfig_device_queue(port_id, 1, 1);
> return;
> }
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-04 14:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-30 15:45 [PATCH] app/testpmd: fix vlan offload of rxq Mingjin Ye
2022-10-04 14:30 ` Singh, Aman Deep
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).