IB/hfi1: Update SMA ingress checks for response packets
authorJianxin Xiong <jianxin.xiong@intel.com>
Sat, 1 Oct 2016 03:11:09 +0000 (20:11 -0700)
committerDoug Ledford <dledford@redhat.com>
Sun, 2 Oct 2016 12:42:21 +0000 (08:42 -0400)
commitf380920957b39b6f19a9df868bee8cdec0968dcd
treeba9d7b5cd9a57c4d56b225eb1145176bdf8edafd
parente83eba214d5182422346bdfcdd72b665b73eda1a
IB/hfi1: Update SMA ingress checks for response packets

Fix "unsupported method" error by skipping ingress pkey checks on
response SMA packets.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/ud.c