Netdev List
 help / color / mirror / Atom feed
From: Tom Herbert <tom@quantonium.net>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, roopa@cumulusnetworks.com,
	rohit@quantonium.net, Tom Herbert <tom@quantonium.net>
Subject: [PATCH v5 net-next 2/7] rtnetlink: Add notify route message types
Date: Thu, 21 Dec 2017 11:33:27 -0800	[thread overview]
Message-ID: <20171221193332.15303-3-tom@quantonium.net> (raw)
In-Reply-To: <20171221193332.15303-1-tom@quantonium.net>

Add notify route message and notify rtnl group. This is used to send
a notification about a route. For example, this will be used with ILA
to notify a daemon to send an ILA redirect.

Signed-off-by: Tom Herbert <tom@quantonium.net>
---
 include/uapi/linux/rtnetlink.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h
index 843e29aa3cac..ee955c7ca48a 100644
--- a/include/uapi/linux/rtnetlink.h
+++ b/include/uapi/linux/rtnetlink.h
@@ -150,6 +150,9 @@ enum {
 	RTM_NEWCACHEREPORT = 96,
 #define RTM_NEWCACHEREPORT RTM_NEWCACHEREPORT
 
+	RTM_NOTIFYROUTE = 98,
+#define RTM_NOTIFYROUTE RTM_NOTIFYROUTE
+
 	__RTM_MAX,
 #define RTM_MAX		(((__RTM_MAX + 3) & ~3) - 1)
 };
@@ -677,6 +680,8 @@ enum rtnetlink_groups {
 #define RTNLGRP_IPV4_MROUTE_R	RTNLGRP_IPV4_MROUTE_R
 	RTNLGRP_IPV6_MROUTE_R,
 #define RTNLGRP_IPV6_MROUTE_R	RTNLGRP_IPV6_MROUTE_R
+	RTNLGRP_ROUTE_NOTIFY,
+#define RTNLGRP_ROUTE_NOTIFY	RTNLGRP_ROUTE_NOTIFY
 	__RTNLGRP_MAX
 };
 #define RTNLGRP_MAX	(__RTNLGRP_MAX - 1)
-- 
2.11.0

  parent reply	other threads:[~2017-12-21 19:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-21 19:33 [PATCH v5 net-next 0/7] net: ILA notification mechanism and fixes Tom Herbert
2017-12-21 19:33 ` [PATCH v5 net-next 1/7] lwt: Add net to build_state argument Tom Herbert
2017-12-21 19:33 ` Tom Herbert [this message]
2017-12-21 19:33 ` [PATCH v5 net-next 3/7] ila: Fix use of rhashtable walk in ila_xlat.c Tom Herbert
2017-12-21 19:33 ` [PATCH v5 net-next 4/7] ila: Call library function alloc_bucket_locks Tom Herbert
2017-12-21 19:33 ` [PATCH v5 net-next 5/7] ila: Create main ila source file Tom Herbert
2017-12-21 19:33 ` [PATCH v5 net-next 6/7] ila: Flush netlink command to clear xlat table Tom Herbert
2017-12-21 19:33 ` [PATCH v5 net-next 7/7] ila: Route notify Tom Herbert
2017-12-26 22:29 ` [PATCH v5 net-next 0/7] net: ILA notification mechanism and fixes David Miller
2017-12-26 23:50   ` Tom Herbert

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=20171221193332.15303-3-tom@quantonium.net \
    --to=tom@quantonium.net \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=rohit@quantonium.net \
    --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