Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp651160ybg; Fri, 12 Jun 2020 10:54:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyiUnF7RS3Xb8Bu2N8egX5fm/N/TICm4h9R6ELRc2deIAOdeJKcew8Vx3stn5Zo7oWNsUi X-Received: by 2002:a17:906:3e0c:: with SMTP id k12mr13895499eji.441.1591984454865; Fri, 12 Jun 2020 10:54:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591984454; cv=none; d=google.com; s=arc-20160816; b=KJcvlyxxxEwrVWGIMUo7xn8VCV7S2ijQgOU9UMklvYBOFP0CRMx3s/3ON2qB2/CQt3 ue5miJAqMTvB06hoLFBXL2qEPlmHodDs5NVu8FNvqDb6VNhjoFeV7tr3RaVQiq6LwKPw YeIz/Ic2lWamzj3wS6FXJ/x8hKsNLNtuaw6RMwhtsrMj2awfPSPSTNL76VP0KZsieWG9 ZK04BONyet1zYQVH2F07Xs13rIuKOR+8+/1wRCr3ETPAPT8PX9kvAAngtk69XgasYDDs VE/H0gzX0c+PjidQRclhbQ7p8lTRYxgKymYlUS/CZ+00IqzSz70PZj225OgHT+7NNSpd EHcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=W+lN5WPdG7pVBZwI34CaOB/v99Jy+OWZoCMVOrCuWJE=; b=FW43am9AeDEm5v3y5dLTMPjvT90NIZswO+dVLlzE/jZU2T/2uEjAmi77t9R1rddYKQ +hUBOkdDDR1X2b6/keXgahyvjPAtAgzOhv+L+kHPw+fZ3F1h9PwHlPaWdp65kLoCchq9 9D5zRzC6rycNn5j9+mBploNCDvk8OJrVG1Wodgr17dYHeOqLBDYejFSmNUrc+EWTwxDE ZWNydTRBY4XlP8w67u2nzwn0wLH80ZvD+svWpV1hecVloXK6ohF1BNrTU5ids1oY8NIq cb1TEH684/4KzSFdtzEVHfNfOW2ZXBUcMpCJEHQIz7Yk56xZ8Qy6QPc32MqSFDTaX53T AhwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2GWLVH09; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y93si3931077edy.109.2020.06.12.10.53.52; Fri, 12 Jun 2020 10:54:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2GWLVH09; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726335AbgFLRvv (ORCPT + 99 others); Fri, 12 Jun 2020 13:51:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:39246 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726085AbgFLRvu (ORCPT ); Fri, 12 Jun 2020 13:51:50 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B1402207ED; Fri, 12 Jun 2020 17:51:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591984310; bh=jE1Kxz2Q5wrlavTl5ZVstoZ1/4ZvO5O8KR250OyGjB8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=2GWLVH09vN3J8G3JrxTqgRA1rtLQN8CflYHzrglIClD7/pAlMY2Hpfd9Sgga6+yCZ uyWsEtFQcmyxbR0tTa8Y+VMjD2HohYsbM0y5W2ChDP+Hx/hopa2UtzSyMjpLAvZH53 ygcX6VXAZ0AOab9buV0Xkud/7HIxZCsINc84SIok= Date: Fri, 12 Jun 2020 10:51:48 -0700 From: Jakub Kicinski To: Andrea Mayer Cc: David Ahern , "David S. Miller" , Shrijeet Mukherjee , Shuah Khan , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Donald Sharp , Roopa Prabhu , Dinesh Dutt , Stefano Salsano , Paolo Lungaroni , Ahmed Abdelsalam Subject: Re: [RFC,net-next, 1/5] l3mdev: add infrastructure for table to VRF mapping Message-ID: <20200612105148.1b977dc3@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20200612164937.5468-2-andrea.mayer@uniroma2.it> References: <20200612164937.5468-1-andrea.mayer@uniroma2.it> <20200612164937.5468-2-andrea.mayer@uniroma2.it> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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 :)