Re: [RFC PATCH net-next 09/22] rtnetlink: Add RTNH_F_TRAP flag

2020-09-11 Thread Ido Schimmel
On Tue, Sep 08, 2020 at 09:02:33AM -0600, David Ahern wrote: > On 9/8/20 3:10 AM, Ido Schimmel wrote: > > From: Ido Schimmel > > > > 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

Re: [RFC PATCH net-next 09/22] rtnetlink: Add RTNH_F_TRAP flag

2020-09-11 Thread David Ahern
On 9/11/20 9:26 AM, Ido Schimmel wrote: > Reworded to: > > " > rtnetlink: Add RTNH_F_TRAP flag > > The flag indicates to user space that the nexthop is not programmed to > forward packets in hardware, but rather to trap them to the CPU. This is > needed, for example, when the MAC of the nexthop n

Re: [RFC PATCH net-next 09/22] rtnetlink: Add RTNH_F_TRAP flag

2020-09-08 Thread David Ahern
On 9/8/20 3:10 AM, Ido Schimmel wrote: > From: Ido Schimmel > > 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 fro