Received: by 2002:ac0:8c8e:0:0:0:0:0 with SMTP id r14csp606565ima; Wed, 6 Feb 2019 05:33:54 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibwc7do2lFgyQCo8SSbyGcQiMmAniAQDydNupgytxQd0VNTgxjzo7aXN+88mK2ANZ42IQ3w X-Received: by 2002:a63:e447:: with SMTP id i7mr9561414pgk.273.1549460033966; Wed, 06 Feb 2019 05:33:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549460033; cv=none; d=google.com; s=arc-20160816; b=QCTywq7SF8UFarw2wx8kPlRQ7vTApvEDoNPNwklR4XzR2DULrvpZvEcH0m01p5Ndbw mj54KtXlrDm6/EpGIDuNKbr5LTWQSgYiieDKpXhw9MwD0MfRasSr3BB2/sv/c9+WpE9/ 1NTJCwY/hKmcA/LMsRjaazXBVFrePhvDeJg+2WKlK7PfE37l4w/ywRP68z0JwC7sv6BH biCuoqiiLnhWDXlsCSWurysiJ/X63zFGacs0pzm+BA4SsM3q8Ry6G9fdWBAYmk+F49Kq YCliRI1b5vmp9mlTY2hTBmOMvlReGAhboiniCdaDpgTWjWSPr/WJzz3xy1DeqNiSFwna 6FUQ== 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=WpNOfvln6hVEciXFR6aW67s0uN9FvFbtqhvXHJG+KTw=; b=H8rywfxBjp0N2mPjB6OOJsV3RGiv+kHJoXU4/WMd2vPHYahmL1BYEru7auOtbZ4hmQ ylQfhz0c71qPce6gMfE+MDWji/hWC9iEc74gvDUxoPSD4aSVUVGBXDmVuasUeZp6YtEr 7PetYCpt6WUFH8mAN0f6WQcambjYnVdixCeZ+846Kl7iotpeepI74Ex7vUVOQd5GDheI T4riunDSbkkYW9vfQANz/vbzPaTycyrV6QWllEqK9eewMDTb/sDXxuC0oPCERlXo+ZSc kc+9EP62MFEzNbPRGDT5ADZ+CK9TzvxOmlR9j5pFM2KXANhieV5kiijsBx+hvoe+xtYQ u4sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b="jp3NrT9/"; 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.33.38; Wed, 06 Feb 2019 05:33:53 -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="jp3NrT9/"; 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 S1730624AbfBFNdH (ORCPT + 99 others); Wed, 6 Feb 2019 08:33:07 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:33425 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728549AbfBFNdG (ORCPT ); Wed, 6 Feb 2019 08:33:06 -0500 Received: by mail-wr1-f67.google.com with SMTP id a16so7615429wrv.0 for ; Wed, 06 Feb 2019 05:33:05 -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=WpNOfvln6hVEciXFR6aW67s0uN9FvFbtqhvXHJG+KTw=; b=jp3NrT9/gI/JrO2zDvp0oB5NsKvc8hL1uGeSaFKCtZrtQAa2Q1o8yPT38h5Nh3Hnn5 lU2AFD0K3fp9eMGxAcPPQzeBDP+0HJFQ2H90XvemBKeVwHq7nA0zY6Kp2PqTef6vfRbu SbC2ZzDCKbR4muztlRJYZBuZ5MYiytRUrNOu8enM2hzUq0g5sRacsT6/q5Tj5DBP6dWg E6PkQvBYIvQ0tZZADj6TLhx3hwjdEv8iCXpPPQ4JImEf8B9YcJHH5YWeI97xgika6HI4 cNGWKk7cVmJAHjdyXbN6qgi+cE3OhFFBEk6e/ydTzYQCcZJ6Lr7CPdC2qNWve3KHrvHU N5yA== 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=WpNOfvln6hVEciXFR6aW67s0uN9FvFbtqhvXHJG+KTw=; b=QU7aGBQXYPoBZa9K9JgojAAkrI4n1DfnP7aWtlj3loMlAeYpE5dJFiXJUUF9vHRjJ+ /Eypx/VhCEw4fW4C4mXG4EUp+K6LDaGN3ycfGV4O+dNPw1nRiuhCsfX92F6sllojNU7C SMOT4ArOZBmrP/72VFYceM96LZPdlirOJXHSUGhb4SnVGz6i0TqLGNV89NdLtuajunO8 kWFzvrTBh5b+2dGMRfRmtJv5MrDaLsr/cuOa7f/ksVFbSTzyppDHVqB/pIXpe97ZfEJe qRad5YxtdE5Qy6gLbMYdGh6J8lKDZdfMXhU+ffmfpdSH3LmNIpUFQt2PV7ptTe2olGF2 rxuw== X-Gm-Message-State: AHQUAuYwR+ka8LeyHxqjVq3L7qBwGaFmclMMwF/a9IPptZYLAzT144d4 wZgUkit9XWhu3T7dMMxP665isw== X-Received: by 2002:adf:9c01:: with SMTP id f1mr8356411wrc.286.1549459985067; Wed, 06 Feb 2019 05:33:05 -0800 (PST) Received: from localhost (mail.chocen-mesto.cz. [85.163.43.2]) by smtp.gmail.com with ESMTPSA id t199sm29205337wmt.1.2019.02.06.05.33.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Feb 2019 05:33:04 -0800 (PST) Date: Wed, 6 Feb 2019 14:23:53 +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 08/12] rocker: Implement ndo_get_port_parent_id() Message-ID: <20190206132353.GI2189@nanopsycho> References: <20190205235326.14600-1-f.fainelli@gmail.com> <20190205235326.14600-9-f.fainelli@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190205235326.14600-9-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:22AM CET, f.fainelli@gmail.com wrote: >mlxsw 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