dcbaafdc8f
The MLX5 net driver supports "probe again". In probing again, it creates a new ethdev under an existing infiniband device context. Sibling devices sharing infiniband device context should have compatible configurations, so some of the devargs given in the probe again, the ones that are mainly relevant to the sharing device context are sent to the mlx5_dev_check_sibling_config function which makes sure that they compatible its siblings. However, the arguments are adjusted according to the capability of the device, and the function compares the arguments of the probe again before the adjustment with the arguments of the siblings after the adjustment. A user who sends the same values to all siblings may fail in this comparison if he requested something that the device does not support and adjusted. This patch moves the call to the mlx5_dev_check_sibling_config function after the relevant adjustments. Fixes: |
||
---|---|---|
.. | ||
meson.build | ||
mlx5_ethdev_os.c | ||
mlx5_flow_os.c | ||
mlx5_flow_os.h | ||
mlx5_mp_os.c | ||
mlx5_os.c | ||
mlx5_os.h | ||
mlx5_vlan_os.c |