]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: VFs must ignore the enable_64b_cqe_eqe module param
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Thu, 1 Aug 2013 16:55:01 +0000 (19:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Aug 2013 22:09:36 +0000 (15:09 -0700)
commit516e8cc7cfac30cc9532d39ae6746cffd7531586
treecebf950c8de6e979071f0a80b8f7416564311083
parentc1257f8ad2f67f4bc6111566475a41f2b25b5416
net/mlx4_core: VFs must ignore the enable_64b_cqe_eqe module param

Slaves get the 64B CQE/EQE state from QUERY_HCA, not from the module parameter.

If the parameter is set to zero, the slave outputs an incorrect/irrelevant
warning message that 64B CQEs/EQEs are supported but not enabled (even if the
hypervisor has enabled 64B CQEs/EQEs).

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c