Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/mlx5: fix probing device in legacy bonding mode
[ upstream commit ecaee30 ] If the device was configured as legacy bond one (without involving E-Switch), the mlx5 PMD erroneously tried to deduce the vport index raising the fatal error and preventing device from being used. The patch checks whether there is E-Switch present and we should use vport index indeed. Fixes: 2eb4d01 ("net/mlx5: refactor PCI probing on Linux") Fixes: d5c06b1 ("net/mlx5: query vport index match mode and parameters") Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
- Loading branch information