Thanks Qi -----Original Message----- From: Zhang, Qi Z Sent: Thursday, July 4, 2019 2:18 PM To: Pei, Andy <andy....@intel.com>; dev@dpdk.org Cc: Zhang, Helin <helin.zh...@intel.com>; sta...@dpdk.org; Zhang, Roy Fan <roy.fan.zh...@intel.com>; Wu, Jingjing <jingjing...@intel.com>; Xing, Beilei <beilei.x...@intel.com>; Yigit, Ferruh <ferruh.yi...@intel.com>; Xu, Rosen <rosen...@intel.com>; Ye, Xiaolong <xiaolong...@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@dpdk.org > Cc: Pei, Andy <andy....@intel.com>; Zhang, Helin > <helin.zh...@intel.com>; sta...@dpdk.org; Zhang, Roy Fan > <roy.fan.zh...@intel.com>; Zhang, Qi Z <qi.z.zh...@intel.com>; Wu, > Jingjing <jingjing...@intel.com>; Xing, Beilei > <beilei.x...@intel.com>; Yigit, Ferruh <ferruh.yi...@intel.com>; Xu, > Rosen <rosen...@intel.com>; Ye, Xiaolong <xiaolong...@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.zh...@intel.com > Cc: sta...@dpdk.org > > Signed-off-by: Andy Pei <andy....@intel.com> Acked-by: Qi Zhang <qi.z.zh...@intel.com> Applied to dpdk-next-net-intel. Thanks Qi