[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190405145444.GB20588@splinter>
Date: Fri, 5 Apr 2019 14:54:47 +0000
From: Ido Schimmel <idosch@...lanox.com>
To: David Ahern <dsahern@...nel.org>
CC: "davem@...emloft.net" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Jiri Pirko <jiri@...lanox.com>, David Ahern <dsahern@...il.com>
Subject: Re: [PATCH net-next 16/18] ipv4: Flag fib_info with a fib_nh using
IPv6 gateway
On Thu, Apr 04, 2019 at 10:50:05AM -0700, David Ahern wrote:
> From: David Ahern <dsahern@...il.com>
>
> Until support is added to the offload drivers, they need to be able to
> reject routes with an IPv6 gateway. To that end add a flag to fib_info
> that indicates if any fib_nh has a v6 gateway. The flag allows the drivers
> to efficiently know the use of a v6 gateway without walking all fib_nh
> tied to a fib_info each time a route is added.
>
> Update mlxsw and rocker to reject the routes with extack message as to why.
This looks good. I'll look into adding support in mlxsw.
Powered by blists - more mailing lists