Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1445694rdh; Fri, 27 Oct 2023 14:51:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF0x4WxyX+Dq+tV0UzWLabYp7ShbCol/Cgvxe9CW4VYN4RWSufOJ0LguRmbzBVxfdomKveN X-Received: by 2002:a25:d80f:0:b0:da0:c581:6663 with SMTP id p15-20020a25d80f000000b00da0c5816663mr4194456ybg.28.1698443476615; Fri, 27 Oct 2023 14:51:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698443476; cv=none; d=google.com; s=arc-20160816; b=y6ZzCHRMxwfP6x0aPyjPQ9nyaeJGUXV9YnKThCmeCSgsIravJ32Qm/cGSw3r706u2V NPyJYI/OfSdLYnbj/unJVqZhIjK06d0TzZtSqtGPtfQTb/pasZirWZNMj5lmN/DQejzi e1Hd8smU0Vf+6F4NMjghtlfCfpcOeKZQrfrrNE0tBg1qd50Fw4ym+w04Ub7p5jQLm8Su zwTErUdo8iCuFUDCeqgBCfcwolWh8WKyWNxZje/ouYr0oBwlKFZKMoSE4t0Bxu6y47gv 5tWFl/eQ8n1DkAErIUtcLVcqIDb3TQVTWverouC1Sm1IMdJfdYhG630yhvfE5hMbxnha KkJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=tZFjePgLMvsDi/m2Cvy7/csb6I6R8sktPrrPN2yhQIc=; fh=DXWn6ntU+2mVrtCLV20QkIFIZg2nOb+KSWbbAOo4P6I=; b=J80p1RuHPhtxmOeZFVMndlMgi2WP6vG4GKEmgAwdMSISSostiY/irvEib90GrAe3h3 Cj94lALPKLT2nYTUrnjDkngDqAJDDcARb/wfnEG2D8AMcduEzSFi3ZeRPeyvNrzwGsTa Uq0wju2F8jPT4Vyl/hysvY+02hJsNS4PGoKKdmb+61OB0IuFoXwKqJhvBUZ97zige/5l Le2PF2F98l0L2NNVOR723xTbgaNoLiE5Qc9dx58flgSVYvKHvgpG6ndsevn8deV4XEQE 4DQCvB858AXcMqk9XbVP4ufWwXPTnSbaWRgmS4DB1x4KijFSAJ0X+KWwLQ4T/XewfvG2 7xLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=L62DnYLR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id v192-20020a252fc9000000b00d9a5f4f030asi3757031ybv.270.2023.10.27.14.51.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 14:51:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=L62DnYLR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 0542182589B5; Fri, 27 Oct 2023 14:51:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233129AbjJ0VvF (ORCPT + 99 others); Fri, 27 Oct 2023 17:51:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235160AbjJ0VvE (ORCPT ); Fri, 27 Oct 2023 17:51:04 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D57BB0 for ; Fri, 27 Oct 2023 14:51:01 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-53eeb28e8e5so1482a12.1 for ; Fri, 27 Oct 2023 14:51:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1698443458; x=1699048258; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=tZFjePgLMvsDi/m2Cvy7/csb6I6R8sktPrrPN2yhQIc=; b=L62DnYLROg1LEFU894TOeY/x8bKihLFZAecXxreDhRHsbxrhYdBsxX/BurV0inW0Fp UOx9gUsaZQ+2sBdIvMdy3ietIyeEVPayQcHuEWpKDNkoonww3vtn3Y7bPoaxislTZc5j 9GFpJqilTXmk9UQLYgVS7Ic0HyboEKP2hvVN6FGbkSiyqrnLu/4eQ8LAGobpy5qYzt++ jqjS6uPr9ArJOGUfcn86VbPzx561nx2jmuD6Na/g4So++TmmhgYEMkK/iLECp/FvzOmP g2Ct7B6Rr/eEFj9PRudCI/Y6VdLIb4Q3hBjuUf6kDdV6IjIjU2pNxXEKojCar70Van1N IPBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698443458; x=1699048258; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tZFjePgLMvsDi/m2Cvy7/csb6I6R8sktPrrPN2yhQIc=; b=VK8gD7LTwJ/FG6RosQe6CKmYUzcx9yNiXYY13IQF2zSLzjaWT9xIhXQO1drhWsmAAE KSQdF1JrpgVl0Yq2uRA6qTzOt/47evMRI9uPvoMDXPXXLC/kL3f0X3UvGitNrfgLPL2e gM97KrZfvdr31Lq2tdzfb1V4MDvb/iL6TpiybusKitVzxQmyyCjoOnnkQJmSUYpFR4Wv Ct2Xy/HxkSmjXmvIRI/QSE5jMUARAQhaqqVWCdWccZ9zk2OSdzpkjmhzNdQlYqdGQuL5 N8SJSVhGkJ+kgLB4Np56jU0KgF3tODms9XvIM845orqTGNVu4idy1YBF/tZeiAxZBAhU 6jhg== X-Gm-Message-State: AOJu0YxELu439rZBg3iWwkSj38SjiJYEapsKA1dOTlIPw9IWfB4XKlX5 +QJC9IBwCYBl9jMqWkf0Y8DCNaIJiP/CpLLMaRRh2grQptzrgRZoX9o= X-Received: by 2002:a50:9552:0:b0:540:9dbd:4b8 with SMTP id v18-20020a509552000000b005409dbd04b8mr37083eda.2.1698443458524; Fri, 27 Oct 2023 14:50:58 -0700 (PDT) MIME-Version: 1.0 References: <20231027213059.3550747-1-ptf@google.com> In-Reply-To: <20231027213059.3550747-1-ptf@google.com> From: Patrick Thompson Date: Fri, 27 Oct 2023 17:50:46 -0400 Message-ID: Subject: Re: [PATCH v2] net: r8169: Disable multicast filter for RTL_GIGA_MAC_VER_46 To: netdev@vger.kernel.org Cc: Chun-Hao Lin , "David S. Miller" , Eric Dumazet , Heiner Kallweit , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org, nic_swsd@realtek.com, Jeffery Miller Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 27 Oct 2023 14:51:14 -0700 (PDT) Hello Heiner, I haven't heard back from realtek about the possibility that this affects other MAC_VERs. Do you think it's acceptable to merge this patch for now and if/when we hear back from realtek I can adjust the function again? Thank you, Patrick On Fri, Oct 27, 2023 at 5:31=E2=80=AFPM Patrick Thompson w= rote: > > MAC_VER_46 ethernet adapters fail to detect eapol packets unless > allmulti is enabled. Add exception for VER_46 in the same way VER_35 > has an exception. > > Fixes: 6e1d0b898818 ("r8169:add support for RTL8168H and RTL8107E") > Signed-off-by: Patrick Thompson > --- > > Changes in v2: > - add Fixes tag > - add net annotation > - update description > > drivers/net/ethernet/realtek/r8169_main.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethe= rnet/realtek/r8169_main.c > index 361b90007148b..a775090650e3a 100644 > --- a/drivers/net/ethernet/realtek/r8169_main.c > +++ b/drivers/net/ethernet/realtek/r8169_main.c > @@ -2584,7 +2584,8 @@ static void rtl_set_rx_mode(struct net_device *dev) > rx_mode |=3D AcceptAllPhys; > } else if (netdev_mc_count(dev) > MC_FILTER_LIMIT || > dev->flags & IFF_ALLMULTI || > - tp->mac_version =3D=3D RTL_GIGA_MAC_VER_35) { > + tp->mac_version =3D=3D RTL_GIGA_MAC_VER_35 || > + tp->mac_version =3D=3D RTL_GIGA_MAC_VER_46) { > /* accept all multicasts */ > } else if (netdev_mc_empty(dev)) { > rx_mode &=3D ~AcceptMulticast; > -- > 2.42.0.820.g83a721a137-goog >