Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp7017488imm; Tue, 28 Aug 2018 05:12:13 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZvoCWygrs+UBK4mSf8GI0/GxbBYBbk4+JjAFfVVuiRMVyLcMGa99eVEhO8t/jogTAiwXHB X-Received: by 2002:a17:902:6909:: with SMTP id j9-v6mr1305712plk.196.1535458333062; Tue, 28 Aug 2018 05:12:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535458333; cv=none; d=google.com; s=arc-20160816; b=adkT69qMerEMpupJQE3gqKFqAa4Mn0lXCVVS6wq1bAg/aiH3Jy4j7SBx5ZQbBpa3Mx ljhLDRTBiXAM6E/dwxgZTMpnxqP/Ei5kYBjKaHLxaC0H/c9KwJCWzQ2fsEP8xOYkQ1gO yttq5uC5fOiC4+SY7lFyxsA1gNGeVNQfOjjbNsrJ190pZu4322EqLRO48CDVRJ3dGFFq vZrhIe0BapDf/ER59JOWltwXHRMA+XCVKdI7/rYZpbj162lQDFkNnAfdWOOIKs+cZlem w7U8kzfRQ4e3QcL+N2Z+XllRxBKt2YPf9+DNzn3WprBitF3J+xLj4/u0ciVsRfw0XmTi KEwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:arc-authentication-results; bh=8Tydf5hVzjmpMBhCQwEbjlOfsyqUnSDxisSTFZzzPOk=; b=v03cL5nUS0kpdQ1G5zYmF/EzAkAKwiCK2k47O8e418cvRZHzoIBYrQyj1/hL1037jF mZPw7ZExszj1nJg0VfT9lIfKJ5AoqDZ5abGiLqqAchLTCfY0DFPA3tJ5JbcfbHSryml+ BDwtLV2YqhPRbaPOBDEyFmuwpPOzlG7aMUzQsaoLmVvewJ/auOqMtm2b2E9wMsaWfG8p kmaEeq4GFS4fd+w1uUz2zOW44eIsbp/4YbjAbuxTGEIOwWB3/3G/40Wx6poxzwnxa2VS uhdXedCVNwKWz49ME7RYqk2z+AmzqygwIN02k81ucFYWZzdw202RCQRel36qGlOmWVF/ 0sPQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y24-v6si943862pge.28.2018.08.28.05.11.57; Tue, 28 Aug 2018 05:12:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727368AbeH1QBr (ORCPT + 99 others); Tue, 28 Aug 2018 12:01:47 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:39210 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727067AbeH1QBr (ORCPT ); Tue, 28 Aug 2018 12:01:47 -0400 Received: by mail-qt0-f196.google.com with SMTP id o15-v6so1319877qtk.6; Tue, 28 Aug 2018 05:10:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8Tydf5hVzjmpMBhCQwEbjlOfsyqUnSDxisSTFZzzPOk=; b=dK20jSAU/9nebqxvWIBVgIlLAcziHUMn6apVkUwkjmcNdX0zI6t+7TihX2sWyZaql+ weImFRD7zJYKNSuXJbVnI0lP2MjjSl3BzArNFAT0KmNC+btqWbyI09I0hQJ0TR5NKPiA 9Z8/CUlp6O6GGd5b7zR8dyoYqmHC7Zbjt3rhh9UhmhTJ6S65j67Mkp5ftyeFi7bwjo7D 1UlmAcrr7XPjs5Z7CGZG9QsJXhayWd9z7//RdduswhfRzpCqX3ZD57Al1CUfAwNIjYV3 W/hPULzPIbAO7GeYj9SQJlQXrNIBNZ23yxNo30QECLT8nS2m5kEZ/lw6h6rHxSjzpjgx yx8Q== X-Gm-Message-State: APzg51ApD35Gn3mnbFGG7mVeMpM18q3aXGVV7oKShntqgT9BzXvgvuOh EOis1Qe8T4Rh5lTk9FV4hxn1DPedjKYaSBFxonI= X-Received: by 2002:aed:2b47:: with SMTP id p65-v6mr1247632qtd.132.1535458224882; Tue, 28 Aug 2018 05:10:24 -0700 (PDT) MIME-Version: 1.0 References: <1535453838-12154-1-git-send-email-sunil.kovvuri@gmail.com> <1535453838-12154-12-git-send-email-sunil.kovvuri@gmail.com> In-Reply-To: <1535453838-12154-12-git-send-email-sunil.kovvuri@gmail.com> From: Arnd Bergmann Date: Tue, 28 Aug 2018 14:10:08 +0200 Message-ID: Subject: Re: [PATCH 11/15] soc: octeontx2: Add Marvell OcteonTX2 CGX driver To: Sunil Kovvuri Cc: Linux Kernel Mailing List , Olof Johansson , Linux ARM , linux-soc@vger.kernel.org, sgoutham@marvell.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 28, 2018 at 12:58 PM wrote: > > From: Sunil Goutham > > This patch adds basic template for Marvell OcteonTX2's > CGX ethernet interface driver. Just the probe. > RVU AF driver will use APIs exported by this driver > for various things like PF to physical interface mapping, > loopback mode, interface stats etc. > > Signed-off-by: Sunil Goutham > --- > drivers/soc/marvell/Kconfig | 10 +++ > drivers/soc/marvell/octeontx2/Makefile | 2 + > drivers/soc/marvell/octeontx2/cgx.c | 117 +++++++++++++++++++++++++++++++++ > drivers/soc/marvell/octeontx2/cgx.h | 20 ++++++ If this is a regular PCI ethernet driver, why do you put it into driver/soc rather than drivers/net/ethernet/ ? Arnd