Skip to content
Commit aadfc3b2 authored by Ira Weiny's avatar Ira Weiny Committed by Doug Ledford
Browse files

IB/hfi1: fix pstateinfo from returning improperly byteswapped value



Byteswap link_width_downgrade_*_active values before sending on the wire.  In
addition properly define the Port State Info structure.

Reviewed-by: default avatarDennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: default avatarChristian Gomez <christian.gomez@intel.com>
Signed-off-by: default avatarRimmer, Todd <todd.rimmer@intel.com>
Signed-off-by: default avatarIra Weiny <ira.weiny@intel.com>
Acked-by: default avatarMike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 447e9a4d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment