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

2015-07-09 Thread anuradhak
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

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

2015-07-13 Thread David Miller
From: anurad...@cumulusnetworks.com Date: Thu, 9 Jul 2015 15:35:27 -0700 > +/* proto_flags - port state information can be passed to the switch driver > and > + * used to determine the phys state of the switch port */ > +enum { > + IF_PROTOF_DOWN = 1<<0 /* set switch port phys stat

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

2015-07-13 Thread Anuradha Karuppiah
On Mon, Jul 13, 2015 at 2:34 PM, David Miller wrote: > From: anurad...@cumulusnetworks.com > Date: Thu, 9 Jul 2015 15:35:27 -0700 > >> +/* proto_flags - port state information can be passed to the switch driver >> and >> + * used to determine the phys state of the switch port */ >> +enum { >> +