Hi, > -----Original Message----- > From: Bing Zhao <bi...@nvidia.com> > Sent: Thursday, March 3, 2022 5:27 PM > To: Slava Ovsiienko <viachesl...@nvidia.com>; Matan Azrad > <ma...@nvidia.com> > Cc: dev@dpdk.org; Raslan Darawsheh <rasl...@nvidia.com>; > Xueming(Steven) Li <xuemi...@nvidia.com>; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix Rx queue private pointers array checking > > None Rx queue configured in a DPDK application should be supported. > In this mode, the NIC can be used to generate packets without receiving any > ingress traffic. > > In the current implementation, once there is no Rx queue specified, the > array to store the queues' pointers is NULL after allocation. > Then the checking of the array allocation prevents the application from > starting up. > > By adding another condition checking of the Rx queue number, the > application with none Rx queue can start up successfully. > > Fixes: 4cda06c3c35e ("net/mlx5: split Rx queue into shareable and private") > Cc: xuemi...@nvidia.com > Cc: sta...@dpdk.org > > Signed-off-by: Bing Zhao <bi...@nvidia.com> > Acked-by: Viacheslav Ovsiienko <viachesl...@nvidia.com>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh