[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
<SN7PR11MB7491F1A40BB259F4EF7603C4A431A@SN7PR11MB7491.namprd11.prod.outlook.com>
Date: Mon, 18 Aug 2025 19:47:51 +0000
From: "Mrinmoy Ghosh (mrghosh)" <mrghosh@...co.com>
To: Stephen Hemminger <stephen@...workplumber.org>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"bridge@...ts.linux-foundation.org" <bridge@...ts.linux-foundation.org>,
"mrinmoy_g@...mail.com" <mrinmoy_g@...mail.com>, "Patrice Brissette
(pbrisset)" <pbrisset@...co.com>
Subject: RE: [PATCH iproute2] bridge:fdb: Protocol field in bridge fdb
Hi Stephen,
Thanks for the review.
The kernel patch is in:
https://lore.kernel.org/netdev/20250818175258.275997-1-mrghosh@cisco.com/T/#u
I have created a new patch review request for iproute2-next. Updated, the etc/iproute2/rt_protos based on your review comments:
https://lore.kernel.org/netdev/20250818193756.277327-1-mrghosh@cisco.com/T/#u
Thanks,
Mrinmoy
-----Original Message-----
From: Stephen Hemminger <stephen@...workplumber.org>
Sent: Saturday, August 16, 2025 12:21 PM
To: Mrinmoy Ghosh (mrghosh) <mrghosh@...co.com>
Cc: netdev@...r.kernel.org; bridge@...ts.linux-foundation.org; mrinmoy_g@...mail.com; Mike Mallin (mmallin) <mmallin@...co.com>; Patrice Brissette (pbrisset) <pbrisset@...co.com>
Subject: Re: [PATCH iproute2] bridge:fdb: Protocol field in bridge fdb
On Sat, 16 Aug 2025 03:11:45 +0000
Mrinmoy Ghosh <mrghosh@...co.com> wrote:
> diff --git a/include/uapi/linux/rtnetlink.h
> b/include/uapi/linux/rtnetlink.h index 085bb139..1ff9dbee 100644
> --- a/include/uapi/linux/rtnetlink.h
> +++ b/include/uapi/linux/rtnetlink.h
> @@ -314,6 +314,7 @@ enum {
> #define RTPROT_OSPF 188 /* OSPF Routes */
> #define RTPROT_RIP 189 /* RIP Routes */
> #define RTPROT_EIGRP 192 /* EIGRP Routes */
> +#define RTPROT_HW 193 /* HW Generated Routes */
>
> /* rtm_scope
>
> diff --git a/lib/rt_names.c b/lib/rt_names.c index 7dc194b1..b9bc1b50
> 100644
> --- a/lib/rt_names.c
> +++ b/lib/rt_names.c
> @@ -148,6 +148,7 @@ static char *rtnl_rtprot_tab[256] = {
> [RTPROT_OSPF] = "ospf",
> [RTPROT_RIP] = "rip",
> [RTPROT_EIGRP] = "eigrp",
> + [RTPROT_HW] = "hw",
> };
>
> struct tabhash {
This is iproute2-next material.
Where is the kernel patch for this?
Iproute headers are synced from kernel headers.
If you add new RTPROT entry also need new line into etc/iproute2/rt_protos
Powered by blists - more mailing lists