net/mlx5/linux: fix probing adjustment depending on DevX
authorMichael Baum <michaelba@nvidia.com>
Wed, 11 Nov 2020 07:36:47 +0000 (07:36 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 14 Nov 2020 00:36:19 +0000 (01:36 +0100)
commit2a87415cc9c3cf72f498e44f3f42d2b6ca07c7fd
treeac937a4b47512504c5d64d79ad272b56dd9ae9f2
parent436973b0d1c9e5290c585c3e05d164d3745221f4
net/mlx5/linux: fix probing adjustment depending on DevX

Bonding adjustment is done only when DEVX_PORT is supported in the
rdma-core.

Some bonding condition was done even when DEVX_PORT is not supported.

Remove it.

Fixes: 2eb4d0107acc ("net/mlx5: refactor PCI probing on Linux")
Cc: stable@dpdk.org
Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/linux/mlx5_os.c