Received: by 2002:ac0:8c8e:0:0:0:0:0 with SMTP id r14csp599725ima; Wed, 6 Feb 2019 05:27:23 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibhk6gMXPS/pCaoQ3qo+QA8Cvnm6VyKSF1+2nyDT79GssjogNdiOCXQCkwAx8S8MsWxq0pR X-Received: by 2002:a63:b105:: with SMTP id r5mr9653601pgf.442.1549459643256; Wed, 06 Feb 2019 05:27:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549459643; cv=none; d=google.com; s=arc-20160816; b=Y6cHeySuacBqXi5PWnrMnXOMt7giCveaggyjNGvtkse+trpdpYemHlUm6aMUqyPtO3 c39gg8IzmQmVlfyVSZP3lNlnBStUptRzSd5fw0qXXhn7Y5ErRJUaK9/LiqFwc5MKMjx/ NwHejMvQAPI9nzAqzUExx5M1b+e95yvRtJzjMe4aON2rMOgELvixzCK5jRCtbIHSjeI/ aX6SUQTSkE4xpOVSIdfz9FXnpzNBj7DfToDmZUxKVYVtXOJ+vziRLYcDNCfxIOMYKNXx PUnZd1WDBaixygLUwCntmx1dYBhjNB1o8GhWkq4kJxfVBeqlsymGEfYdFwXvEWty6PY0 EaCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=SJqg9ZjXs16IAHgixuKgAZSKOEAxnW9ONoaD3los+Lw=; b=dhfojF4ZApwZOayQA95auksFcqOWUTaYjiD2VmAGe751/9rH0Lr6/XZkoIPgFZEc2y zsLZb7IfKtNWYFvBUIa8I6ky4URCWj2Ev1W1kgu2tjuy3TPIUopDiwGcB1TgB6GAwaCQ okxZAUHa3vub+Wcd4/Ds4jf03cIX18d9ujhyym4/gMnBrOqWsYAV62XtFGDYeddeDYOX jHWwNbzsyb6rxdnCTBM5ME7t6xO6niaNDs9pjJgIjMW1OauMf6UhEUjBiWgiIL1O0zUo EGe2bgfkfmTvGsl7O/ZfwmPN0VwfxcADmWf/R9SswYpFIm/1AEF9eL90GXDWucax2EkG 4EvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b="zBRJQn/R"; 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 ba2si5696783plb.416.2019.02.06.05.27.07; Wed, 06 Feb 2019 05:27:23 -0800 (PST) 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; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b="zBRJQn/R"; 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 S1726716AbfBFNZc (ORCPT + 99 others); Wed, 6 Feb 2019 08:25:32 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:44200 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730904AbfBFNZc (ORCPT ); Wed, 6 Feb 2019 08:25:32 -0500 Received: by mail-wr1-f65.google.com with SMTP id v16so5675805wrn.11 for ; Wed, 06 Feb 2019 05:25:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=SJqg9ZjXs16IAHgixuKgAZSKOEAxnW9ONoaD3los+Lw=; b=zBRJQn/RwXUIQje8xSLMFxDZvuDX6hQVYcwtiSXtcYiYn4kvBe6Ms89xmqpQZoEcKd 1DItpKWxflXeOiacgKDvz0rVRUQEJpP7WPaUV274YmaHbru4Wqda+OoRjmV8Hrm6cTNv AZ5ZeB4tpNljc4NgNymr4DllXccyG7FvKd4uoSvSYKnReps/vcPFAM/A2YLlairqCjyZ eKvj4KQKudOwJTCDnMiq8yV9QKIi79n0e61xJcqxbY02Wf9m+I1cxjr2q/B6sUfRa1X7 6hqeEMP8iGMAgdsNXGzxFjFwXFQg/t7g9vy6lHXvWRgvzKkYNRn9Fy7AMYooK5F/NJU1 hfLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=SJqg9ZjXs16IAHgixuKgAZSKOEAxnW9ONoaD3los+Lw=; b=DFK294ed9K9zFo0v+DZ2ZrliF+TtAItMW5NXS4MoCZql+6lNLPQLmAk4eBYX133wJ/ eMUeit8UODd1CKxl2FdXmj5FnGeiEI2iAOXgrnmtg6QjrAuFo/P41TJIJaS2THr/c7lH qfyOblLgI9YavJTuvx5YRIeCWXIxDDxjMt0C6nOnKytrNCc6R7SodZCC2mhWeMTR3+zL gq81WFSPAgcbEKxZ5oblJvQuFoKb0luA4MbAxaOUl0Tkw4nBxO895AR9WNT3h/8WQvdL pl85g7scnOOWfAyBivet0SJnwHlYytf4wesJFTkaZolS18qo8dAFSNOIqB95ITI4MVTO Y30g== X-Gm-Message-State: AHQUAuYONuYfZWgBK+329wBXhxcSW8Qp4xJshIiFc6Nif4OLzQst9yaA q0BLZMI+l+RftiNK9TQtGXOmBw== X-Received: by 2002:adf:bc87:: with SMTP id g7mr7841286wrh.250.1549459530387; Wed, 06 Feb 2019 05:25:30 -0800 (PST) Received: from localhost (mail.chocen-mesto.cz. [85.163.43.2]) by smtp.gmail.com with ESMTPSA id w18sm9787908wmi.12.2019.02.06.05.25.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Feb 2019 05:25:30 -0800 (PST) Date: Wed, 6 Feb 2019 14:16:19 +0100 From: Jiri Pirko To: Florian Fainelli Cc: netdev@vger.kernel.org, "David S. Miller" , Ido Schimmel , open list , "open list:MELLANOX MLX5 core VPI driver" , "open list:NETRONOME ETHERNET DRIVERS" , "open list:STAGING SUBSYSTEM" , "moderated list:ETHERNET BRIDGE" Subject: Re: [PATCH net-next v3 06/12] mscc: ocelot: Implement ndo_get_port_parent_id() Message-ID: <20190206131619.GG2189@nanopsycho> References: <20190205235326.14600-1-f.fainelli@gmail.com> <20190205235326.14600-7-f.fainelli@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190205235326.14600-7-f.fainelli@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Wed, Feb 06, 2019 at 12:53:20AM CET, f.fainelli@gmail.com wrote: >Ocelot only supports SWITCHDEV_ATTR_ID_PORT_PARENT_ID as a valid >switchdev attribute getter, convert it to use ndo_get_port_parent_id() >and get rid of the switchdev_ops::switchdev_port_attr_get altogether. > >Signed-off-by: Florian Fainelli Acked-by: Jiri Pirko