From: Andy Roulin <aroulin@cumulusnetworks.com>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, roopa@cumulusnetworks.com,
aroulin@cumulusnetworks.com
Subject: [PATCH net-next 0/3] net: protodown support for macvlan and vxlan
Date: Fri, 22 Feb 2019 18:06:35 +0000 [thread overview]
Message-ID: <20190222180638.10904-1-aroulin@cumulusnetworks.com> (raw)
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
next reply other threads:[~2019-02-22 18:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-22 18:06 Andy Roulin [this message]
2019-02-22 18:06 ` [PATCH net-next 1/3] net: dev: add generic protodown handler Andy Roulin
2019-02-22 18:06 ` [PATCH net-next 2/3] macvlan: add ndo_change_proto_down support Andy Roulin
2019-02-22 18:06 ` [PATCH net-next 3/3] vxlan: " Andy Roulin
2019-02-24 21:01 ` [PATCH net-next 0/3] net: protodown support for macvlan and vxlan David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190222180638.10904-1-aroulin@cumulusnetworks.com \
--to=aroulin@cumulusnetworks.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=roopa@cumulusnetworks.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox