Re: [RFC,net-next, 1/5] l3mdev: add infrastructure for table to VRF mapping

From: Jakub Kicinski
Date: Fri Jun 12 2020 - 13:51:52 EST


On Fri, 12 Jun 2020 18:49:33 +0200 Andrea Mayer wrote:
> Add infrastructure to l3mdev (the core code for Layer 3 master devices) in
> order to find out the corresponding VRF device for a given table id.
> Therefore, the l3mdev implementations:
> - can register a callback that returns the device index of the l3mdev
> associated with a given table id;
> - can offer the lookup function (table to VRF device).
>
> Signed-off-by: Andrea Mayer <andrea.mayer@xxxxxxxxxxx>

net/l3mdev/l3mdev.c:12:1: warning: symbol 'l3mdev_lock' was not declared. Should it be static?

Please make sure it doesn't add errors with W=1 C=1 :)