staging/rdma/hfi1: Add aeth name syndrome decode
authorDean Luick <dean.luick@intel.com>
Tue, 1 Dec 2015 20:38:12 +0000 (15:38 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:51:50 +0000 (13:51 -0800)
commit3802f7eb886582735112b6867286e1acc3991f55
tree0b7beaa5bde1783fcdd16f56716dc3daffa0a3d8
parent93990be3023c11f054f7ac3bcbc2a1c4edda6bec
staging/rdma/hfi1: Add aeth name syndrome decode

Add aeth name syndrome decode to enhance debugging.

The IBTA RC ACK contains an ACK extended transport header.

Part of that header is the syndrome field that qualifies the RC ACK as an
ACK, NAK, or RNR NAK.

Without the patch here is the syndrome decode:
aeth syn 0x00

Here is the decode with the fix:
aeth syn 0x00 ACK

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/trace.c