Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp757701pxa; Wed, 12 Aug 2020 12:39:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvNplOV6ztx/FJjwRYkO2DwZFRVIpNt54AOdamDJ/79BRO5jpASyveafF9d6w1/SWfej8/ X-Received: by 2002:a17:906:bce9:: with SMTP id op9mr1445894ejb.462.1597261148391; Wed, 12 Aug 2020 12:39:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597261148; cv=none; d=google.com; s=arc-20160816; b=XT33O8ysLof8twdIj9ZWTd3pUBxG8TyZzIJGqmOcTcR3yH/eZVG9TEAeBrA3wpo1fj 75551rbDyiO3g6pXy8CzftyexEoJfdHmjADlFelYWwUprfmek2rd+dMWtIHvLI4rvoup fGxD93hjMJCy01JIv3d6ThcOYBwCtT6+yQcCESIcmIRbt6gm6Qmrt/7M6G2vCnx1apSP J4N0ZcQ0DPWMFit92z6M0cabu1w9MsRKeRch4Vh/7VgAJo1HlU3SDDmiysVF+LYJjN2Y Bi2NX4DUStRrD1L7SVqXR3KwdgMKXjze87PnlqYxk7U5myENrSmNVPlmHy26cp6PFdwL mC1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :from:date:dkim-signature; bh=HJVJVLdIn6uscZZTWFNIQe57B5+ja3f7KFs1Tp4MMSM=; b=T/V39oex2FcRvUZpd53xCAl+UquybTcBeCtUVfN+/Jk+3WFeVM461zj8vreUSVZl8n ocuurpcSqQNdf4e2DcNUv8SsngTreBk0MbbgvRHsT4XU97WJPTRwqkYs3UuUl4KW0Y2Z 9TnchUxqLuPYrdDc6zgZfq276YtRbHgSvddhPLD5SARlWMNdzaTPp+9J1g+1XN9kINcW VjGGBOaVmFpcY6PEoGJkmyK4lVjSio7+S+SiiX8ON/KSzXv15ck4ffYaIH2kUZo2mILb OmP+OTj3+XaFaCSA+8qvhHCNHd4/ttew1L34tqXbkF3ZsZar21cQ6/KjY1WB/HyW469P +leA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@earth.li header.s=the header.b=PsXTMwmv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o6si1731440eja.332.2020.08.12.12.38.45; Wed, 12 Aug 2020 12:39:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@earth.li header.s=the header.b=PsXTMwmv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726709AbgHLTh3 (ORCPT + 99 others); Wed, 12 Aug 2020 15:37:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726512AbgHLTh2 (ORCPT ); Wed, 12 Aug 2020 15:37:28 -0400 Received: from the.earth.li (the.earth.li [IPv6:2a00:1098:86:4d:c0ff:ee:15:900d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 566D8C061383; Wed, 12 Aug 2020 12:37:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=earth.li; s=the; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject :To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=HJVJVLdIn6uscZZTWFNIQe57B5+ja3f7KFs1Tp4MMSM=; b=PsXTMwmvNI7lIcug3RhqxVVlLt WMBcKEROq8WZRc63OTKT/2bz22c197pYzbazzhsOPU0yGKZNTo9heHSGia7m6rCIH8sJ/3Lfp+wUl VqjPhIH5qdNruG84Lo4L72xzAiN7gpkPYz0zKvDrnPQ4qvb6RymphyNo+hJXGwTcsOWe03I+L15oQ O5N4MWFkdRjcvvAlT8faZxpCwmOVgvDFFD29BI8OThjdw9UTh3d/rUzdsRMuVvbjcq0VXyeVoo96s ELtD99MccVnDk2NjfYjyDVXzcB2Owe88jo6aYOv7EaRYFkcZ0+ZMR5GpqqQpFaOdGWwGciONOKExb pbc1jeDw==; Received: from noodles by the.earth.li with local (Exim 4.92) (envelope-from ) id 1k5wYt-0002pQ-Ga; Wed, 12 Aug 2020 20:37:23 +0100 Date: Wed, 12 Aug 2020 20:37:23 +0100 From: Jonathan McDowell To: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , David Miller , Jakub Kicinski , Maxime Coquelin , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net 2/2] net: ethernet: stmmac: Disable hardware multicast filter Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The IPQ806x does not appear to have a functional multicast ethernet address filter. This was observed as a failure to correctly receive IPv6 packets on a LAN to the all stations address. Checking the vendor driver shows that it does not attempt to enable the multicast filter and instead falls back to receiving all multicast packets, internally setting ALLMULTI. Use the new fallback support in the dwmac1000 driver to correctly achieve the same with the mainline IPQ806x driver. Confirmed to fix IPv6 functionality on an RB3011 router. Cc: stable@vger.kernel.org Signed-off-by: Jonathan McDowell --- drivers/net/ethernet/stmicro/stmmac/dwmac-ipq806x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-ipq806x.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-ipq806x.c index 02102c781a8c..bf3250e0e59c 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-ipq806x.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-ipq806x.c @@ -351,6 +351,7 @@ static int ipq806x_gmac_probe(struct platform_device *pdev) plat_dat->has_gmac = true; plat_dat->bsp_priv = gmac; plat_dat->fix_mac_speed = ipq806x_gmac_fix_mac_speed; + plat_dat->multicast_filter_bins = 0; err = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); if (err) -- 2.20.1