On Tue, 14 Jul 2015 13:43:22 -0700 [email protected] wrote: > From: Anuradha Karuppiah <[email protected]> > > This patch adds support to set and display protodown on a switch port. The > switch driver can handle this error state by doing a phys down on the port. > > One example user space application setting this flag is a multi-chassis > LAG application to handle split-brain situation on peer-link failure. > > Example: > root@net-next:~# ip link set eth1 protodown on > root@net-next:~/iproute2# ip link show eth1 > 4: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT > group default qlen 1000 > link/ether 52:54:00:12:35:01 brd ff:ff:ff:ff:ff:ff protodown on > root@net-next:~/iproute2# ip link set eth1 protodown off > root@net-next:~/iproute2# ip link show eth1 > 4: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT > group default qlen 1000 > link/ether 52:54:00:12:35:01 brd ff:ff:ff:ff:ff:ff > root@net-next:~/iproute2# > > Signed-off-by: Anuradha Karuppiah <[email protected]> > Signed-off-by: Andy Gospodarek <[email protected]> > Signed-off-by: Roopa Prabhu <[email protected]> > Signed-off-by: Wilson Kok <[email protected]>
Applied to net-next branch. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
