Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3572878yba; Tue, 23 Apr 2019 06:14:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqybwJWQKzxEiLLKl85KhBGAMA1RAN8lOMrDtyM32Zq1Mn/z7qk3z3p7x9ovCEUEKTNlIqRv X-Received: by 2002:a17:902:b715:: with SMTP id d21mr26273549pls.103.1556025271406; Tue, 23 Apr 2019 06:14:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556025271; cv=none; d=google.com; s=arc-20160816; b=xrnfUZOkPl7YPyi+VBJYVeTVo+y9xkc8PcyN24DlEhZmGYs6W6Wyse5Pncn401xvLW KxLnXQmY+pPDC+iUdtZJAYG/0UPZYipLZuN7xWJ+VIo60h+RM/wuJN6RnKKigfZnUrYU Re5zT7fXivqLFjunKxK2VnIRE+m7FmLZePeIEbk0hg7J3eHs3h9Yn+yOfsUGe8BaGNdZ z3X54nit9FAsrKsRxcLFrEKi9naHU+K66EP43bA2EmIPoZkyJP9CRn0BOnH2y8e1f7jN mnUd2Nr5dRCwbH+yORweGrn7k+AkU8NKIwLQI2Y9tL6vN3kbgCLqSoPig24mFruGEDHL JtSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=XpaFr+l9BVrOYfWgZAClN8nnBFE0HPwgX6ZoUxwVuNc=; b=Q9Ual6pSAHZqnKD2pMyGv3gxlFC3aoGQd1IvqnohfmC+KwfUQkU+zUkOh3InjbstJO SJvdYnUdSEhDtaMv72UAAOlarfUoj3KoGduPThtlFK6IfgCPunvuiXo16JnlGRR0z8mr gqPa18tH0A6jMpGXoFfQZtlJZkgwD335oqzlb1Bz/oOmQwj2lqOlOf3BqbMWFByqM3+S oUOztz7bkicHHipHjyK4TatPQnH2Mr7zWKcobOGPZVKEDASh6d0xKUnJbsHrCKoBNRA5 4x+9Ra6ogCEwKTJwfSdgEA2IlwyN9QnEzB4uUx+Xbb8Hjql8gnGbTdZL1LUVL/+Hi2Yz QLiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=UgxlkvzG; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q12si15989877plr.434.2019.04.23.06.14.16; Tue, 23 Apr 2019 06:14:31 -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=@ti.com header.s=ti-com-17Q1 header.b=UgxlkvzG; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727673AbfDWNJf (ORCPT + 99 others); Tue, 23 Apr 2019 09:09:35 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:45520 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727458AbfDWNJd (ORCPT ); Tue, 23 Apr 2019 09:09:33 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x3ND9T1i085774; Tue, 23 Apr 2019 08:09:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1556024969; bh=XpaFr+l9BVrOYfWgZAClN8nnBFE0HPwgX6ZoUxwVuNc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=UgxlkvzGtrY3YkUhsJCmaOp6s+QKS6qvUKrUG5+Vm0g7a7iC8DzBMbh48iUFQY7gz pw2lKYrkbYAcKpKg9KW5NkQRQUMQUdDUXANABW/Qugn11cCdYuLN4YdvQGqNQaX5Pm +NFfQUBf1Bkasr/BLD+lURnl1jp16c6AI0+IP2xA= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x3ND9Thd126065 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 23 Apr 2019 08:09:29 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 23 Apr 2019 08:09:29 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Tue, 23 Apr 2019 08:09:29 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x3ND9SY8126186; Tue, 23 Apr 2019 08:09:28 -0500 From: Grygorii Strashko To: , Ilias Apalodimas , "David S . Miller" , Ivan Khoronzhuk CC: Florian Fainelli , Andrew Lunn , Sekhar Nori , , , Murali Karicheri , Grygorii Strashko Subject: [PATCH net-next 09/19] net: ethernet: ti: ale: fix mcast super setting Date: Tue, 23 Apr 2019 16:09:00 +0300 Message-ID: <1556024950-20752-10-git-send-email-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556024950-20752-1-git-send-email-grygorii.strashko@ti.com> References: <1556024950-20752-1-git-send-email-grygorii.strashko@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use correct define ALE_SUPER for ALE Multicast Address Table Entry Supervisory Packet (SUPER) bit setting instead of ALE_BLOCKED. No issues were observed till now as it have never been set, but it's going to be used by new CPSW switch driver. Signed-off-by: Grygorii Strashko --- drivers/net/ethernet/ti/cpsw_ale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ti/cpsw_ale.c b/drivers/net/ethernet/ti/cpsw_ale.c index 3ef5257c9bc7..7ac0c5ae0c92 100644 --- a/drivers/net/ethernet/ti/cpsw_ale.c +++ b/drivers/net/ethernet/ti/cpsw_ale.c @@ -355,7 +355,7 @@ int cpsw_ale_add_mcast(struct cpsw_ale *ale, const u8 *addr, int port_mask, cpsw_ale_set_vlan_entry_type(ale_entry, flags, vid); cpsw_ale_set_addr(ale_entry, addr); - cpsw_ale_set_super(ale_entry, (flags & ALE_BLOCKED) ? 1 : 0); + cpsw_ale_set_super(ale_entry, (flags & ALE_SUPER) ? 1 : 0); cpsw_ale_set_mcast_state(ale_entry, mcast_state); mask = cpsw_ale_get_port_mask(ale_entry, -- 2.17.1