Hi, > -----Original Message----- > From: Bing Zhao <[email protected]> > Sent: Thursday, March 3, 2022 5:27 PM > To: Slava Ovsiienko <[email protected]>; Matan Azrad > <[email protected]> > Cc: [email protected]; Raslan Darawsheh <[email protected]>; > Xueming(Steven) Li <[email protected]>; [email protected] > 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: [email protected] > Cc: [email protected] > > Signed-off-by: Bing Zhao <[email protected]> > Acked-by: Viacheslav Ovsiienko <[email protected]>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

