Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3694222ybg; Sun, 20 Oct 2019 19:43:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqwmwLuMtGmTaSYFSdOnSQKwjZYS/iZIvnSjkCxiRXxz2OV9+Kec5H8c7o1yZtKV/mi7AX6j X-Received: by 2002:a17:906:1ec6:: with SMTP id m6mr19651702ejj.6.1571625826534; Sun, 20 Oct 2019 19:43:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571625826; cv=none; d=google.com; s=arc-20160816; b=QXD1sxtjXuORu3eQILP2cabEjKCE/Atif8wDeYWSj/Pw8riSqD+ED7rGLRIevXKNzC XzV8LHOsyKnSejkbtG+RUkExiIwRyoCFQYevvVNsh4bpDFEhSJXxjrguLEMv4v4nE9bN F93bjeQ7vgLnOvNQng2eiQ7zHrJxRzoViq5FVSob8rLWdVMLiF3OtxMP6Kj4zgpoveZk tpMss77+c4LVftbtEDhI6Do5px3/FRrat/ih9MKbQW1B8y1htyJXMLb3zfOFQUpc7pHI SOpxIF4Bamcrs09GfVOQ5fq+d56x9kZ3IHEbtAF11m6u8wQHP7bG2eV/Dx7R8EQSKbfl guIA== 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=XWPIJFxOGHMjMlk9kcsicPPRMtWH0cKi1FZ4irNP4UU=; b=svT3l1+RpIQgoRtOrx7vqx3enKY2ssfitDeMxyEeHwtvNnDomhrbXSxhn+sYj4XZZA /a/ZOXMDWp6zG8PDrJsKslYjOB9I6lG8gZrEde1+tLALd1OpDCbeWlfBjLZ2ZbOz7Y9o SugxRQKWWNRbzpeR9BD2FbJ0T+GrjdBxkmaR4aEUZKDsRM3y62tcJRU3cLjNJIuvYIb5 fszLdnaWHjLsFvTooNgG4zcGguWTItqM1Vq9sqXS8I3/1O/6Na8CVHUpapW1jpXUwRT9 ZsAV8UuNLyYxi8xIRYnrWgQPujWwc5l6+TCd/M0t0qqY+jXvc2hnlXfsondnHDvjolLi OwGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Q2KI6+o1; 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 a11si1034ejv.310.2019.10.20.19.43.23; Sun, 20 Oct 2019 19:43:46 -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=Q2KI6+o1; 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 S1727017AbfJUCms (ORCPT + 99 others); Sun, 20 Oct 2019 22:42:48 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:37938 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726768AbfJUCms (ORCPT ); Sun, 20 Oct 2019 22:42:48 -0400 Received: by mail-pl1-f193.google.com with SMTP id w8so5871270plq.5; Sun, 20 Oct 2019 19:42:48 -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=XWPIJFxOGHMjMlk9kcsicPPRMtWH0cKi1FZ4irNP4UU=; b=Q2KI6+o1iX9YCGqzOAxbO/hsrRde46xjf5t9nExPGHIYW7/5vTVN43YYE0wClfKTEj qY6J3lLN/SiGaUe8Nk8mqt7r2loOYy+cHzfLnnV9tCIFaThjD7I8Tlv8EMrZ5rTQSsxg RDNidf+Pjh9E6Ui1w0Hzt74y/1Dz479VZnUmEERzlslgGcNX5/VbWhkDvem+0BF4ZL2L xBPUGoqkTY+VL4GMukDvFcvAA2gESdCpxacYEfq2T6IRYalk6ejk0S8yExsmWTmgiP4W CTuscc/H+aROMJq/ku5sm/qZu8571aTIeO/02pbG8ApOw4cMRoYxUloAsf8oE2vUYGcu CacA== 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=XWPIJFxOGHMjMlk9kcsicPPRMtWH0cKi1FZ4irNP4UU=; b=oN9eYzM9p6NELAIsUouczadEkcFgdecBwUayGw4mLLYZ+2UNgUmZk5ElrtVpg1QMBD giRm5DI8/uQNvN2IgPStoo/8X6H6hfkD01E46s4GYv9EZuH+kDvyc3g8DOAaHva+NGIg 3fhb5Rec7daM/6kzu72UrIpAC5mYkEk/cKGbfXJSrW4N/AJyk9Qz4orVCc1s6nYJbKPP wcjsC6U2NMIK/JlvYSOP5IzC4tTghEOthSM2XGn+ofJk5b9neuJYSawDWwwqdDwuRNUM FXgbRRcn8HIG9/NGMZ7C8/cQ1hCoEG6oQ3CreAoWZCB26KmchcgP6hEF/BLaLN6tj4OW wRXw== X-Gm-Message-State: APjAAAUpTG7oEdjDZ12YRWjrBjmTh4ErYrl8PMon43Ls8gQQOycRFYow CSu8OpR3x6uxm4rjGWLlnhaWRxUS X-Received: by 2002:a17:902:a584:: with SMTP id az4mr21498091plb.74.1571625767407; Sun, 20 Oct 2019 19:42:47 -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 w5sm12690029pfn.96.2019.10.20.19.42.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Oct 2019 19:42:46 -0700 (PDT) Subject: Re: [PATCH net-next 06/16] net: dsa: use ports list for routing table setup 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-7-vivien.didelot@gmail.com> From: Florian Fainelli Message-ID: <0a6e157f-75f0-045f-4ae0-0381816bba6f@gmail.com> Date: Sun, 20 Oct 2019 19:42:43 -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-7-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 accessing the dsa_switch array > of ports when iterating over DSA ports of a switch to set up the > routing table. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli -- Florian