Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp200952img; Wed, 27 Feb 2019 20:18:18 -0800 (PST) X-Google-Smtp-Source: AHgI3IY7HIQvKc2JNL3oQXvTljLSiSsR8BOZ/CfmxAPQq4U/SKtiNvdLtCyn7S5VKTgxut3OHKVC X-Received: by 2002:a65:6091:: with SMTP id t17mr6570129pgu.416.1551327498178; Wed, 27 Feb 2019 20:18:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551327498; cv=none; d=google.com; s=arc-20160816; b=DK3RSwBj2LIEgEWrYz0bja2jlB47a4M39//0F8opaNgikpXMO3FYrrtZm1KhEZS7vJ 0OphAU5/60a2YBwTJ89KfUAN4x7oppdDMTn68eiBprWFTl0nB3f62iOR+OK44yuHi7pX 6on/2IJRijqiLR4E85FEYx8rgNvgHeOkLHzUAJ+bgazWcfOX9WXfQDoQIUoqd1JIJ8j3 zwoS7hSBic4PfsBCojhMPmXey85x6edUC/AaD+VH+CtX6tfOQfGSiaTGjjWvd1J0FeE9 MKeHAvDi4MOqGY41wMq5jXXYRaqwph4Cjf+9413BtYVpoo1F+IFioUXt6s1oHsLT2Scj f+ow== 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:autocrypt:openpgp:from:references:cc:to:subject :dkim-signature; bh=hjN1GdXbLPw2JjOrkQmUscCmbdeCBgc0oDcoeIPC7u4=; b=HMG3dI/kj0viUo8tlTD7f+xMThD4MY49lJTa+4t6YXbpPjgoNY86rIPZDWYjmWCySb LFH1M+ABWhodlWknJaRI44c305SR3pMvTITLswma5RyU8Fn+sstu/x08GKBDO0zZV+gg y1pnVxiPZi0n72H5MN7aHyAh3DCkuagrNXk0jThfoGSyqIWdxJ33oYLhOfkH7bWid0Ls T/CsWj+e4wa8CqvuzCkfssa3JV9hsIxWeWnvvXMsvIZugboDJ5EwOffjbbcO3B2KayFG X7YzHGABuud5wkz20sCHaTkIvMHIFtnEPqfFQb4BtDYGUYoACTAg89R4gDIw5+l2lTHe ouzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tL8buQTI; 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 136si17007692pfu.221.2019.02.27.20.18.02; Wed, 27 Feb 2019 20:18:18 -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=@gmail.com header.s=20161025 header.b=tL8buQTI; 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 S1730733AbfB1ERk (ORCPT + 99 others); Wed, 27 Feb 2019 23:17:40 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:42524 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730463AbfB1ERj (ORCPT ); Wed, 27 Feb 2019 23:17:39 -0500 Received: by mail-pg1-f195.google.com with SMTP id b2so9031048pgl.9; Wed, 27 Feb 2019 20:17:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=hjN1GdXbLPw2JjOrkQmUscCmbdeCBgc0oDcoeIPC7u4=; b=tL8buQTIVeJkfbZNDBkIrtTQCcxoHJi5e+MMloPKZpgVwltJQwWiU8j2L97lJMEDWN 42EB2+EsOW1t/4PxywKsYWOntUf7Y5kVIVTqfOaNdsM1BU/5V6sgEa8HBGvmKAFsaA+s JZ8dl38Bcw7UXndZt3Y172OkG+81AzpQJuTZO4MxN1OJo+/D9Hth8SbergsmLuWDKBgG 0S5Byi+Y5MaSDDBr4QzmYniEB6zwQyrL2cntKYThm/fTXQB6/i4DP2ehwjy4Oxra3CCG 71Wu5iG9vSXvB8qOTHC/qlOXiO8e/ZKh98pCIwZ8pE9fYsbdESi3JIS+3WnCbjNxm1Th NGBw== 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:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=hjN1GdXbLPw2JjOrkQmUscCmbdeCBgc0oDcoeIPC7u4=; b=PK1/EJd7YJ9+Tr87tHbwup86rdlMlgkM0TMyH2D+2yobkji/gFN2WRTHa28h67JRbo dIc4bqZfSWRtaldpogyzb26IgYfGit403ByfICmELCSpI/gOpjS3eTH5plye9giCDDC5 IJLfdsqn96C2Y8GG4cIa8znOxivs2ApoflGR7Y+ihL2o1q0alzmaXqU53qNt0Rubeor1 IWFK9WKqqjLJWa0cZZcwoGlIz75fo8JlS3YXpRCYbtVHVHqr6OZBQ2pLFpROD8H2nmsX FUEZik01ErPH6n5LrEbgGAZnY1ZZYh3yTzV6Ilq0rp12p7wP5YEVUSxB0YnzAWVE+QP+ bfjg== X-Gm-Message-State: AHQUAuYZCvR/mTr/XbR3QpcgfhOzyjH6Bed7iW3HxMxqksNUqOA7V2Pi uz+Bg7cULgxtBRYo6kiYyqo= X-Received: by 2002:a62:b61a:: with SMTP id j26mr5289613pff.151.1551327458744; Wed, 27 Feb 2019 20:17:38 -0800 (PST) Received: from [10.230.1.150] ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id s4sm14642750pfe.16.2019.02.27.20.17.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Feb 2019 20:17:37 -0800 (PST) Subject: Re: [PATCH net-next 5/6] net: ethernet: ti: cpsw: update mc filtering to use IVDF To: Ivan Khoronzhuk , davem@davemloft.net, grygorii.strashko@ti.com Cc: linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, jiri@mellanox.com, ilias.apalodimas@linaro.org References: <20190226184556.16082-1-ivan.khoronzhuk@linaro.org> <20190226184556.16082-6-ivan.khoronzhuk@linaro.org> From: Florian Fainelli Openpgp: preference=signencrypt Autocrypt: addr=f.fainelli@gmail.com; keydata= mQENBFPAG8ABCAC3EO02urEwipgbUNJ1r6oI2Vr/+uE389lSEShN2PmL3MVnzhViSAtrYxeT M0Txqn1tOWoIc4QUl6Ggqf5KP6FoRkCrgMMTnUAINsINYXK+3OLe7HjP10h2jDRX4Ajs4Ghs JrZOBru6rH0YrgAhr6O5gG7NE1jhly+EsOa2MpwOiXO4DE/YKZGuVe6Bh87WqmILs9KvnNrQ PcycQnYKTVpqE95d4M824M5cuRB6D1GrYovCsjA9uxo22kPdOoQRAu5gBBn3AdtALFyQj9DQ KQuc39/i/Kt6XLZ/RsBc6qLs+p+JnEuPJngTSfWvzGjpx0nkwCMi4yBb+xk7Hki4kEslABEB AAG0KEZsb3JpYW4gRmFpbmVsbGkgPGZhaW5lbGxpQGJyb2FkY29tLmNvbT6JAccEEAECALEF AlPAG9YXCgABv0jL/n0t8VEFmtDa8j7qERo7AN0gFAAAAAAAFgABa2V5LXVzYWdlLW1hc2tA cGdwLmNvbY4wFIAAAAAAIAAHcHJlZmVycmVkLWVtYWlsLWVuY29kaW5nQHBncC5jb21wZ3Bt aW1lCAsJCAcDAgEKAhkBBReAAAAAGRhsZGFwOi8va2V5cy5icm9hZGNvbS5jb20FGwMAAAAD FgIBBR4BAAA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9N/ b8IehhWQqrBQjMjn2K2XkvN75HnAMHKFYfHZR3ZHtK52ZP1crV7THtbtrnPXVDq+vO4QPmdC +SEACgkQgTG1xCm8ZqC6BwgAl3kRh7oozpjpG8jpO8en5CBtTl3G+OpKJK9qbQyzdCsuJ0K1 qe1wZPZbP/Y+VtmqSgnExBzjStt9drjFBK8liPQZalp2sMlS9S7csSy6cMLF1auZubAZEqpm tpXagbtgR12YOo57Reb83F5KhtwwiWdoTpXRTx/nM0cHtjjrImONhP8OzVMmjem/B68NY++/ qt0F5XTsP2zjd+tRLrFh3W4XEcLt1lhYmNmbJR/l6+vVbWAKDAtcbQ8SL2feqbPWV6VDyVKh ya/EEq0xtf84qEB+4/+IjCdOzDD3kDZJo+JBkDnU3LBXw4WCw3QhOXY+VnhOn2EcREN7qdAK w0j9Sw== Message-ID: <1f68e415-e022-e4a2-6123-b3ebc2ff797b@gmail.com> Date: Wed, 27 Feb 2019 20:17:34 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.2 MIME-Version: 1.0 In-Reply-To: <20190226184556.16082-6-ivan.khoronzhuk@linaro.org> 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 2/26/2019 10:45 AM, Ivan Khoronzhuk wrote: > The cpsw can filter multicast addresses only per vlan. Thus if mcast > address is set for one of them or only for real device it must be > added for every created vlan consuming ALE table w/o reason. In order to > simplify dispatching vlan filters, the IVDF recently added is resused. > > In case IVDF is disabled - mc is updated only for real device as before. > The previous method is harder to reuse and vlan filtering is limited > only for vlans directly connected to real netdev, so drop it in flavor > of IVDF decision. > > Signed-off-by: Ivan Khoronzhuk > --- > drivers/net/ethernet/ti/Kconfig | 1 + > drivers/net/ethernet/ti/cpsw.c | 113 ++++---------------------------- > 2 files changed, 13 insertions(+), 101 deletions(-) Nice diffstat! -- Florian