]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Fix status error code for unsupported packets
authorJakub Pawlak <jakub.pawlak@intel.com>
Tue, 25 Oct 2016 20:12:17 +0000 (13:12 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 15 Nov 2016 21:16:45 +0000 (16:16 -0500)
commit9bf55453c472877489fde220de1968b1d6fb80f1
treed9fa0bec1b5c74324b3db29c0dce6d835d446755
parent3a78291ad80bb50ffe5973d31d3afd9a924a8f86
IB/hfi1: Fix status error code for unsupported packets

Set the status code BAD_L2 when unsupported type of packet
is received and dropped.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@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/chip.h
drivers/infiniband/hw/hfi1/driver.c