Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp518269yba; Wed, 24 Apr 2019 05:24:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqzqhgslPCJeCTT0k3Aww7R083gTiFZfhRjN/1cKyPiVOOqVZc83myshCtbwJeZYHaBQjdHw X-Received: by 2002:a17:902:b617:: with SMTP id b23mr30504421pls.73.1556108661056; Wed, 24 Apr 2019 05:24:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556108661; cv=none; d=google.com; s=arc-20160816; b=ruecYMMBAaZTUfYcrJ1qqUzliWRSuX+zRPLg+eCk2xeQUiyYxeWEEaHudOVnqD8Tsx tuAlt4NP/sMa9wfMo9zHxTshstrxwuGDwohJxRI0D39UIp6eyfuyU2cUjpDcoYyUT3gl tGPd8c4DVc03mxd+P5aTe93y79qtFvNVyvJAdJ90VV+VDNHW9xJ6RN1bZ8PzmX1XcWiX 3UII9Z6etAT8cb7lgS1NAf9sBtI/ThtxKNLLLeRsnHNJVzxfqZr5JaruS5jPSt6RAcSM RijjTipgEe5NlKW/lZIz4S6RxIADhK2n9Ld5lhHVBCYLJ+OLEiUUtwBXUIEJ3uOAp8Ds 1Xtw== 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=bXQvlRnNM+KcXwHZRouKMVIQAty+h5VGb8o/6gJGFzQ=; b=fq0i/R+bX7AYQH7v4LnGGcGW5SoOKx1YfLIKX0CQEu1/u5DnBKl8xx8ddybe8Ud28+ ZlUz/sj91SiEC4LGyzeoFmSitGRT6wXeExnY8c/Ox6v65wOENIbkQP65esgOZuqKAZrz KBrXembH3CE/865DmKy2U2Kh6OUV7Iv+0FszYdjmXmIPrANMr0Fxs9CwYQG+abRd921x my/6+f+qRlUnGLtJnYL1Dns2sW4SwjEoOram+h5G8rFbec5lHLO2tppT3i93QzTXcy3s wCARGzx/s1pcCMZokwZAOpRm0Zt2xZ8j7YzqL8he4UB/+dvw3/097as2ztzI+Bxd5rVa cawQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WLiUPXgX; 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 j19si18942401pfh.147.2019.04.24.05.24.05; Wed, 24 Apr 2019 05:24:21 -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=WLiUPXgX; 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 S1729767AbfDXMWh (ORCPT + 99 others); Wed, 24 Apr 2019 08:22:37 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:37870 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729396AbfDXMWg (ORCPT ); Wed, 24 Apr 2019 08:22:36 -0400 Received: by mail-lf1-f68.google.com with SMTP id h126so3856840lfh.4 for ; Wed, 24 Apr 2019 05:22:35 -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=bXQvlRnNM+KcXwHZRouKMVIQAty+h5VGb8o/6gJGFzQ=; b=WLiUPXgXeO20vnfjlOLWWkQpS4Qs6AMqBC7I07TRXd32a5Z/oZ05BGy4fs89rE62ql 7k6AgjQylmvvdca9118fJiJKQRnZMuMAy869Z6wftGY8rUs8rXk57Sm0Ai2JBUL5J9Ed MgGFGEJgruGwed6gPphiSVRKHF4zJfjrMC0/6s1c3qbx7o7GUAfYYlxqoqCRnPfhbLVC mdI5vA7SJ5AwozDAuUz7yo8h0WdSp5an9gMr7RlT8Nld8lBkYzOong7DD3u2VHAty3u6 IpsRrYsDFFLmq7x/lhSSyiG8AXyjLEYH2Ggwm9/2f5XZMxjxpwKnsZ9in7RV+98lmrTu U1aw== 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=bXQvlRnNM+KcXwHZRouKMVIQAty+h5VGb8o/6gJGFzQ=; b=gq8ASTiwIKJAXh9WVjOMH+Qx8XcQbmH4QVUYLhmainRTw9RB4zwJB7z4hU3nYcAUYj zn4WWNWiVo/673cURoJDUCrUCME+cZ3dUAg7TD9wcpYVnLLvWPUNIYt0h54C3eg721H0 RzvgTo6cz44HhwGB8jeQnn9qO3/hFuLg0vxEXqJmq05Jiujqwzhmatjc5nctSa47Wm7t ugwbvFG3QQ3IqIEI7LXwanrnk2OQ+/b8EKwEK3JJlTOiG56zyTkrKdUpSscrnBjMEKKa htUVici6r4C30t7dVcCVFP1qItnFnKeZ7uGGmnkEnbxbZxKWZkBywsfFkBYM+AOjIb9V 2tHw== X-Gm-Message-State: APjAAAVIBxWrfDEhcDNdr9vmd1nXgF7BZBtdhxTlykLfbBkV2YaucKqO JlxO15Yq4s61dZxD1eZDKo6BGA== X-Received: by 2002:ac2:5a11:: with SMTP id q17mr17324879lfn.145.1556108554839; Wed, 24 Apr 2019 05:22:34 -0700 (PDT) Received: from khorivan (59-201-94-178.pool.ukrtel.net. [178.94.201.59]) by smtp.gmail.com with ESMTPSA id s21sm5388895lfb.0.2019.04.24.05.22.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Apr 2019 05:22:34 -0700 (PDT) Date: Wed, 24 Apr 2019 15:22:32 +0300 From: Ivan Khoronzhuk To: Grygorii Strashko Cc: netdev@vger.kernel.org, Ilias Apalodimas , "David S . Miller" , Florian Fainelli , Andrew Lunn , Sekhar Nori , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Murali Karicheri Subject: Re: [PATCH net-next 11/19] net: ethernet: ti: cpsw: fix allmulti cfg in dual_mac mode Message-ID: <20190424122230.GA6075@khorivan> Mail-Followup-To: Grygorii Strashko , netdev@vger.kernel.org, Ilias Apalodimas , "David S . Miller" , Florian Fainelli , Andrew Lunn , Sekhar Nori , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Murali Karicheri References: <1556024950-20752-1-git-send-email-grygorii.strashko@ti.com> <1556024950-20752-12-git-send-email-grygorii.strashko@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <1556024950-20752-12-git-send-email-grygorii.strashko@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, Apr 23, 2019 at 04:09:02PM +0300, Grygorii Strashko wrote: >Now CPSW ALE will set/clean Host port bit in Unregistered Multicast Flood >Mask (UNREG_MCAST_FLOOD_MASK) for every VLAN without checking if this port >belongs to VLAN or not when ALLMULTI mode flag is set for nedev. This is >working in non dual_mac mode, but in dual_mac - it causes >enabling/disabling ALLMULTI flag for both ports. > >Hence fix it by adding additional parameter to cpsw_ale_set_allmulti() to >specify ALE port number for which ALLMULTI has to be enabled and check if >port belongs to VLAN before modifying UNREG_MCAST_FLOOD_MASK. > >Signed-off-by: Grygorii Strashko >--- > drivers/net/ethernet/ti/cpsw.c | 12 +++++++++--- > drivers/net/ethernet/ti/cpsw_ale.c | 12 ++++++++++-- > drivers/net/ethernet/ti/cpsw_ale.h | 2 +- > 3 files changed, 20 insertions(+), 6 deletions(-) > [...] >+ vlan_members = >+ cpsw_ale_get_vlan_member_list(ale_entry, >+ ale->vlan_field_bits); Seems like declaration for cpsw_ale_get_vlan_member_list() is not part of the patchset -- Regards, Ivan Khoronzhuk