summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qib/qib_ud.c
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@qlogic.com>2011-01-10 17:42:19 -0800
committerRoland Dreier <rolandd@cisco.com>2011-01-10 17:42:19 -0800
commit3c9e5f4d657170c2fbc3d382d2daae3820713a6c (patch)
tree5d3417d0d69c1d6610d1c6ab5ea597ed2242e4cb /drivers/infiniband/hw/qib/qib_ud.c
parenta377acd15188cf11e47a67af5feea098cd8b25d2 (diff)
downloadop-kernel-dev-3c9e5f4d657170c2fbc3d382d2daae3820713a6c.zip
op-kernel-dev-3c9e5f4d657170c2fbc3d382d2daae3820713a6c.tar.gz
IB/qib: Set port physical state even if other fields are invalid
The IBTA vol. 1 release 1.2.1 spec. says: C14-24.2.1: If PortInfo:Portstate=Down, then a SubnSet(PortInfo) shall make any changes it specifies to PortInfo:PortPhysicalState; any other result is vendor-dependent. The patch changes the error handling so that the reply says there are invalid fields but still attempts to set fields that are in range including PortInfo:PortPhysicalState. Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_ud.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud