Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3567264ybl; Mon, 12 Aug 2019 02:42:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqwEbZXWiwrVrI4C8X1UEZPda3PQL1kMB2wGERk0InmA/1fqJ4K6PoW6Tr7KVrPHhTDHbpo/ X-Received: by 2002:a65:6859:: with SMTP id q25mr28887370pgt.181.1565602925732; Mon, 12 Aug 2019 02:42:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565602925; cv=none; d=google.com; s=arc-20160816; b=f/tg4k9+boyLYF5TFChKKOeXf7wb3YI6pqHWGMRgHBiN4TuWcwtKJh/6kyZaEzsaRC o6xvl4mSV94VQhxLcLwgb0vXYRXIpkZWSMuUniXhlEOJpPyXUrltMPYYXAoR1mWWaOhD nUMMSbB0aSf3bGY8+aja6R2qI+FZWm0BlJ0WePhw161rFby+tK8xC6zWtCM/qEe2oB9i hDlNqEkdkW//kT0Ap2uIKwFzQdQit7VEg2u6etjXSVlqH7Jf2o49o5uT+tgp9czWyi2x 8p0GUAcV3BMqBV54/z7dHFilqwf4F5HZajNCUnjWIBbAQT15Pn5UPi6kt0eOx4IgWG2I SpFA== 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=v7/vYcAMhvxz9gq3ThsNWH4AJDUNrc/esDAIkBEI1qM=; b=zgeGsS3mWIedgGWcU2Awt8KiVPKXazuIJ1dfYxZh8CMqDiVZdaSSpCgyqy4gH2xf5y UQTaPy6L1qeJ6YADS6mKt2bpWv5etc5hvuH/RnSz0Faf5cNw0E6zuS46ODwjZ1gBZi24 lgGEXBABM9zeS7f0od0myY0JQH3iuuVMv5cqZD8kJ28vQJKKgE6/nB8d4pk+1FXBHanJ 6TxbZaayn+vSqyXazN788KJbTCG+IUFF/z9FRV64t/O4WahG4Xe1EU9MG2xHhuaRbGWj koC+P4gxNCKwmoem3O70OXQyiGS73v9Qf9VmXZWnjafapuwk0zxovZOzfVr5lqRUMtK6 KvQQ== 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 k190si58885132pge.308.2019.08.12.02.41.50; Mon, 12 Aug 2019 02:42:05 -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 S1727447AbfHLJje (ORCPT + 99 others); Mon, 12 Aug 2019 05:39:34 -0400 Received: from inva020.nxp.com ([92.121.34.13]:49638 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727297AbfHLJje (ORCPT ); Mon, 12 Aug 2019 05:39:34 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 4603B1A02B0; Mon, 12 Aug 2019 11:39:33 +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 3A2AF1A011B; Mon, 12 Aug 2019 11:39:33 +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 EDCBC205ED; Mon, 12 Aug 2019 11:39:32 +0200 (CEST) From: Ioana Ciornei To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Cc: andrew@lunn.ch, ruxandra.radulescu@nxp.com, Ioana Ciornei Subject: [PATCH 01/10] staging: fsl-dpaa2/ethsw: remove IGMP default address Date: Mon, 12 Aug 2019 12:39:09 +0300 Message-Id: <1565602758-14434-2-git-send-email-ioana.ciornei@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1565602758-14434-1-git-send-email-ioana.ciornei@nxp.com> References: <1565602758-14434-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. Signed-off-by: Ioana Ciornei --- 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