Received: by 2002:ac0:8c8e:0:0:0:0:0 with SMTP id r14csp607270ima; Wed, 6 Feb 2019 05:34:32 -0800 (PST) X-Google-Smtp-Source: AHgI3IYOFFvXHSYwCOXeQztYMrq5Wc9w4Iw+lI3OX+QCx8sM97LKFc5n9abSenwd1O/DFW5Uw4sw X-Received: by 2002:a63:b94c:: with SMTP id v12mr9520260pgo.221.1549460072564; Wed, 06 Feb 2019 05:34:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549460072; cv=none; d=google.com; s=arc-20160816; b=dHvHeKEHoSU2MkGt7va+YlGCnwGSz2Njob13rdzTSfbCiLuWmn80D4sgjI7rriTxMA bL4nRO3+LMOcwHqn5gCXH0ulHgqPDvK/tFPXpB4dQjMR7/dseqfD3p15lA57bT2EQKgS P7qjuTRQORI3xqxJ3MrgDhUBjFl5ouaEMFm143DUfBlUhQUE+KgZj4hq4F34qQieWNL9 qDDPILr4voZZi9FJ1et/wx0MkDvmnvLt8oqXsVKiHwUX80W4iOOlGpGcPaL/9lmN+biP r01KArDqTDg3XVFWhk3LjIWm1JpJ2jdNTp+SC0cOfOnuEI0gtNveuDXLnOL5shhRnCPH nWQw== 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=eaxPR3z7jjeKy2WDq+VlhPAOH1MBT5YGsXvlTm/Dows=; b=EX1blCVfRchICQVm863xoix5XMU+77DujwKn3/O4JXUWBF3N5ZKVRZCHe6Poud2yYm MTrlHi6bQqKMU64bn48UpkEpjSjC0ZcRugD2qXbgA+CGWwSAHHOTKZkA7xa+DiiGYFMi qT5J9/9E/gIcFqgAFMIGVXyohWldwhHh+3ne7XRWfs477c4U+ZiWcLi+6LFNVAsC4krq 3MIcYqgRbYiYzFZJL/pKff2R9WEfvTRcrQsjcDNqUwQBe+ZaVTUfQxeqgzVtrEtDAou/ B0RJs0LRs11QE8wyF+AkQXDXf6F35TOeIsd1Yw4YIJmqLuoOxhcRIKOtD2hEXfbug79b vBVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=xNYgmvk2; 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 m61si6471107plb.43.2019.02.06.05.34.16; Wed, 06 Feb 2019 05:34:32 -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=xNYgmvk2; 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 S1730733AbfBFNdd (ORCPT + 99 others); Wed, 6 Feb 2019 08:33:33 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:46821 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727350AbfBFNdc (ORCPT ); Wed, 6 Feb 2019 08:33:32 -0500 Received: by mail-wr1-f68.google.com with SMTP id l9so7512565wrt.13 for ; Wed, 06 Feb 2019 05:33: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=eaxPR3z7jjeKy2WDq+VlhPAOH1MBT5YGsXvlTm/Dows=; b=xNYgmvk23k9PV8Na3qHZyo8sgIkvb5TJHmbqS46lLy2pdbF3iQJlEYWrXbaCvhpblU ExHfodXYpnsVAQlr+mJ+h8vc1UBadTrHqycNhPc1e3kQqWoKeICr2CNOTvyP27zdB2Qq 1jbL3hkMt5TpMifNUsQzeSGC6tBUfbV1QWG3sr4jJYFEE++D8rEXsU7yLXfnIkp5ru48 Jh2sAc4mbyK+t9PfIS427V+02zwvyF67uFjvWVmLEZzPy686YJ7Yx+inBisPntom8BDX kISWe3xp5aRs0qx3NrXDPiAvaAQC7juzWvnwuxwlQHxvzSVZxzczINlqfu+XaKUEewot VtMg== 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=eaxPR3z7jjeKy2WDq+VlhPAOH1MBT5YGsXvlTm/Dows=; b=VeURLur6q0gAgVOX6yAqfROMnGXFm/wF/1ME2Cxyf0ciu4l6YcKzsgdhVCW2IX3lpE QPphvr7UiKX23EUFqVaXIZ8CCFa82ovzCOBnPoBWx/xu0fIGBDnZ7gbamNT7iIt+LMuu yMGp5Br6aOdInnEbmuXDUQVRqvEPqKZmfci+rUz3xp9EVMADWkNcExMgXPLu8T4/PxSO CJP9qgYZ9AR0DFX6Z8THCiP/nBIJldA69sAJC7YNqhJDQxmT8HwdePOgMoR+K99lzAUO dEtYYqF1rDYEXyYmmXs9824K6dxONXB/h4xA5uBhciIPftCEL+WrQR611i9HAopZ0ts2 mkqw== X-Gm-Message-State: AHQUAub1TNav+Lhg18dSEubTNPcyTIUM4yt2aP4iNaxK7JHcD+SVjTYT IyWdip9JCCkyk3M1Ofv6Fahkkg== X-Received: by 2002:a5d:6187:: with SMTP id j7mr8033295wru.300.1549460011325; Wed, 06 Feb 2019 05:33:31 -0800 (PST) Received: from localhost (mail.chocen-mesto.cz. [85.163.43.2]) by smtp.gmail.com with ESMTPSA id q6sm10042804wmq.4.2019.02.06.05.33.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Feb 2019 05:33:31 -0800 (PST) Date: Wed, 6 Feb 2019 14:24:20 +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 09/12] netdevsim: Implement ndo_get_port_parent_id() Message-ID: <20190206132420.GJ2189@nanopsycho> References: <20190205235326.14600-1-f.fainelli@gmail.com> <20190205235326.14600-10-f.fainelli@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190205235326.14600-10-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:23AM CET, f.fainelli@gmail.com wrote: >netdevsim only supports SWITCHDEV_ATTR_ID_PORT_PARENT_ID, which makes it a >great candidate to be converted to use the ndo_get_port_parent_id() NDO >instead of implementing switchdev_port_attr_get(). > >Signed-off-by: Florian Fainelli Acked-by: Jiri Pirko