IB/hfi1: Correct receive packet handler assignment
authorJakub Pawlak <jakub.pawlak@intel.com>
Fri, 1 Jul 2016 23:02:02 +0000 (16:02 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 2 Aug 2016 19:47:43 +0000 (15:47 -0400)
commit71e68e3db8008d89d4eb25483ea68d752015e9d8
treed4345e7361e76df1be8d0569d62e33a8f093ca93
parent14833b8c52424eafb962f9ce7d8f1c01c14ee41f
IB/hfi1: Correct receive packet handler assignment

Prevent processing receive packet in case when opcode is
accepted by QP but handler for this type of packet is not
defined.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Jakub Pawlak <jakub.pawlak@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/verbs.c