From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F9EFC169C4 for ; Wed, 6 Feb 2019 13:36:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3FC2B20B1F for ; Wed, 6 Feb 2019 13:36:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20150623.gappssmtp.com header.i=@resnulli-us.20150623.gappssmtp.com header.b="UeFfIuyG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730801AbfBFNgZ (ORCPT ); Wed, 6 Feb 2019 08:36:25 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:38038 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729713AbfBFNgU (ORCPT ); Wed, 6 Feb 2019 08:36:20 -0500 Received: by mail-wm1-f67.google.com with SMTP id m22so2751637wml.3 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=lFovjUJF6HF6PfsWuhpEw5EqFnV6BAG5A01T9UdgXagYo1gxxfb/q/LGTSwvqfgUF0 cCRe+IQZLbRrA1OVjsuiun5VYqm2tFatGXTTQBw9sYrqIbiiQl7MI6E2hoBtPCBEYLK7 OyU3URmnbnSCET1HazorV/++R1K65td0Q3juue+7jWf/6DQlWLw5Ebmk/K2ZCN5Axdup u0AP2CfL1lg+1EoYbTn7GajEpIJSCXcq7gvFPPlAU795WoserobBIbF5jibW6FLEc5ii YtMuIg7SlzkMlNx9oHxsDFRoYXbIeNZHSL1m22b0LnhrwVOs1St54NAc+hZR1hQXo1ab 1CwA== X-Gm-Message-State: AHQUAuZJObn++Amw43TbDuHo5CjF7aeB/8Zogro0K7vUafE9fWuya5R8 zPhazxYIQixuYPpkmlcZh7TKqA== X-Google-Smtp-Source: AHgI3IYMMTQ7Rf8i9un310LpLVy2ocAHeQE7mWF4EKOxmdpkC2NbsTZyFpEY5fm20KhkfGmHv8IaJA== 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: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@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