RE: [PATCH iproute2] bridge:fdb: Protocol field in bridge fdb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Stephen,

Thanks for the review.
The kernel patch is in:
https://lore.kernel.org/netdev/20250818175258.275997-1-mrghosh@xxxxxxxxx/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@xxxxxxxxx/T/#u

Thanks,
Mrinmoy

-----Original Message-----
From: Stephen Hemminger <stephen@xxxxxxxxxxxxxxxxxx> 
Sent: Saturday, August 16, 2025 12:21 PM
To: Mrinmoy Ghosh (mrghosh) <mrghosh@xxxxxxxxx>
Cc: netdev@xxxxxxxxxxxxxxx; bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx; mrinmoy_g@xxxxxxxxxxx; Mike Mallin (mmallin) <mmallin@xxxxxxxxx>; Patrice Brissette (pbrisset) <pbrisset@xxxxxxxxx>
Subject: Re: [PATCH iproute2] bridge:fdb: Protocol field in bridge fdb

On Sat, 16 Aug 2025 03:11:45 +0000
Mrinmoy Ghosh <mrghosh@xxxxxxxxx> 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







[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux