linux-stable/drivers/infiniband
Jan Sokolowski 641f348bbd IB/hfi1: Allow MgmtAllowed on B2B setups
HFI's are hard-wired to send Device Info frames with
MgmtAllowed bit set to 0. This means in B2B setups,
MgmtAllowed would never be allowed, which prevents
remote opa management tools from working properly.

Assume MgmtAllowed if a neighbor is also an HFI.

Fixes: 98b9ee2002 ("IB/hfi1: Cache neighbor secure data after link up")
Reviewed-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Jan Sokolowski <jan.sokolowski@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-11-13 15:53:56 -05:00
..
core IB/core: Avoid unnecessary return value check 2017-11-13 14:42:04 -05:00
hw IB/hfi1: Allow MgmtAllowed on B2B setups 2017-11-13 15:53:56 -05:00
sw IB/rxe: don't crash, if allocation of crc algorithm failed 2017-11-10 13:43:50 -05:00
ulp IB/srpt: Ensure that modifying the use_srq configfs attribute works 2017-11-13 15:25:16 -05:00
Kconfig infiniband: add MMU dependency for user_mem 2017-10-10 10:49:44 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00