[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a39867b0-c40f-e588-6cf9-1524581bb145@gmail.com>
Date: Tue, 18 Feb 2020 21:29:31 -0700
From: David Ahern <dsahern@...il.com>
To: Carmine Scarpitta <carmine.scarpitta@...roma2.it>
Cc: davem@...emloft.net, kuznet@....inr.ac.ru, yoshfuji@...ux-ipv6.org,
kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, ahmed.abdelsalam@...i.it,
dav.lebrun@...il.com, andrea.mayer@...roma2.it,
paolo.lungaroni@...t.it, hiroki.shirokura@...ecorp.com
Subject: Re: [net-next 1/2] Perform IPv4 FIB lookup in a predefined FIB table
On 2/18/20 7:49 PM, Carmine Scarpitta wrote:
> Hi David,
> Thanks for the reply.
>
> The problem is not related to the table lookup. Calling fib_table_lookup and then rt_dst_alloc from seg6_local.c is good.
>
you did not answer my question. Why do all of the existing policy
options (mark, L3 domains, uid) to direct the lookup to the table of
interest not work for this use case?
What you want is not unique. There are many ways to make it happen.
Bleeding policy details to route.c and adding a flag that is always
present and checked even when not needed (e.g.,
CONFIG_IP_MULTIPLE_TABLES is disabled) is not the right way to do it.
Powered by blists - more mailing lists