[ofa-general] [PATCH v2] infiniband-diags: Do not change port state on SubnSet

Sasha Khapyorsky sashak at voltaire.com
Sat Jun 13 04:20:40 PDT 2009


On 17:12 Wed 03 Jun     , Eli Dorfman (Voltaire) wrote:
> Do not change port state on SubnSet
> 
> When changing physical state do not change logical port state to avoid invalid 
> transitions in port state machine.
> From the IB spec When writing PortInfo:PortState, only legal transitions are
> valid. So if PortState is ACTIVE and we try to set it to ACTIVE this will fail.
> 
> This patch will allow reset in a single MAD by changing physical state to polling.
> 
> Signed-off-by: Eli Dorfman <elid at voltaire.com>

Applied. Thanks.

Sasha



More information about the general mailing list