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 {
>> +
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
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