[dpdk-dev] [PATCH v4] net/i40e: fix core dumped when setting txq or rxq to 0 in VF
Pei, Andy
andy.pei at intel.com
Thu Jul 4 08:20:38 CEST 2019
Thanks Qi
-----Original Message-----
From: Zhang, Qi Z
Sent: Thursday, July 4, 2019 2:18 PM
To: Pei, Andy <andy.pei at intel.com>; dev at dpdk.org
Cc: Zhang, Helin <helin.zhang at intel.com>; stable at dpdk.org; Zhang, Roy Fan <roy.fan.zhang at intel.com>; Wu, Jingjing <jingjing.wu at intel.com>; Xing, Beilei <beilei.xing at intel.com>; Yigit, Ferruh <ferruh.yigit at intel.com>; Xu, Rosen <rosen.xu at intel.com>; Ye, Xiaolong <xiaolong.ye at intel.com>
Subject: RE: [PATCH v4] net/i40e: fix core dumped when setting txq or rxq to 0 in VF
> -----Original Message-----
> From: Pei, Andy
> Sent: Thursday, July 4, 2019 9:39 AM
> To: dev at dpdk.org
> Cc: Pei, Andy <andy.pei at intel.com>; Zhang, Helin
> <helin.zhang at intel.com>; stable at dpdk.org; Zhang, Roy Fan
> <roy.fan.zhang at intel.com>; Zhang, Qi Z <qi.z.zhang at intel.com>; Wu,
> Jingjing <jingjing.wu at intel.com>; Xing, Beilei
> <beilei.xing at intel.com>; Yigit, Ferruh <ferruh.yigit at intel.com>; Xu,
> Rosen <rosen.xu at intel.com>; Ye, Xiaolong <xiaolong.ye at intel.com>
> Subject: [PATCH v4] net/i40e: fix core dumped when setting txq or rxq
> to 0 in VF
>
> Testpmd would stuck and result in core dump when user specifies an
> invalid VF queue number, for example when setting txq or rxq to 0.
> When txq or rxq is set to 0, pointer of pointer rxq or txq in function
> i40evf_configure_vsi_queues is NULL. The usage of txq[i] or rxq[0] is
> valid. This patch fixes this issue.
>
> Fixes: d6b19729093e ("i40evf: support configurable crc stripping")
> Cc: helin.zhang at intel.com
> Cc: stable at dpdk.org
>
> Signed-off-by: Andy Pei <andy.pei at intel.com>
Acked-by: Qi Zhang <qi.z.zhang at intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi
More information about the dev
mailing list