IB/hfi1: Consider LMC in 16B/bypass ingress packet check
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Wed, 28 Nov 2018 18:19:47 +0000 (10:19 -0800)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 7 Dec 2018 02:50:09 +0000 (19:50 -0700)
commitff8b67fccdb65402df78a1695c38be805252cf8e
tree42d7acb42c5972105f57940bc1dad894a6b73d01
parentdbc2970caef74e8ff41923d302aa6fb5a4812d0e
IB/hfi1: Consider LMC in 16B/bypass ingress packet check

Ingress packet check for 16B/bypass packets should consider the port
LMC. Not doing this will result in packets sent to the LMC LIDs getting
dropped. The check is implemented in HW for 9B packets.

Reviewed-by: Mike Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hfi1/driver.c