net/mlx4_core: Disable Granular QoS per VF under IB/Eth VPI configuration
authorOr Gerlitz <ogerlitz@mellanox.com>
Sun, 14 Jun 2015 14:13:06 +0000 (17:13 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Jun 2015 23:42:57 +0000 (16:42 -0700)
commitac0a72a3e6e8d817f60ce4d9a8f3b43dc256d847
tree2d5981bc1fa8c4e856b15f240b9a05a3012e89b4
parent2d45a02d0166caf2627fe91897c6ffc3b19514c4
net/mlx4_core: Disable Granular QoS per VF under IB/Eth VPI configuration

Due to firmware bug, under VPI configuration when port1 = IB and
port2 = Eth, Granular QoS per VF isn't working properly. More over,
the whole QP0/QP1 Para-Virtualization in the mlx4 IB driver is
broken on that config.

Hence, we must disable Granular QoS per VF under that configuration
till a fix is introduced. Once that happens, a new device capability
will be used to mark the feature support on that specific configuration.

Reported-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c