staging/rdma/hfi1: Fix xmit discard error weight
authorDean Luick <dean.luick@intel.com>
Thu, 18 Feb 2016 19:12:08 +0000 (11:12 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:45:43 +0000 (20:45 -0500)
commit4c9e7aacb6a6334168a81b83819fb5cb088d2fb3
treec91e46bc9ccc4ddc2db104c16e5bc48f5aeaa217
parent6b5c5213e57453c228f7695d5d889aa4c84272c3
staging/rdma/hfi1: Fix xmit discard error weight

Count only the errors that apply to xmit discards.  Update
the comment to better explain the limitations of the count.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/chip.c