Thread (37 messages) flat view 37 messages, 2 authors, 2021-03-11

Re: [PATCH net-next 04/14] nexthop: Add netlink defines and enumerators for resilient NH groups

From: David Ahern <hidden>
Date: 2021-03-11 15:34:58

On 3/10/21 8:02 AM, Petr Machata wrote:
quoted hunk ↗ jump to hunk
diff --git a/include/uapi/linux/nexthop.h b/include/uapi/linux/nexthop.h
index 2d4a1e784cf0..8efebf3cb9c7 100644
--- a/include/uapi/linux/nexthop.h
+++ b/include/uapi/linux/nexthop.h
@@ -22,6 +22,7 @@ struct nexthop_grp {
 
 enum {
 	NEXTHOP_GRP_TYPE_MPATH,  /* default type if not specified */
Update the above comment that it is for legacy, hash based multipath.
+	NEXTHOP_GRP_TYPE_RES,    /* resilient nexthop group */
 	__NEXTHOP_GRP_TYPE_MAX,
 };
 
besides the request for an updated comment, this looks fine:
Reviewed-by: David Ahern <dsahern@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help