Thanks Qi -----Original Message----- From: Zhang, Qi Z Sent: Thursday, July 4, 2019 2:18 PM To: Pei, Andy <[email protected]>; [email protected] Cc: Zhang, Helin <[email protected]>; [email protected]; Zhang, Roy Fan <[email protected]>; Wu, Jingjing <[email protected]>; Xing, Beilei <[email protected]>; Yigit, Ferruh <[email protected]>; Xu, Rosen <[email protected]>; Ye, Xiaolong <[email protected]> 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: [email protected] > Cc: Pei, Andy <[email protected]>; Zhang, Helin > <[email protected]>; [email protected]; Zhang, Roy Fan > <[email protected]>; Zhang, Qi Z <[email protected]>; Wu, > Jingjing <[email protected]>; Xing, Beilei > <[email protected]>; Yigit, Ferruh <[email protected]>; Xu, > Rosen <[email protected]>; Ye, Xiaolong <[email protected]> > 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: [email protected] > Cc: [email protected] > > Signed-off-by: Andy Pei <[email protected]> Acked-by: Qi Zhang <[email protected]> Applied to dpdk-next-net-intel. Thanks Qi

