Message ID | 1556024950-20752-10-git-send-email-grygorii.strashko@ti.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp3769957jan; Tue, 23 Apr 2019 06:09:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxRd7Q3YnkTMEGR7eMYxUptaaKSldtf0YCU+LIEFh0cgG789U8Q7FgEzAtdDa1U5R2R32Eh X-Received: by 2002:aa7:8e0d:: with SMTP id c13mr27301013pfr.193.1556024977707; Tue, 23 Apr 2019 06:09:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556024977; cv=none; d=google.com; s=arc-20160816; b=BUjxzywUUe6AcQUJY0x4/pKzdENpJVMH7kC2+5aGy2qhJIUv/63TP/w1AOE8YSWpyx cqXV5xFwL1pyrftdQ7PRdcvRZX1/2Viohe/jLUy+dim8MNnpApd4way7EzUOLq9kR0e4 +0haJBzXhZC00IJXMI54y0PpaFOCXDIsrTGmMsAimty4e2HtXmv4Jiz5gWGoQ0rI7bPX HpGAH+tISTjPcILSmNiFT8Fa2m3KE6oSlY6zdvwvtSYOoruK/RNHgrqhPcZ0NvzdKSgE +pbjCgDOkLvrWSzr3RbU37gUD3tmpphPJyjkxrpJnAqXg+djRugTA3ThFyHcU3k6s3UC LGUQ== 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: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f3si16360722pfc.92.2019.04.23.06.09.37; Tue, 23 Apr 2019 06:09:37 -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 S1727912AbfDWNJg (ORCPT <rfc822;mike.holmes@linaro.org> + 30 others); Tue, 23 Apr 2019 09:09:36 -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 <rfc822;linux-kernel@vger.kernel.org>); 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 <grygorii.strashko@ti.com> To: <netdev@vger.kernel.org>, Ilias Apalodimas <ilias.apalodimas@linaro.org>, "David S . Miller" <davem@davemloft.net>, Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> CC: Florian Fainelli <f.fainelli@gmail.com>, Andrew Lunn <andrew@lunn.ch>, Sekhar Nori <nsekhar@ti.com>, <linux-kernel@vger.kernel.org>, <linux-omap@vger.kernel.org>, Murali Karicheri <m-karicheri2@ti.com>, Grygorii Strashko <grygorii.strashko@ti.com> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
None
|
expand
|
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,
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 <grygorii.strashko@ti.com> --- drivers/net/ethernet/ti/cpsw_ale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1