8d0f80167d
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 device was plugged out while mlx4 was probing it. The fix adds error report to the probe caller when priv_get_mac fails and in all other failure options which are missing it. By this way, it prevents the unexpected behavior to miss ETH device after the device was probed successfully. Fixes: |
||
---|---|---|
.. | ||
Makefile | ||
mlx4_flow.c | ||
mlx4_flow.h | ||
mlx4.c | ||
mlx4.h | ||
rte_pmd_mlx4_version.map |