From: Anuradha Karuppiah
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 associated switch port.
Signed-
From: Anuradha Karuppiah
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: Anuradha Karuppiah
Signed-off-
From: Anuradha Karuppiah
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 directly
connected switch. Doing
From: Anuradha Karuppiah
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
From: Anuradha Karuppiah
Signed-off-by: Anuradha Karuppiah
Signed-off-by: Andy Gospodarek
Signed-off-by: Roopa Prabhu
Signed-off-by: Wilson Kok
---
include/uapi/linux/if_link.h |1 +
net/core/rtnetlink.c | 16 ++--
2 files changed, 15 insertions(+), 2 deletions(-)
From: Anuradha Karuppiah
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
From: Anuradha Karuppiah
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: Anuradha Karuppiah
Signed-off-
From: Anuradha Karuppiah
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 associated switch port.
Signed-
From: Anuradha Karuppiah
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 directly
connected switch. Doing
From: Anuradha Karuppiah
Signed-off-by: Anuradha Karuppiah
Signed-off-by: Andy Gospodarek
Signed-off-by: Roopa Prabhu
Signed-off-by: Wilson Kok
---
include/uapi/linux/if_link.h |1 +
net/core/rtnetlink.c | 16 ++--
2 files changed, 15 insertions(+), 2 deletions(-)
From: Anuradha Karuppiah
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 unctionality I used the qemu-rock
From: Anuradha Karuppiah
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
directly connected switch. Doing
From: Anuradha Karuppiah
A nested attribute has been added allowing apps to update bits
(IF_PROTOF_DOWN) in the proto_flags field.
Signed-off-by: Anuradha Karuppiah
Signed-off-by: Andy Gospodarek
Signed-off-by: Roopa Prabhu
Signed-off-by: Wilson Kok
---
include/uapi/linux/if_link.h | 10 +
From: Anuradha Karuppiah
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:~# ip link set eth1 protodown on
From: Anuradha Karuppiah
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 phys down
on the associated s
From: Anuradha Karuppiah
A nested attribute has been added allowing apps to update bits
(IF_PROTOF_DOWN) in the proto_flags field.
Signed-off-by: Anuradha Karuppiah
Signed-off-by: Andy Gospodarek
Signed-off-by: Roopa Prabhu
Signed-off-by: Wilson Kok
---
include/uapi/linux/if_link.h | 10 +
From: Anuradha Karuppiah
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
directly connected switch. Doing
From: Anuradha Karuppiah
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:~# ip link set eth1 protodown on
From: Anuradha Karuppiah
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 phys down
on the associated s
From: Anuradha Karuppiah
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 unctionality I used the qemu-rock
From: Anuradha Karuppiah
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
Signed-off-by: Andy Gospodarek
Signed-off-by: Roopa Prabhu
Signed-off-by: Wilson
From: Anuradha Karuppiah
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
directly connected switch. Doin
From: Anuradha Karuppiah
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 understand Scott has some rock
From: Anuradha Karuppiah
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 link set eth0 protodown on
root@
From: Anuradha Karuppiah
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 quickly and prevent traffic black
25 matches
Mail list logo