Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp982224ybl; Tue, 13 Aug 2019 05:45:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxJuncxh+5i6FbfXeYR2lkr0oYY5TkgRxM0sj0RFvmjgwot5cddichVz8BkFTm9l8gadt9z X-Received: by 2002:a17:902:20b:: with SMTP id 11mr38236765plc.78.1565700336915; Tue, 13 Aug 2019 05:45:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565700336; cv=none; d=google.com; s=arc-20160816; b=Co3uKxRSee+cav1dr938e5flGbFLpczV3FZ239OQraH1Ya1zgUNVjxmmZDuCtunoBH HN7Yb7Jo7q7HqYThdFL7lJd1lexOMAMYgslb1yZfFQTF5XYWvuRf+foRTJp3VaPNI/5m pzR3wDa1iiqcfnVu0hBpsNoIN93+YnLA6yHvEXVp5c8bjqnknAxb7hTlYRuE9PawQaqS Rd06+tUmWWhluEm9IXPzAELEm8iUJvRnL3VzcXzX78t37rAeDx4vQ+K2m2hF19ukHEBj 8S3Ab6ahakyCBLhGX21RWAhispcTHn2IMujhSqnuLSxiNeDB0p4P4ph1Js9LeM5B0M96 ktoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:reply-to:references:in-reply-to :message-id:date:subject:cc:to:from; bh=aiIlzpPVGgdf7Ap5PWFJOmDXhTW/VY7EvCbnq/T5MeI=; b=saB30r4IUMsnJgMH1Cdpz4xs49KqDO3HDvCrYwImMMxekSvZvjWeJq9Jknp70PoKNv sCzkuz8mh5EMDwnVaJx4WR/qUur2ORot4qzlza5zkV23nJzcvUvlixTUbwTmCNSQPRbo UMHR56NXq2luTtzCKrmsKq0PIl1FZl2oZhhXaA8NhnQjT4p3KbVAdCWwD00Chw1YSw29 61H2MBCPeSOEA4kOjAhl88cItm1Y0UYDO1ROF2w3qd7oajeSd2X+DdOky0hko1KYsnBk 1oPna36g0yILQdTZPe77yOJXMfGwQosojrJrEebZgylMvLO1PHQ/rEla+jyjHdHV0r3n NQfw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j38si689669plb.107.2019.08.13.05.45.21; Tue, 13 Aug 2019 05:45:36 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728699AbfHMMnz (ORCPT + 99 others); Tue, 13 Aug 2019 08:43:55 -0400 Received: from inva021.nxp.com ([92.121.34.21]:51544 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728327AbfHMMnN (ORCPT ); Tue, 13 Aug 2019 08:43:13 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 3BDFA200791; Tue, 13 Aug 2019 14:43:12 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 2E8E420078C; Tue, 13 Aug 2019 14:43:12 +0200 (CEST) Received: from fsr-ub1464-137.ea.freescale.net (fsr-ub1464-137.ea.freescale.net [10.171.82.114]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id CB0E12060E; Tue, 13 Aug 2019 14:43:11 +0200 (CEST) From: Ioana Ciornei To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Cc: joe@perches.com, andrew@lunn.ch, ruxandra.radulescu@nxp.com, Ioana Ciornei Subject: [PATCH v3 01/10] staging: fsl-dpaa2/ethsw: remove IGMP default address Date: Tue, 13 Aug 2019 15:42:58 +0300 Message-Id: <1565700187-16048-2-git-send-email-ioana.ciornei@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1565700187-16048-1-git-send-email-ioana.ciornei@nxp.com> References: <1565700187-16048-1-git-send-email-ioana.ciornei@nxp.com> Reply-to: ioana.ciornei@nxp.com X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Do not add an IGMP multicast address by default since we do not support Rx/Tx ar the moment. Reported-by: Andrew Lunn Signed-off-by: Ioana Ciornei --- Changes in v2: - added Reported-by tag Changes in v3: - none drivers/staging/fsl-dpaa2/ethsw/ethsw.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/staging/fsl-dpaa2/ethsw/ethsw.c b/drivers/staging/fsl-dpaa2/ethsw/ethsw.c index aac98ece2335..8032314d5cae 100644 --- a/drivers/staging/fsl-dpaa2/ethsw/ethsw.c +++ b/drivers/staging/fsl-dpaa2/ethsw/ethsw.c @@ -1506,7 +1506,6 @@ static int ethsw_init(struct fsl_mc_device *sw_dev) static int ethsw_port_init(struct ethsw_port_priv *port_priv, u16 port) { - const char def_mcast[ETH_ALEN] = {0x01, 0x00, 0x5e, 0x00, 0x00, 0x01}; struct net_device *netdev = port_priv->netdev; struct ethsw_core *ethsw = port_priv->ethsw_data; struct dpsw_vlan_if_cfg vcfg; @@ -1532,12 +1531,10 @@ static int ethsw_port_init(struct ethsw_port_priv *port_priv, u16 port) err = dpsw_vlan_remove_if(ethsw->mc_io, 0, ethsw->dpsw_handle, DEFAULT_VLAN_ID, &vcfg); - if (err) { + if (err) netdev_err(netdev, "dpsw_vlan_remove_if err %d\n", err); - return err; - } - return ethsw_port_fdb_add_mc(port_priv, def_mcast); + return err; } static void ethsw_unregister_notifier(struct device *dev) -- 1.9.1