Received: by 2002:ac0:8c8e:0:0:0:0:0 with SMTP id r14csp610737ima; Wed, 6 Feb 2019 05:37:46 -0800 (PST) X-Google-Smtp-Source: AHgI3IY1LMzsCHDw7EOTRqESMNyq5QYqOB8n3buf+oZu2Fjg6eGEUX9ZBzltnrdMfisv7BFOds0d X-Received: by 2002:a62:3241:: with SMTP id y62mr10567360pfy.178.1549460266611; Wed, 06 Feb 2019 05:37:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549460266; cv=none; d=google.com; s=arc-20160816; b=IxXGFr214qTfmTNSqGTdevwoyW3zVIhqy+kesoglZJPZbbu+aOodAo7WPrKmbrHdWm N9cY9uXtRovKka6eRhTPHnMQcnHIv7C4+Pfj/9sDZ8SfBju1kKZuLtO69ONUXAO0skvK zpkbbmVsRnFDjpDno6utlJL8eFi1vgyS4WpyiJZZbS3TV6TkDp0ZCYZGqkwmxnDrCazF dDwjF5ZuFFu5DywtyKr/fJPf8yDBZhTcOrj3KSUMnEddT0IV3+kKl9Ihw5AAAyNXLKd9 wX7wmw4x7JVIL7gX4p6wQGxNva2BGitLCY80AIDWk6ncTJx59QmKFx4RLe09eUnqlTDW QmpA== 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=NEvHq8EuxGMgrB3WuwQcfqJfJGn5IKHVBYmtcFHCs3M=; b=mdomL6WdKBatZ445VuuRQeF+OkvkDF3SaEWeJ2P8bBuGe9uoh6td7sFl5SrMDWnZNe iDV2t01N/T+sj4ZLNWiR34nyiaOBrc+109ouw4b11PLO2vCMYhMvI8NlpUDJ+OendJgP E0E9b87177SiJickA8VNC40SaOA5JSpcfXL3LPvBSu3VZXDS22BR6R5ngr7iNMPNJeRr FEyXWd1MP+c8guJe7ZYxSngW55/zW1+/fLlNTwKQXNhUZNNShNP6M+tqcxnAiLTa0+m2 EiDGXdWtDAoftxHLpOypHjGTZcEvi2Y+prfPtfi/mypHc/pwVnUu2PPyJpObE7C6dCPK WHTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=UeFfIuyG; 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 x8si5806077plo.259.2019.02.06.05.37.31; Wed, 06 Feb 2019 05:37:46 -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=UeFfIuyG; 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 S1730640AbfBFNgU (ORCPT + 99 others); Wed, 6 Feb 2019 08:36:20 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:32861 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729648AbfBFNgU (ORCPT ); Wed, 6 Feb 2019 08:36:20 -0500 Received: by mail-wm1-f65.google.com with SMTP id h22so1841784wmb.0 for ; Wed, 06 Feb 2019 05:36:19 -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=NEvHq8EuxGMgrB3WuwQcfqJfJGn5IKHVBYmtcFHCs3M=; b=UeFfIuyGIV4VSmAPrHi7oZiS6fS/u/EU90th/rk5b6XzT++8wD+QxV+5hygyJo/7wG PYF3+/YvDv1GhwwOOZMQbYxy9tV+k4f+SVnoxTedKS70TXee6ZjroH4U7w/fj71vFEWF /RzQJdU2HjO2Xfgmg2c2cc/qtvUdx77EMp46h3Hc+TbDHTEIcg45eXuSMJsNXjQoI2P+ kDkB15e9UollLyoOgI6vK8LInQqdFYasCPVYG0u1PcII9yqwNH0J7vM7zXoQlxYOcXQ3 8e358NCQSJNiOMUdpMMaCSIodBLG8NICy960nIrk1gM86aJIjsAT7TDRttpz5BaUIJW4 UMBQ== 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=NEvHq8EuxGMgrB3WuwQcfqJfJGn5IKHVBYmtcFHCs3M=; b=TNUtYg6TB7OpVVvpzo5lTmMoGe6y8gdlG6xwrKdREhdhZWySO232vYAsg3JQaxCwdi VncE0FFJzmRWrYD5/Huq93ijuY/GLo8vmqGPQ/4bJHVjcp1Sg00T/dMNV9gKQTUNy3tC kcfVnoNdp0a9BBWRnTgcIzj4lGlAiXNwyth8F21TsQF0Xx1Ojt2ZpSD46L++bO1gH4x0 +ReHUfp+9n7p8sOKgQg7YtWl4WpeGmHuKBYwoijnxoPMqkdNDmDy65CZvujaOvr+DphY M094kkFufV2P59GuHVvEDsqfQ5twcNXddfmrQvcf0VXUuC1dZc6G9veOdo80mmGOYNrq ad3Q== X-Gm-Message-State: AHQUAuYKKWWgjn8FXiNgLNrkmjiazsFZEcIKOomWTmSg7thOasmaX3FZ kr+bqX5UBvUdy8J8VbgQb7u5sQ== X-Received: by 2002:a7b:c7d7:: with SMTP id z23mr2464120wmk.70.1549460178876; Wed, 06 Feb 2019 05:36:18 -0800 (PST) Received: from localhost (mail.chocen-mesto.cz. [85.163.43.2]) by smtp.gmail.com with ESMTPSA id j124sm16951825wmb.48.2019.02.06.05.36.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Feb 2019 05:36:18 -0800 (PST) Date: Wed, 6 Feb 2019 14:27:07 +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 11/12] net: dsa: Implement ndo_get_port_parent_id() Message-ID: <20190206132707.GK2189@nanopsycho> References: <20190205235326.14600-1-f.fainelli@gmail.com> <20190205235326.14600-12-f.fainelli@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190205235326.14600-12-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:25AM CET, f.fainelli@gmail.com wrote: >DSA implements SWITCHDEV_ATTR_ID_PORT_PARENT_ID and we want to get rid >of switchdev_ops eventually, ease that migration by implementing a >ndo_get_port_parent_id() function which returns what >switchdev_port_attr_get() would do. > >Signed-off-by: Florian Fainelli Acked-by: Jiri Pirko