Subject: Re: [PATCH net-next 16/18] ipv4: Flag fib_info with a fib_nh using IPv6 gateway

From: Ido Schimmel <[email-masked]>
Date: Fri, 5 Apr 2019 14:54:47 +0000

On Thu, Apr 04, 2019 at 10:50:05AM -0700, David Ahern wrote:
> From: David Ahern <[email-masked]>
> 
> 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.