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

2015-07-15 Thread Stephen Hemminger
On Wed, 8 Jul 2015 14:04:22 -0700 anurad...@cumulusnetworks.com wrote: diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index e20979d..99ebb01 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -1041,6 +1041,11 @@ typedef u16

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

2015-07-15 Thread Anuradha Karuppiah
On Wed, Jul 15, 2015 at 10:31 AM, Stephen Hemminger step...@networkplumber.org wrote: On Wed, 8 Jul 2015 14:04:22 -0700 anurad...@cumulusnetworks.com wrote: diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index e20979d..99ebb01 100644 --- a/include/linux/netdevice.h +++

[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

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

2015-07-08 Thread Anuradha Karuppiah
On Wed, Jul 8, 2015 at 4:07 PM, Jonathan Toppins jtopp...@cumulusnetworks.com wrote: On 7/8/15 5:04 PM, anurad...@cumulusnetworks.com wrote: diff --git a/include/uapi/linux/if.h b/include/uapi/linux/if.h index 9cf2394..8d60fe7 100644 --- a/include/uapi/linux/if.h +++

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

2015-07-08 Thread Jonathan Toppins
On 7/8/15 5:04 PM, anurad...@cumulusnetworks.com wrote: diff --git a/include/uapi/linux/if.h b/include/uapi/linux/if.h index 9cf2394..8d60fe7 100644 --- a/include/uapi/linux/if.h +++ b/include/uapi/linux/if.h @@ -156,6 +156,12 @@ enum { IF_LINK_MODE_DORMANT, /* limit upward transition