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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 01:35:26 +0000 (18:35 -0700)
commit7abe9b04d9531916a566828049284ae515dde9ea
tree9ccf04ce4483225cde1cdb52c2cbac867f0a140c
parentf870f0c92b820e063dbb6ba9bee0ee80e3dc8fd0
net/mlx4_core: VFs must ignore the enable_64b_cqe_eqe module param

[ Upstream commit b30513202c6c14120f70b2e9aa1e97d47bbc2313 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx4/main.c