linux-sg2042/net/ncsi
Gavin Shan 52b4c8627f net/ncsi: Enforce failover on link monitor timeout
The NCSI channel has been configured to provide service if its link
monitor timer is enabled, regardless of its state (inactive or active).
So the timeout event on the link monitor indicates the out-of-service
on that channel, for which a failover is needed.

This sets NCSI_DEV_RESHUFFLE flag to enforce failover on link monitor
timeout, regardless the channel's original state (inactive or active).
Also, the link is put into "down" state to give the failing channel
lowest priority when selecting for the active channel. The state of
failing channel should be set to active in order for deinitialization
and failover to be done.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-21 01:56:38 +01:00
..
Kconfig net/ncsi: Resource management 2016-07-19 20:49:16 -07:00
Makefile net/ncsi: NCSI AEN packet handler 2016-07-19 20:49:17 -07:00
internal.h net/ncsi: Don't limit vids based on hot_channel 2017-10-11 20:10:37 -07:00
ncsi-aen.c net/ncsi: Fix AEN HNCDSC packet length 2017-10-21 01:56:38 +01:00
ncsi-cmd.c net/ncsi: Fix several packet definitions 2017-08-28 16:49:49 -07:00
ncsi-manage.c net/ncsi: Enforce failover on link monitor timeout 2017-10-21 01:56:38 +01:00
ncsi-pkt.h net/ncsi: Fix several packet definitions 2017-08-28 16:49:49 -07:00
ncsi-rsp.c net/ncsi: Configure VLAN tag filter 2017-08-28 16:49:49 -07:00