[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190222180638.10904-1-aroulin@cumulusnetworks.com>
Date: Fri, 22 Feb 2019 18:06:35 +0000
From: Andy Roulin <aroulin@...ulusnetworks.com>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, roopa@...ulusnetworks.com,
aroulin@...ulusnetworks.com
Subject: [PATCH net-next 0/3] net: protodown support for macvlan and vxlan
This patch series adds dev_change_proto_down_generic, a generic
implementation of ndo_change_proto_down, which sets the netdev carrier
state according to the new proto_down value.
This handler adds the ability to set protodown on macvlan and vxlan
interfaces in a generic way for use by control protocols like VRRPD.
Patch (1) introduces the handler in net/code/dev.c. Patch (2) and (3) add
support for change_proto_down in macvlan and vxlan drivers, respectively,
using the new function.
Andy Roulin (3):
net: dev: add generic protodown handler
macvlan: add ndo_change_proto_down support
vxlan: add ndo_change_proto_down support
drivers/net/macvlan.c | 1 +
drivers/net/vxlan.c | 1 +
include/linux/netdevice.h | 1 +
net/core/dev.c | 19 +++++++++++++++++++
4 files changed, 22 insertions(+)
--
2.11.0
Powered by blists - more mailing lists