qed: configure ll2 RoCE v1/v2 flavor correctly
authorRam Amrani <Ram.Amrani@cavium.com>
Wed, 9 Nov 2016 20:48:43 +0000 (22:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Nov 2016 17:55:20 +0000 (12:55 -0500)
commit8d1d8fcb21cfc4a65731760c3100920f929e8f3d
tree41dca3295862821bbde2207bc1bbe8a6ed15eed1
parent0ace81ec7192201af48528c309ee0b4103021f55
qed: configure ll2 RoCE v1/v2 flavor correctly

Currently RoCE v2 won't operate with RDMA CM due to missing setting of
the roce-flavour in the ll2 configuration.
This patch properly sets the flavour, and deletes incorrect HSI
that doesn't [yet] exist.

Fixes: abd49676c707 ("qed: Add RoCE ll2 & GSI support")
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_hsi.h
drivers/net/ethernet/qlogic/qed/qed_ll2.c