Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3699916ybg; Sun, 20 Oct 2019 19:52:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxg4mKtB7COMAi9Hy3KHXkvqjI93vnfHTiHy3q+IbmpMo0IQXnMSxErYmTw4Mi/U/rRNQQm X-Received: by 2002:aa7:d985:: with SMTP id u5mr5289509eds.108.1571626376961; Sun, 20 Oct 2019 19:52:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571626376; cv=none; d=google.com; s=arc-20160816; b=akUvIFi0rAkOZkb8Iqdj7xQq2FwVKzdeCndJVhziGbnPtv3lDghbQABmW/KgrqdMrB 4z5xFchHDARUdQYo0pN1ndvwrr5gkrwqpNmdEbomf5EvI8BDhfFVliDb8vX+jY5O63NG HwUjZgN3zf502l/FR1ZW1nnBIK/85kFaqN8lIvz7fRYneyIXC0E7DzoblvWgZJ1mtenT gbR4apKJ4BKEJFWEUHQ2GxMeN7jF8++0daMT000TxrWOsasHAwJFwbbxguG9EWFcgs6p W2CMHENy8Om4J8K9da2br5P8WidKNA7SGtPrmJH4SbIB3eQrdkLX+1SNKKRaOrnmk4pf 3S6A== 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=1Ac26mhO4I98weHmoVOALPgytaZM+twFLffztvIiT6I=; b=mkpdFV/HT/jdL2QUSS/He+eCTAEpCvNd4oj05TvYqNaGBIOr7KlcMf+ekCUGdBsxV+ Vjd/ceJL+QKS60SyrFe5MlX451uhy4xAZrWMK45PnZwVnRjcT63UnWYycJCQVEUe7pIp B+/Q9z73e0/JpKnwgT1Byh49hbkPMvMIdx0O0ScBmf1wMTXl1mP9P8Xs2jIUpPuZAaQt rwSFOtZF6Co7jfNt3SKIbKTFMf6qZ+wB7m5YdJWdjIsd+Z+5J7ZRcp2bgTLG774wrT1A knxF2QhTJDllSCJzZfKIDF07eaxlt/w/CJV0lQiohrSMEZsdpZNoE/Jwg3SXAvf17+7L 9Rdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PfiY+y0v; 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.52.33; Sun, 20 Oct 2019 19:52:56 -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=PfiY+y0v; 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 S1726975AbfJUCuO (ORCPT + 99 others); Sun, 20 Oct 2019 22:50:14 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:43969 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726768AbfJUCuO (ORCPT ); Sun, 20 Oct 2019 22:50:14 -0400 Received: by mail-pg1-f194.google.com with SMTP id l24so1889400pgh.10; Sun, 20 Oct 2019 19:50:13 -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=1Ac26mhO4I98weHmoVOALPgytaZM+twFLffztvIiT6I=; b=PfiY+y0vmNCU/QfJb6JcA2iRLHNi0OcYCv6w3jMlZ9Jk1iZuREc+1Ds3V3bWT4oYu1 Y7nuH3eJi5yygj1gZDP8l3VjAhJISOuSzb5YjQrVipReAVdxIVz08PseB2St4B9+Q6O+ TnL6de20zvPFuKHVZBhvx7SmKyNcm4qHkuJBuZjC3TWdpgg0cET2CFBxbqSdhhp7vU40 5XMAimG9+QMXjXRVVyK7NEYf3ZMLT2amGT1KRCcxGKjBVjm7abylE49J2lMc2Cw/KG2h yzdQKDGYDKZDCKwRftSDzjvuRZkNRiEswHfPluQbnewd7KKRD7w+lkevXuSu+sv/aCOI b7TA== 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=1Ac26mhO4I98weHmoVOALPgytaZM+twFLffztvIiT6I=; b=th76Bl2CWkdqBL2euVE4X41RS/ypuzT9LEfAk+vQ+6BQPPkz830qdFDxWVUN/G/0B9 EWLMY46ACKNImCUPERbCb6N3PIQmwV50JPqvmwYgW0RXptbdVeMgxlr3SVK3cWpXBvQR 9TGJklkypfFrB5n3M9k2yGg5rwxZPKBbH3CT1ZhJRVn0fjGtKMaqZGhbR9BrEPYwhdYx EDu2IJiwZdBuUWSSf3D7Ee+WVEKbZQ3fezy7DjP28VQbNKFTz7ckHbNtQUhlWl7aoDE1 Q63S1PSsn2nySq08Is8bsov400562C2eu29JzGUmxzLN4BqFMctAgGneIjjAnUCuZN15 4pgw== X-Gm-Message-State: APjAAAXhrDHZ/tzif02ifC7oXxwOJEExEnLa8/N956RvIu6PcjtxDWyq PKIVNYjg/68+6rs18l+FhpjIGF6b X-Received: by 2002:a63:7a54:: with SMTP id j20mr23546065pgn.355.1571626213137; Sun, 20 Oct 2019 19:50:13 -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 w11sm15211345pfd.116.2019.10.20.19.50.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Oct 2019 19:50:12 -0700 (PDT) Subject: Re: [PATCH net-next 12/16] net: dsa: mv88e6xxx: use ports list to map port VLAN 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-13-vivien.didelot@gmail.com> From: Florian Fainelli Message-ID: <071ecbb1-4c1f-6e18-55ee-3e36b7c15843@gmail.com> Date: Sun, 20 Oct 2019 19:50:11 -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-13-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: > Instead of digging into the other dsa_switch structures of the fabric > and relying too much on the dsa_to_port helper, use the new list of > switch fabric ports to define the mask of the local ports allowed to > receive frames from another port of the fabric. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli -- Florian