Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1091485imm; Wed, 17 Oct 2018 13:12:19 -0700 (PDT) X-Google-Smtp-Source: ACcGV60Dvgd3wmzDeLHu5w/drsQMWJ79U4xze4Kw0BaAXuA4el8s0VxtmIurzFM06ye9CORlOjcD X-Received: by 2002:a63:df4f:: with SMTP id h15-v6mr24715781pgj.94.1539807139011; Wed, 17 Oct 2018 13:12:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539807138; cv=none; d=google.com; s=arc-20160816; b=rGPyCN/PeQ4kY71TVcEcLxoSnl4FnJgaL2UTBmb0dm1TrEpW8tuknVh4FvafkAFmYr qbm9g2ILpeS1F7xWZYKWB0jvrRM3us01Mab5rdjsRKwiZdI28rSjZ0i6jBMS0+PML2xT jqnPNLvTzA5cwzj6GXMhdf6AG8tY9un2mXpElx8bRrsTPep0a/3sCoLk4vT+AHg4agpv KEDw2V2kxjIL6KO4IPT+I6lfGkvpbJl7dxrtSrkFNd+lNGLMNCZKAdRYd5YekSl/ayt5 jlXkNnavUCzm0DxToB4IVl95UfUCXrtajxZraEsGXk6QnzfFiJBNmjzuKczZyeFQezu0 XVSw== 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:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=o9j9NhQ9M5pm5+MLhmitP4FiK2z4+Y4Sgl8y9b7kcf8=; b=IAsfiFCyHgyjfpm6EbplnC5OoIOMkmRQaAjVrWPxo2jE0F6oMb8At0uyN0eBX9yvQ+ p6yLzInbI/zdSLCo6uTkglRcwFxujooCvHoxyGJgzphUVqSnVGkPlyxw4tR0O5ZaileJ YvKv0/JG+4oPsS34HzFVFlI6jkLCe/0/tstMxvg1AhIklZpnwWi2j8eo+be8DbwT9boG sbbfU6/Zcvvu3dmArj4Z9zCa3LN9zNK1BImAXAG7vpHJyXjq1U5VSpOM0gQ3d3YV2dxW wJiWxKIyIY1LlVrURHfah566sjOw8S6RtuG3Mi464/K1uUlz8FzlmPQZVmwV5+9m4S/C 9GRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=E5aHUN1u; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o9-v6si18625247pfe.283.2018.10.17.13.12.03; Wed, 17 Oct 2018 13:12:18 -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=@linaro.org header.s=google header.b=E5aHUN1u; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727175AbeJREI7 (ORCPT + 99 others); Thu, 18 Oct 2018 00:08:59 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:38762 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725966AbeJREI6 (ORCPT ); Thu, 18 Oct 2018 00:08:58 -0400 Received: by mail-lf1-f68.google.com with SMTP id x24-v6so5065505lfe.5 for ; Wed, 17 Oct 2018 13:11:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=o9j9NhQ9M5pm5+MLhmitP4FiK2z4+Y4Sgl8y9b7kcf8=; b=E5aHUN1u3DE2VZQV6cezJDVIWxyPk1woC+1C0YMEMWxfAtpSRIazzjP6LbWywRCvv2 klviNs2eOHRC0ORbvY0mOxr1Ql+VitUWUnic82UwiElnHgYn0ROwj6zTR2XRtvkZiwBD dIkLL/RjR8AOGvPpvm5m4RogSduYXXN4v35IE= 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 :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=o9j9NhQ9M5pm5+MLhmitP4FiK2z4+Y4Sgl8y9b7kcf8=; b=kPinVAxMaGsJWLcu5I55Jhtl/T8qWP5AZ8cjSYT3U98hK0jZ1QtYnxmj9Fk0TeGwX/ vjyzCAncBMuwLaKi4Aopkfm1L41EjUwlmgdgpoZHsNn6+eQJ2KnyePweuImCDfSgqr1H 2w0NlDKy4YoQd6lUAfsl4/RlKbQ/uzNbLDLCcIk84A4SH9cAHzNpBfz5URtO9X2DZ4B1 NcbDhzP4iVuVmh1CiSP6XpdzEeKmgHq9L/vQvoNDmHzUhhdJ4dAHy38ZCmHkTxMxVRmu UkjweDO7cy+yhVZsLdnQ0Ae+8LRsXM7GTafpRFQwAfEpEVQV+Sm6dM8dqcmqMMi6IlBY mYgw== X-Gm-Message-State: ABuFfoilWlMwKhq6ZrBRFRJp2pRyGRMzxEhURlIzJjo8WSoEe5n5cWm7 6yroVLBJIctcZ7LGTMkoy0fiAA== X-Received: by 2002:a19:505a:: with SMTP id z26-v6mr7899789lfj.120.1539807098230; Wed, 17 Oct 2018 13:11:38 -0700 (PDT) Received: from khorivan (59-201-94-178.pool.ukrtel.net. [178.94.201.59]) by smtp.gmail.com with ESMTPSA id a23-v6sm4075491ljj.1.2018.10.17.13.11.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Oct 2018 13:11:37 -0700 (PDT) Date: Wed, 17 Oct 2018 23:11:35 +0300 From: Ivan Khoronzhuk To: Grygorii Strashko Cc: davem@davemloft.net, linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, alexander.h.duyck@intel.com Subject: Re: [RFC PATCH net-next 0/4] net: ethernet: ti: cpsw: fix vlan mcast Message-ID: <20181017201133.GA13816@khorivan> Mail-Followup-To: Grygorii Strashko , davem@davemloft.net, linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, alexander.h.duyck@intel.com References: <20181016182035.18234-1-ivan.khoronzhuk@linaro.org> <92ab4728-109f-01cc-09db-3da4d8c8e92e@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <92ab4728-109f-01cc-09db-3da4d8c8e92e@ti.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 16, 2018 at 02:38:33PM -0500, Grygorii Strashko wrote: > > >On 10/16/2018 01:20 PM, Ivan Khoronzhuk wrote: >>The cpsw holds separate mcast entires for vlan entries. At this moment >>driver adds only not vlan mcast addresses, omitting vlan/mcast entries. >>As result mcast for vlans doesn't work. It can be fixed by adding same >>mcast entries for every created vlan, but this patchseries uses more >>sophisticated way and allows to create mcast entries only for vlans >>that really require it. Generic functions from this series can be >>reused for fixing vlan and macvlan unicast. > >I assume this is first of all for dual_mac mode. Mainly yes, but affects on switch mode also (and single port) adding appropriate mcast entries. -- Regards, Ivan Khoronzhuk