Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp753945ybl; Tue, 13 Aug 2019 02:00:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqzPZUao6zW46HkMZdOfKIEdd+itTnlJZKRmpaxidIQZMjGkiPAz1g7mUq8iix29tMIbj3cA X-Received: by 2002:a62:3883:: with SMTP id f125mr40033228pfa.258.1565686842930; Tue, 13 Aug 2019 02:00:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565686842; cv=none; d=google.com; s=arc-20160816; b=IFV5X4phGWnZ2cgHHa3uHFmv/TUl32vCJmFcg8fAOZkx9oSkluBtVPavlsfxUCpKYi kGiBdJvqOjAwC27Os/WcgTNNzRU+VMEKXJ6+eOVobjrtBYx8tO7zQQj0lBMyUrSVD0Xs E3zkfjcN61N1+nqaR5m6VI5IROnrZ3mCXLYLn9e3jVUNAZCA7khGbbx4CnM2J8N0wRW3 IcehGtCnvz41hoc0kVnnwdfna68nY2kX3yT5LlCqy7qRy5EQeVXVmdZdxyExzj3XYweP DRNu3aY7nL9bWj5u6r6XIECtXpQE6B/9txTb1VNpHvbXG1/dgq0//YcYd2vgp4RiPM2y C9bw== 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=tjxbmC5M9KxSNZu207fal59G5X2jwf76LCEa/dzuEzM=; b=ZME/Wc1PWHDtQWdUBHPAlFPUBiZ0hSP+oGb6OaltqGW/U3DUrSAGzxrYURxxQRHfW0 PzLBXbZewLKcI8NLoDTzsK+lWU12ghquSNM+iZFDk3d3vBWmfx71KtfSs4mUOiQIZYYq aQ65AoquBofDiOyUpAxPvligly0kRcf5Dzux21C0O6T5xrY7V0bej6I4UaRC7JNUrE50 rxAlerRa0xUz9W02VF3m1PWEMKFQ96p4sG29wwpjrm4B0zpfCWAu0S5P+4wRE5R/YZF2 vOBxbTRbOOoTxtj4AHnPXcPF5jQSdSDQFUj4Cul7ElvX5ENkalJRT0kYpy9VqahTuImV Y8GQ== 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 v41si65424740pgn.481.2019.08.13.02.00.27; Tue, 13 Aug 2019 02:00:42 -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 S1728169AbfHMIyx (ORCPT + 99 others); Tue, 13 Aug 2019 04:54:53 -0400 Received: from inva020.nxp.com ([92.121.34.13]:56064 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727599AbfHMIyw (ORCPT ); Tue, 13 Aug 2019 04:54:52 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id E05411A0766; Tue, 13 Aug 2019 10:54:50 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id D48591A075F; Tue, 13 Aug 2019 10:54:50 +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 80F832060E; Tue, 13 Aug 2019 10:54:50 +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 v2 01/10] staging: fsl-dpaa2/ethsw: remove IGMP default address Date: Tue, 13 Aug 2019 11:54:30 +0300 Message-Id: <1565686479-32577-2-git-send-email-ioana.ciornei@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1565686479-32577-1-git-send-email-ioana.ciornei@nxp.com> References: <1565686479-32577-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 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