diff options
author | Matan Barak <matanb@mellanox.com> | 2014-03-23 09:50:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-25 20:48:05 -0400 |
commit | e471b40321a94f07d13b8a9e4b064885cf08835d (patch) | |
tree | 876b720c63a9f7532def084a3ccb03b4a64b10b2 /drivers/atm | |
parent | 04f58c88542b6b351efb4eea01134eb672e22e6e (diff) | |
download | blackbird-op-linux-e471b40321a94f07d13b8a9e4b064885cf08835d.tar.gz blackbird-op-linux-e471b40321a94f07d13b8a9e4b064885cf08835d.zip |
mlx4: Use actual number of PCI functions (PF + VFs) for alias GUID logic
The code which is dealing with SRIOV alias GUIDs in the mlx4 IB driver has some
logic which operated according to the maximal possible active functions (PF + VFs).
After the single port VFs code integration this resulted in a flow of false-positive
warnings going to the kernel log after the PF driver started the alias GUID work.
Fix it by referring to the actual number of functions.
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions