]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ipath: Fix IB compliance problems with link state vs physical state
authorRalph Campbell <ralph.campbell@qlogic.com>
Fri, 14 Dec 2007 09:53:56 +0000 (01:53 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 11 Mar 2008 20:58:22 +0000 (13:58 -0700)
commitbaef7c639267ac4cc63af2aea8a2bd7b3ea97daf
treed30fa34b17ec1f42508c5d046926ed7a717126c4
parent08e0781bd84c364857c69a3dc7df3f4558c779c9
IB/ipath: Fix IB compliance problems with link state vs physical state

Subnet manager SetPortinfo messages distingush between changing the link
state (DOWN, ARM, ACTIVE) and the link physical state (POLL, SLEEP,
DISABLED).  These are somewhat independent commands and affect when link
width and speed changes take effect.  Without this patch, a link DOWN
physical state NOP command was causing the link width and speed settings
to take effect which should only happen when the link physical state is
goes down (either by a SMP or some link physical error like link errors
exceeding the threshold).

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_common.h
drivers/infiniband/hw/ipath/ipath_driver.c
drivers/infiniband/hw/ipath/ipath_kernel.h
drivers/infiniband/hw/ipath/ipath_mad.c
drivers/infiniband/hw/ipath/ipath_registers.h