qed: Correct rdma params configuration
authorRam Amrani <Ram.Amrani@cavium.com>
Wed, 9 Nov 2016 20:48:44 +0000 (22:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Nov 2016 17:55:20 +0000 (12:55 -0500)
commit5c5f26090840951b4102d9a1e6db9aac41101e5a
tree52327a6597711cc7be6b3bfa097d1b4ed85aed06
parent8d1d8fcb21cfc4a65731760c3100920f929e8f3d
qed: Correct rdma params configuration

Previous fix has broken RoCE support as the rdma_pf_params are now
being set into the parameters only after the params are alrady assigned
into the hw-function.

Fixes: 0189efb8f4f8 ("qed*: Fix Kconfig dependencies with INFINIBAND_QEDR")
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_main.c