Re: [RFC v2 bpf-next 5/9] net/ipv6: Add fib6_lookup
From: David Ahern <hidden>
Date: 2018-05-01 18:25:28
From: David Ahern <hidden>
Date: 2018-05-01 18:25:28
On 5/1/18 12:15 PM, Vincent Bernat wrote:
❦ 29 avril 2018 11:07 -0700, David Ahern [off-list ref] :quoted
+struct fib6_info *fib6_lookup(struct net *net, int oif, struct flowi6 *fl6, + int flags)Maybe an EXPORT_SYMBOL_GPL? There is one for __fib_lookup (fib_lookup is an inline function).
There needs to be an in-tree user relying on it. My intention is to convert rt6_lookup to fib6_lookup; as I recall all of those just want the egress device and do not need a dst based response. That might provide the in-tree user - depending on how the conversion is done. And I presume you are asking for your benchmark modules. I can send you my diffs and results.