]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sif: Add a feature mask to allow internal vlink state to follow ext.links
authorKnut Omang <knut.omang@oracle.com>
Tue, 28 Jun 2016 07:24:45 +0000 (09:24 +0200)
committerKnut Omang <knut.omang@oracle.com>
Sun, 3 Jul 2016 14:44:13 +0000 (16:44 +0200)
commitcb1c3491190fe021daca42a87ad76212f2f9ad59
tree4fd42b6e12356fab7917e833e0ee3049d8fd95db
parent1c13110f483ef9d6ba616d101f29100e955dc9d4
sif: Add a feature mask to allow internal vlink state to follow ext.links

SIF implements an internal IB switch for each port - all HCA vPorts are
connected to this switch, which again has a single external port
associated with the actual state of the physical port.

Some of the current management software assumes that a failed external port
of an HCA can be observed by looking at the local port, which is not
the case with SIF, where the local virtual port will not go down
if the external link goes down.

Firmware implements a mode to logically "wire" the vPort to the
corresponding physical port to mimic the legacy behaviour.

This mode can be enabled by OR'ing in 0x10000 in the module parameter
feature_mask. This is a temporary fix until management software can handle
this topology better.

Orabug: 23509653

Signed-off-by: Knut Omang <knut.omang@oracle.com>
drivers/infiniband/hw/sif/sif_dev.h
drivers/infiniband/hw/sif/sif_epsc.c