[PATCH net-next v6 1/4] net core: Add protodown support.

2015-07-14 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.com This patch introduces the proto_down flag that can be used by user space applications to notify switch drivers that errors have been detected on the device. The switch driver can react to protodown notification by doing a phys down on the

[PATCH net-next v6 0/4] net: Introduce protodown flag.

2015-07-14 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.com User space daemons can detect errors in the network that need to be notified to the switch device drivers. Drivers can react to this error state by doing a phy-down on the switch-port which would result in a carrier-off locally and on the

[PATCH net-next v6 2/4] netlink: changes for setting and clearing protodown via netlink.

2015-07-14 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.com Signed-off-by: Anuradha Karuppiah anurad...@cumulusnetworks.com Signed-off-by: Andy Gospodarek go...@cumulusnetworks.com Signed-off-by: Roopa Prabhu ro...@cumulusnetworks.com Signed-off-by: Wilson Kok w...@cumulusnetworks.com ---

[PATCH iproute2 v6 4/4] ip link: proto_down config and display.

2015-07-14 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.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

[PATCH net-next v6 3/4] rocker: Handle protodown notifications.

2015-07-14 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.com protodown can be set by user space applications like MLAG on detecting errors on a switch port. This patch provides sample switch driver changes for handling protodown. Rocker PHYS disables the port in response to protodown. Signed-off-by:

[PATCH net-next v7 3/4] rocker: Handle protodown notifications.

2015-07-14 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.com protodown can be set by user space applications like MLAG on detecting errors on a switch port. This patch provides sample switch driver changes for handling protodown. Rocker PHYS disables the port in response to protodown. Signed-off-by:

[PATCH net-next v7 1/4] net core: Add protodown support.

2015-07-14 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.com This patch introduces the proto_down flag that can be used by user space applications to notify switch drivers that errors have been detected on the device. The switch driver can react to protodown notification by doing a phys down on the

[PATCH iproute2 v7 4/4] ip link: proto_down config and display.

2015-07-14 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.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

[PATCH net-next v7 0/4] net: Introduce protodown flag.

2015-07-14 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.com User space daemons can detect errors in the network that need to be notified to the switch device drivers. Drivers can react to this error state by doing a phy-down on the switch-port which would result in a carrier-off locally and on the

[PATCH net-next v5 4/4] ip link: proto_down config and display.

2015-07-09 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.com This patch adds support to set and display the IF_PROTOF_DOWN proto_flag. 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:~#

[PATCH net-next v5 1/4] net core: Add protodown support.

2015-07-09 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.com This patch introduces the IF_PROTOF_DOWN flag via proto_flags that can be used by user space applications to notify switch drivers that errors have been detected on the device. The switch driver can react to protodown notification by doing a

[PATCH net-next v5 3/4] rocker: Handle protodown notifications.

2015-07-09 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.com protodown can be set by user space applications like MLAG on detecting errors on a switch port. This patch provides sample switch driver changes for handling protodown. Rocker PHYS disables the port in response to protodown. To test this

[PATCH net-next v4 2/4] netlink: changes for setting and clearing protodown via netlink.

2015-07-08 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.com A nested attribute has been added allowing apps to update bits (IF_PROTOF_DOWN) in the proto_flags field. Signed-off-by: Anuradha Karuppiah anurad...@cumulusnetworks.com Signed-off-by: Andy Gospodarek go...@cumulusnetworks.com Signed-off-by:

[PATCH net-next v4 4/4] ip link: proto_down config and display.

2015-07-08 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.com This patch adds support to set and display the IF_PROTOF_DOWN proto_flag. 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:~#

[PATCH net-next v4 1/4] net core: Add protodown support.

2015-07-08 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.com This patch introduces the IF_PROTOF_DOWN flag via proto_flags that can be used by user space applications to notify switch drivers that errors have been detected on the device. The switch driver can react to protodown notification by doing a

[PATCH net-next v4 3/4] rocker: Handle protodown notifications.

2015-07-08 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.com protodown can be set by user space applications like MLAG on detecting errors on a switch port. This patch provides sample switch driver changes for handling protodown. Rocker PHYS disables the port in response to protodown. To test this

[PATCH net-next v4 0/4] net: Introduce protodown flag.

2015-07-08 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.com User space daemons can detect errors in the network that need to be notified to the switch device drivers. Drivers can react to this error state by doing a phy-down on the switch-port which would result in a carrier-off locally and on the

[RFC PATCH net-next v3 2/4] switchdev: APIs for setting physical state of the switch port.

2015-04-27 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.com On detecting errors an application can set IFF_PROTO_DOWN on a device. These switchdev APIs allow the switch device driver to react to IFF_PROTO_DOWN by doing a phy down on the switch port. Doing this allows the connected server to react

[RFC PATCH iproute v3 4/4] ip link: Config and display IFF_PROTO_DOWN flag.

2015-04-27 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.com This patch adds support to set and display the IFF_PROTO_DOWN flag. 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

[RFC PATCH net-next v3 1/4] net core: Add IFF_PROTO_DOWN support.

2015-04-27 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.com This patch introduces an IFF_PROTO_DOWN flag that can be used by user space applications to notify drivers that errors have been detected on the device. Signed-off-by: Anuradha Karuppiah anurad...@cumulusnetworks.com Signed-off-by: Andy

[RFC PATCH net-next v3 3/4] rocker: Handle IFF_PROTODOWN by doing a PHYS-DOWN on the switch port.

2015-04-27 Thread anuradhak
From: Anuradha Karuppiah anurad...@cumulusnetworks.com IFF_PROTODOWN can be set by user space applications like MLAG on detecting errors on a switch port. This patch provides sample switch driver changes for handling IFF_PROTODOWN. Rocker PHYS disables the port in response to protodown. Note: I