staging/rdma/hfi1: Adding counter resolutions for DataPortCounters
authorAndrea Lowe <andrea.l.lowe@intel.com>
Tue, 1 Dec 2015 20:38:26 +0000 (15:38 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:51:58 +0000 (13:51 -0800)
commitf0852922507c386257891e694315a56c2ba09224
tree8843df5812f164e137c0b543e2d49078fd757ff7
parent6cc6ad2eb886e8cb47e8b15e9d4132fe8275021f
staging/rdma/hfi1: Adding counter resolutions for DataPortCounters

Changing the 32-bit reserved field in opa_port_data_counters_msg
to the new 'resolution' field. PMA will use resolutions to right-
shift values for LocalLinkIntegrity and LinkErrorRecovery when
computing the ErrorCounterSummary for a DataPortCounters request.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Andrea Lowe <andrea.l.lowe@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/mad.c