[PATCH v4 1/2] app/testpmd: fix vlan offload of rxq
Ye, MingjinX
mingjinx.ye at intel.com
Thu Oct 27 13:09:28 CEST 2022
Hi All,
Could you please review and provide suggestions if any.
Thanks,
Mingjin
> -----Original Message-----
> From: Ye, MingjinX <mingjinx.ye at intel.com>
> Sent: 2022年10月25日 1:27
> To: dev at dpdk.org
> Cc: stable at dpdk.org; Zhou, YidingX <yidingx.zhou at intel.com>; Ye, MingjinX
> <mingjinx.ye at intel.com>; Singh, Aman Deep
> <aman.deep.singh at intel.com>; Zhang, Yuying <yuying.zhang at intel.com>
> Subject: [PATCH v4 1/2] app/testpmd: fix vlan offload of rxq
>
> After setting vlan offload in testpmd, the result is not updated to rxq.
> Therefore, the queue needs to be reconfigured after executing the "vlan
> offload" related commands.
>
> Fixes: a47aa8b97afe ("app/testpmd: add vlan offload support")
> Cc: stable at dpdk.org
>
> Signed-off-by: Mingjin Ye <mingjinx.ye at 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
> 17be2de402..ce125f549f 100644
> --- a/app/test-pmd/cmdline.c
> +++ b/app/test-pmd/cmdline.c
> @@ -4133,6 +4133,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
More information about the stable
mailing list