IB/hfi1: Add counter to track unsupported packets drop
authorJakub Pawlak <jakub.pawlak@intel.com>
Fri, 1 Jul 2016 23:01:22 +0000 (16:01 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 2 Aug 2016 16:00:54 +0000 (12:00 -0400)
commit2b719046743d35b452f17956a5f19e1aa0fc3e8a
treef02b94e67f66ebcc5c0c6380d8fcfe57f9538c8d
parent583eb8b8a155dd6fb50a0c7846aa85ba8381cfed
IB/hfi1: Add counter to track unsupported packets drop

Add sw counter to track dropped unsupported packets.
Report unsupported packets drop as the RcvError.

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.c
drivers/infiniband/hw/hfi1/driver.c
drivers/infiniband/hw/hfi1/hfi.h
drivers/infiniband/hw/hfi1/mad.c