RE: [PATCH] common/mlx5: fix probing return value when failing

2022-01-26 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Bing Zhao > Sent: Monday, January 17, 2022 7:49 PM > To: Slava Ovsiienko ; Matan Azrad > > Cc: dev@dpdk.org; Raslan Darawsheh ; > Xueming(Steven) Li ; sta...@dpdk.org > Subject: [PATCH] common/mlx5: fix probing return value

[PATCH] common/mlx5: fix probing return value when failing

2022-01-17 Thread Bing Zhao
While probing the device with unsupported class, the process should fail because no appropriate driver was found. After traversing all the drivers, an error value should be returned for the case. In the previous implementation, zero value indicating probing success was wrongly returned. Fixes: ad