]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72df39b70c57cff54f036148b3bad71b6f13d2bc
tree41dca3295862821bbde2207bc1bbe8a6ed15eed1
parentae0c6df65de76c3b9917d9e701f8770179feacc3
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: b1772d9ff7cf ("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