diff options
author | 2018-05-02 06:42:36 -0700 | |
---|---|---|
committer | 2018-05-09 15:53:29 -0400 | |
commit | 959f2d172daa0133e4d5b7a64344f8b2c2d87fc1 (patch) | |
tree | 8723bbec6d035ec479fde7d9d75e8dd78be703e3 /drivers/infiniband/hw/qib/qib_init.c | |
parent | IB/hfi1: Return actual error value from program_rcvarray() (diff) | |
download | wireguard-linux-959f2d172daa0133e4d5b7a64344f8b2c2d87fc1.tar.xz wireguard-linux-959f2d172daa0133e4d5b7a64344f8b2c2d87fc1.zip |
IB/hfi1: Complete check for locally terminated smp
For lid routed packets 'hop_cnt' is zero, therefore current
test is incomplete. Fix it by using local mad check for
both lid routed and direct routed MADs.
Reviewed-by: Mike Mariciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Alex Estrin <alex.estrin@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_init.c')
0 files changed, 0 insertions, 0 deletions