Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1671228ybm; Thu, 23 May 2019 05:06:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwrUU2jNBubYKHN0eXqCKvoxQzwxiIlPwbi1sYNOty5mX7OyyOVPAa87yCDm6TmF2eKSH7d X-Received: by 2002:a62:1a51:: with SMTP id a78mr2085549pfa.39.1558613178089; Thu, 23 May 2019 05:06:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558613178; cv=none; d=google.com; s=arc-20160816; b=s32cEtiCU4qYtUN8qbZaqvq7R570faibdNJo8CxbES0gE85I8qiLvwBsoYAfsuT3NU u2UPc60dUnqj+zcZvfJTyGhnVfVK1aDg+A7uqJ07ax48I3ZWLG24uSpred9O7oTyrNdb i/MmJ+5T42sLfwKwmH+5xXzU+3KQORfp37Hhrt4zxzc8UeClgt1KIGica5goU+VJgjdv U87pWqqT7Qo7L3ykjbNL0R6ftofqdeSku/XMGUGiK5SN07B7QLbpOhZwcX0ZBWNtkqUy MSnjGegpY7eFEzEdlgF8BG0YqvPZbzHSp9Dixq9dmO2vm6VJohXaX/jCTIK2S+VFpTCd Zn9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pR8fSfAmW0chH3NYWugPGLugYXiHzEjfx5KD9uUKR0U=; b=RlTl+yeKZrv/waenGNku7lDQm4ewc9TPL+htV2olvBw6645CT/OJzgjUXvbHEZDusj A3Z2l1JwqYlaIObKhrzqDZPYz0hh5O6HAs+KeO1Z+VjsRWoDE9d7I03TvwOF0ZuUynDT V90Nh2Y5J32GsVGJuXJ/rOtPIoub4NNQnzGlWfE/iiNlXoATXUOLM9U3b46ruxAsf6I8 ZDhs1q2Y7a6xYUugyt7nJeEjzbCHBiTauhmV26bcQREUcA49PZrCEXmNS7z7ONBTJgwR j3mrnGpafEUZaseBYSMOodeUarNLHefW8KmBHvTgjyRoyfJ9CVmD8DbaYi1dTRzg4OXv sK+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=first header.b=SaXnObYz; 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=NONE sp=NONE dis=NONE) header.from=geanix.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cl12si12090616plb.7.2019.05.23.05.06.02; Thu, 23 May 2019 05:06:18 -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=@geanix.com header.s=first header.b=SaXnObYz; 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=NONE sp=NONE dis=NONE) header.from=geanix.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730284AbfEWMCo (ORCPT + 99 others); Thu, 23 May 2019 08:02:44 -0400 Received: from first.geanix.com ([116.203.34.67]:60988 "EHLO first.geanix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730718AbfEWMCn (ORCPT ); Thu, 23 May 2019 08:02:43 -0400 Received: from localhost (unknown [193.163.1.7]) by first.geanix.com (Postfix) with ESMTPSA id 9CC971173; Thu, 23 May 2019 12:01:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=geanix.com; s=first; t=1558612910; bh=4qHd8Py9Up+qZTBH6TcBDfKSmHpp4v/tKKzuTrnyayg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=SaXnObYzu6eGVxxRWGAjvw1VwK9pIMe87nh05+w8EmbgK4z8skYuqic6khjFx7h2K S2I+nK61H8PBRBu3wtK77mwo0HQtFYPIb+OhEdxiAx5MUwgJb5E5vBiAVhqw8xpOiS 5ch5kIVOWPYK7rcVGM+Oi4X65oF4/yeIflIHqO7odryCv6EbyzgFqvfvQCV2kGpr3G /4FSMI1xy/4hcU/g4Jk7wYa90wMTET7u43QigNbT+x0YAzTWpcZopZByjkvqJyKden F4Ljg6HFOv1SneD7IpypXmtX0hTdcYXgmOpoKufFew/csKDormdgkpGXNF/3d8fty5 8JXjBxqHi9KWQ== From: Esben Haabendal To: netdev@vger.kernel.org Cc: "David S. Miller" , Michal Simek , Andrew Lunn , YueHaibing , =?UTF-8?q?Petr=20=C5=A0tetiar?= , Yang Wei , Dan Carpenter , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] net: ll_temac: Enable multicast support Date: Thu, 23 May 2019 14:02:22 +0200 Message-Id: <20190523120222.3807-5-esben@geanix.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190523120222.3807-1-esben@geanix.com> References: <20190523120222.3807-1-esben@geanix.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on 796779db2bec Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Multicast support have been tested and is working now. Signed-off-by: Esben Haabendal --- drivers/net/ethernet/xilinx/ll_temac_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/xilinx/ll_temac_main.c b/drivers/net/ethernet/xilinx/ll_temac_main.c index 75da604..5d8894d 100644 --- a/drivers/net/ethernet/xilinx/ll_temac_main.c +++ b/drivers/net/ethernet/xilinx/ll_temac_main.c @@ -21,7 +21,6 @@ * * TODO: * - Factor out locallink DMA code into separate driver - * - Fix multicast assignment. * - Fix support for hardware checksumming. * - Testing. Lots and lots of testing. * @@ -1096,6 +1095,7 @@ static const struct net_device_ops temac_netdev_ops = { .ndo_open = temac_open, .ndo_stop = temac_stop, .ndo_start_xmit = temac_start_xmit, + .ndo_set_rx_mode = temac_set_multicast_list, .ndo_set_mac_address = temac_set_mac_address, .ndo_validate_addr = eth_validate_addr, .ndo_do_ioctl = temac_ioctl, @@ -1161,7 +1161,6 @@ static int temac_probe(struct platform_device *pdev) platform_set_drvdata(pdev, ndev); SET_NETDEV_DEV(ndev, &pdev->dev); - ndev->flags &= ~IFF_MULTICAST; /* clear multicast */ ndev->features = NETIF_F_SG; ndev->netdev_ops = &temac_netdev_ops; ndev->ethtool_ops = &temac_ethtool_ops; -- 2.4.11