Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp311659imu; Thu, 8 Nov 2018 20:34:04 -0800 (PST) X-Google-Smtp-Source: AJdET5cIvudzDAkseWnMVx3rnp6HI43W59sdhEa8yhA3Xm4m6wWpKIiaJA6PGKXZSTYD3V6zvP1R X-Received: by 2002:a65:63d3:: with SMTP id n19mr6300221pgv.179.1541738044894; Thu, 08 Nov 2018 20:34:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541738044; cv=none; d=google.com; s=arc-20160816; b=rsPOscC2zAJSEdcve6f9FjpWrxk4E7e4mMgPOWf7RblYIfjLiXIOZirnk2tCi2H85Z 5BRm9vlDn65uDbbCc0w5mphh5Yu/pWU4rVJFVVhUA1KtXaWkdZhZoNrMX/M/Ob0SAd2w ACYJCRr2q2CJsLK0XYHyYKCt3516UNG5CGvURrsfKeLblmhY+136xt3s8RH7PvAvN9r7 oaNTkK/+/n1DU0I4fzw16Rrd61BfREHnjLMI/rGfcC79zJkVlI3sZ3zImAWX349Q6P/T f/wszgMpT7N/Ao4e0TGIazk8R+Niln6T/bIfvBc4eq0W8VD+nwldMA4s9B7CbCMk3gwC OSXg== 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:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=rYgb0hO5PSN4HbtQFOXrf1LvhDGmMw6uOEG6sqwtkjc=; b=TgQoBw09ia6Dry1QxDjMocDg99gWDnTxZPxTy7Hj4CiGdL767nX1cC5v8gyOWtZU4U AEFS5brR9t+p121VLuZQcHSSkI9Qs3ga28QoIf4e1u5iq6jjGDQ676Pir5t/ZnfzaEas Vpg1noMmDhm8iSoRnzXsLy9iVoXXMa5Whidj73gdG8SSw2N7/m9LTa8fVdMTyGt0N8b/ Ner5Zt6uZq4c6yDZdAJppF8rG0UHWky3hF7xj+M3W6cIYyWte58PPm3TQ9kT3V0UCYbL OH20iVZHgwkzHTumLjO6e7ak34dDvPI+DjvLndxl+aGGjTnbGghBWdkBv49JfUnvzOPp 3Bkw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k71si5674462pgd.351.2018.11.08.20.33.35; Thu, 08 Nov 2018 20:34:04 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727558AbeKIOLr (ORCPT + 99 others); Fri, 9 Nov 2018 09:11:47 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:42950 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727445AbeKIOLr (ORCPT ); Fri, 9 Nov 2018 09:11:47 -0500 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::cf9]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 642DD14B3DBD6; Thu, 8 Nov 2018 20:33:00 -0800 (PST) Date: Thu, 08 Nov 2018 20:32:57 -0800 (PST) Message-Id: <20181108.203257.130600128161514091.davem@davemloft.net> To: ivan.khoronzhuk@linaro.org Cc: grygorii.strashko@ti.com, linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, alexander.h.duyck@intel.com, bjorn@mork.no Subject: Re: [PATCH v2 net-next 0/4] net: ethernet: ti: cpsw: fix vlan mcast From: David Miller In-Reply-To: <20181108202757.30110-1-ivan.khoronzhuk@linaro.org> References: <20181108202757.30110-1-ivan.khoronzhuk@linaro.org> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 08 Nov 2018 20:33:00 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ivan Khoronzhuk Date: Thu, 8 Nov 2018 22:27:53 +0200 > 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. > > Simple example of ALE table before and after this series, having same > mcast entries as for vlan 100 as for real device (reserved vlan 2), > and one mcast address only for vlan 100 - 01:1b:19:00:00:00. ... > Based on net-next/master > > v2..v1: > net: ethernet: ti: cpsw: fix vlan mcast > - removed limit for legacy switch cpsw mode Series applied.