net core: Add protodown support.
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Tue, 14 Jul 2015 20:43:19 +0000 (13:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Jul 2015 04:39:40 +0000 (21:39 -0700)
commitd746d707a8b1421a4ba46b497cb5d59e20161645
tree12d68963f6b74053f2d86fe50baef6233791a67f
parent07e6a97da1eba064bb35cfd5c121e90865393a60
net core: Add protodown support.

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-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Signed-off-by: Andy Gospodarek <gospo@cumulusnetworks.com>
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: Wilson Kok <wkok@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c
net/core/net-sysfs.c