[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c7159988-c052-0a5c-8b6b-670fd16be1ac@gmail.com>
Date: Tue, 8 Sep 2020 09:02:33 -0600
From: David Ahern <dsahern@...il.com>
To: Ido Schimmel <idosch@...sch.org>, netdev@...r.kernel.org
Cc: davem@...emloft.net, kuba@...nel.org, roopa@...dia.com,
mlxsw@...dia.com, Ido Schimmel <idosch@...dia.com>
Subject: Re: [RFC PATCH net-next 09/22] rtnetlink: Add RTNH_F_TRAP flag
On 9/8/20 3:10 AM, Ido Schimmel wrote:
> From: Ido Schimmel <idosch@...dia.com>
>
> The flag indicates to user space that the nexthop is not programmed to
> forward packets in hardware, but rather to trap them.
please elaborate in the commit message on what 'trap' is doing. I most
likely will forget a few years from now.
>
> The flag will be used in subsequent patches by netdevsim to test nexthop
> objects programming to device drivers and in the future by mlxsw as
> well.
>
> Signed-off-by: Ido Schimmel <idosch@...dia.com>
> ---
> include/uapi/linux/rtnetlink.h | 6 ++++--
> net/ipv4/fib_semantics.c | 2 ++
> 2 files changed, 6 insertions(+), 2 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...il.com>
Powered by blists - more mailing lists