summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp
diff options
context:
space:
mode:
authorDasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>2016-07-25 22:40:28 +0200
committerDoug Ledford <dledford@redhat.com>2016-08-02 22:00:58 +0200
commit89c057cae4deaeab94c652c06b855af2bb754f50 (patch)
tree372ea875cef33b9e3a832169793a2131ff7c28c3 /drivers/infiniband/ulp
parentIB/hfi1: Rename hfi1_pio_header to hfi1_sdma_header. (diff)
downloadlinux-89c057cae4deaeab94c652c06b855af2bb754f50.tar.xz
linux-89c057cae4deaeab94c652c06b855af2bb754f50.zip
IB/hfi1: Cleanup UD packet handler.
Cleanup hfi1_ud_rcv to not have to look at the packet header fields multiple times. The fields are looked up once and used throughout the function. Also fix sc computation when validating MAD packets. Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Reviewed-by: Dean Luick <dean.luick@intel.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com> Signed-off-by: Don Hiatt <don.hiatt@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/ulp')
0 files changed, 0 insertions, 0 deletions