[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150728164453.07cf0422@urahara>
Date: Tue, 28 Jul 2015 16:44:53 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: anuradhak@...ulusnetworks.com
Cc: davem@...emloft.net, sfeldma@...il.com, netdev@...r.kernel.org,
roopa@...ulusnetworks.com, gospo@...ulusnetworks.com,
wkok@...ulusnetworks.com
Subject: Re: [PATCH iproute2 v7 4/4] ip link: proto_down config and display.
On Tue, 14 Jul 2015 13:43:22 -0700
anuradhak@...ulusnetworks.com wrote:
> From: Anuradha Karuppiah <anuradhak@...ulusnetworks.com>
>
> 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@...-next:~# ip link set eth1 protodown on
> root@...-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@...-next:~/iproute2# ip link set eth1 protodown off
> root@...-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@...-next:~/iproute2#
>
> Signed-off-by: Anuradha Karuppiah <anuradhak@...ulusnetworks.com>
> Signed-off-by: Andy Gospodarek <gospo@...ulusnetworks.com>
> Signed-off-by: Roopa Prabhu <roopa@...ulusnetworks.com>
> Signed-off-by: Wilson Kok <wkok@...ulusnetworks.com>
Applied to net-next branch.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists