Re: [dpdk-dev] [PATCH 2/2] net/mlx5: fix probe failure report

2017-08-23 Thread Nélio Laranjeiro
On Sun, Aug 13, 2017 at 03:25:12PM +0300, Matan Azrad wrote: > The corrupted code doesn't return error when probe function > fails due to error in device mac address getting. > By this way, the probe function may return success even if the > ETH dev is not allocated. > > Hence, the probe caller, f

[dpdk-dev] [PATCH 2/2] net/mlx5: fix probe failure report

2017-08-13 Thread Matan Azrad
The corrupted code doesn't return error when probe function fails due to error in device mac address getting. By this way, the probe function may return success even if the ETH dev is not allocated. Hence, the probe caller, for example failsafe PMD, fails when it tries to get ETH dev after the dev