]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Return SC2VL mappings to FM with VL15 instead of ILLEGAL_VL
authorSebastian Sanchez <sebastian.sanchez@intel.com>
Sun, 9 Apr 2017 17:16:09 +0000 (10:16 -0700)
committerDoug Ledford <dledford@redhat.com>
Fri, 28 Apr 2017 17:48:01 +0000 (13:48 -0400)
commit27e79b5644da2d621e96c8e5a8ba5bdc2ad21d30
treef1b437da083270d7f3461cd312f316bd14444346
parenta1520c8d7a646f7157ab3424b846b22ead7676e2
IB/hfi1: Return SC2VL mappings to FM with VL15 instead of ILLEGAL_VL

VL15 in the SC2VL table is used to indicate an invalid SC
for the FM, however, internally the driver remaps SCs from
VL15 to ILLEGAL_VL to prevent error counts. This mapping
confuses the FM when performing a sweep, making it return
a table mismatch error. Have SMA convert ILLEGAL_VL
to VL15 entries for the SC2VL table queries.

Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/mad.c