forked from Minki/linux
7c35ef4525
Single port VFs always provide port = 1 (even if the actual physical
port used is port 2). As such, we need to convert the port provided
by the VF to the physical port before calling into the firmware.
It turns out that the Linux mlx4 VF RoCE driver maintains a copy of
the GID table and hence this change became critical only for single
ported IB VFs, but it could be needed for other RoCE VF drivers too.
Fixes:
|
||
---|---|---|
.. | ||
mlx4 | ||
mlx5/core | ||
Kconfig | ||
Makefile |