Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3696106ybg; Sun, 20 Oct 2019 19:46:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqwElUu2mN1jI/2grT+BBbeBqlEK8xy4Dzvr5NS1fk/phu/bfi83OgiNmmhRg5ODxXJ5gd6Q X-Received: by 2002:a17:906:7202:: with SMTP id m2mr19587632ejk.138.1571626007454; Sun, 20 Oct 2019 19:46:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571626007; cv=none; d=google.com; s=arc-20160816; b=ZotlOvhj7Cy4Yq1RvPZrlo1zDI/KMKyzOrkjYfSs3Smy5Ca2dVlWVetwofCG6lzW6+ pZ9nCEqOq/WvFAODZL1IiKh3bxzBHrVzZghFBKElm3ZFRiwfVlkCnPK0J+xqJBBsBBnP lO0Y09nMxkDbgBrucFcWIcwwLBVvdzMNWyfQO08HNhQ55NrpZ4PzoEpZbmc3O4kjkNQp oRGpgI8FJ/u5GFIWIPubiQqSdhmHf7oqyKZUu65GESqFvvbLsanTqMn8vKZC8F6odWGi sVTlHlCv92tnzdv4GtqkrdWAkPK3HMfjDdw8X+L78SJGW3PrHs9U2oMApCYpkgpWsWKF jJgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=whcljhgwF/VLMrwCM5sav3bSUHoyALVsT42DyK47xIs=; b=EOxaxtaj04EuxlKu1vH4uTnw5XBmtca7B7jhbiKVuqb63PHLpom4xz6TwlO/h4JJWT ul8gjo6RlFKT6LavWj+0T1OqxvAzLuMtQnn92ZotsbR/1cpqhohRGEl84IJG2apqkahF tEpqC3qUhdGyp67Rysm6WLUAvBsD7oTWQ6vCJaLfDutkeU8AA4LyS3pYpVSWeYSkivcC cVWKaWsEglJheKlclcYcWPyMYv5Nv/vh5qHGXQ6SqL4JBMIO1QkGd9Uz8IZwwU314MVY xSS61glxXLZLj0pGWzrLnLBGayijrkJ26PNmqWvVSBrLyL2F5+j3njcJjy44oOsRA7ir pm5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=J6MvKpTZ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v16si7873436ejx.96.2019.10.20.19.46.23; Sun, 20 Oct 2019 19:46:47 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=J6MvKpTZ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727077AbfJUCnc (ORCPT + 99 others); Sun, 20 Oct 2019 22:43:32 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:36198 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726778AbfJUCnc (ORCPT ); Sun, 20 Oct 2019 22:43:32 -0400 Received: by mail-pl1-f195.google.com with SMTP id j11so5874573plk.3; Sun, 20 Oct 2019 19:43:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=whcljhgwF/VLMrwCM5sav3bSUHoyALVsT42DyK47xIs=; b=J6MvKpTZvj81SJeygT9J9FhClSqtd4dxaBL06/APdYtg17qm3Cj28xzUSIjpN9TZnZ T11atwWb8NZ2nPAf0mODEdldt7uWpZHf1M8fChKCRtURpyFgtI3YN9LGhkyKb9QwdXPK fqn5VlD+Cawi2CeU7hhbzUNtuwRW9rIYN96r59VFCdng91DGhZctdbRHjTsCtDtCfALt 9QIBrwI52p0PlTaav60qBn4haWV7WOvQwgN7X+umJ1utoMg+2AjLSQxtK9yeTfS7Jirv mHuh2bOtVrcE5CsoIZ+SBdSYt68HKgxHLxTnk7TfGpouVO09C557nnZd6QaDXv/Cg3QM ipeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=whcljhgwF/VLMrwCM5sav3bSUHoyALVsT42DyK47xIs=; b=qYkvg/kAxsvxul14ONFaiKsrnj4fA7lpr+KIJMg4kKh3/m2LiRBW5k+VA52s/lTbmS qLQ9YpSUpYZ7RQGZJCu2zJudApkO+kplmkEjKP+5spyFVxzAYIoZiQhidx+xHLIsC9W4 05pomsfHzypMgVW3iH0YC4Zx/d7OKtWi34vJtvWRkzoz+jGM61ARCi+nhJ3z3WBDTL8K tw/+mQnrWEnrPlznuTPI/hSXklrQF1nHLYvEb8Q/tji2cz/T+T89NvDI0C+vhv+Xxb7R 6zg3gBOxEAnRWg1FZzz8O9z+WwJKC/Omhr8dlDCfs+c866+olmUUm+zBom0RfG5qAiLb d3EA== X-Gm-Message-State: APjAAAXQYacYF1eJJki+Xy0ike8z0ljIJ4HxxeSVYTfenFOpHc5l6w9+ CSoCdp6MB2yHV6JFSCqkOz7m6TeD X-Received: by 2002:a17:902:8342:: with SMTP id z2mr21953393pln.309.1571625810874; Sun, 20 Oct 2019 19:43:30 -0700 (PDT) Received: from [192.168.1.3] (ip68-111-84-250.oc.oc.cox.net. [68.111.84.250]) by smtp.gmail.com with ESMTPSA id 71sm17725136pfw.147.2019.10.20.19.43.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Oct 2019 19:43:30 -0700 (PDT) Subject: Re: [PATCH net-next 07/16] net: dsa: use ports list to find a port by node To: Vivien Didelot , "David S. Miller" Cc: linux-kernel@vger.kernel.org, Andrew Lunn , netdev@vger.kernel.org References: <20191020031941.3805884-1-vivien.didelot@gmail.com> <20191020031941.3805884-8-vivien.didelot@gmail.com> From: Florian Fainelli Message-ID: Date: Sun, 20 Oct 2019 19:43:29 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <20191020031941.3805884-8-vivien.didelot@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/19/2019 8:19 PM, Vivien Didelot wrote: > Use the new ports list instead of iterating over switches and their > ports to find a port from a given node. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli -- Florian