Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1358694rdh; Fri, 27 Oct 2023 11:42:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEtgCiSmVIqD9lqJobj0UmavhzVeM+ZdtPFJOOCuy1y7h2xus/Ffp1YVfqyyRwEFIdRPTaG X-Received: by 2002:a81:ae63:0:b0:5a7:bfbf:1bbb with SMTP id g35-20020a81ae63000000b005a7bfbf1bbbmr3575307ywk.17.1698432163215; Fri, 27 Oct 2023 11:42:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698432163; cv=none; d=google.com; s=arc-20160816; b=F/GLV6MZd/qCLI1IHW4TLqnIrAh0yHB9Beos9dEAbrPp5gKx33F10oU3vDlM87U6u0 tA9A7jum0GfgogX55XiC3+/6dxDTiiCW2InGyOg8JLkKYoTyiLQYpZuIgBOCzF8fETge 87yVWxl+YG2TXvB2iFOw4rH12kKfTXcCiS1xNk3+HxJCkeootSsa/f3SsA1XPbdXyTtT hYhfLStD0apozlCSywYfbTFHqoP8qru19NO+dSA4wz0bVehATwGPE2h4lrYiNsH2ubjX dA8B3s0VJC7tIsFybKe3EU/9UZIwnnZeMlOFwswaA9bD4Bc70aUA7HFpMm/SWDVYGXVK lXPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YAfUWxLC1GUf2fMq8BZjyh6NawC+UIiZZsgihycoOF8=; fh=vzyf+C+yYBrfnGgakccei1OwP5XfnLkCKr0/n3k3RYE=; b=RTEoiYsonC3JJujxrz32E4oOGhk7lt14pdiuOFV4kHSO/gf+gOy8NQKb8OtotpA9iM 9/vvtEEX3f0Z9rB6V22wswW42iB063QOAcEJ2oRwNVXr4f99fg01Nb2YxwG6eDfjfJdP lcNlhbKlRslCbv6zP6Mhr0AkDXInDO9jCBTbXR7RkdiqRL3RT1Wxp5AfeNR8O+GD9nvI 778C/XqseGs8gM0GlJjChrkMrp8GLTEA2/tfW9ppjsS7QCkZt1OThmO3o4thgBPkyAoZ PiLhzC1PLgLYnVy4gJrFJM3CZsZV9Ixj61OuNkqZhM8FIpM0yMY5cTOuruG7z5IVrPbE yOaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=iClpXEym; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id w123-20020a0ded81000000b005af9db2a010si2886519ywe.497.2023.10.27.11.42.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 11:42:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=iClpXEym; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id C6E8F80A7E7B; Fri, 27 Oct 2023 11:41:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232582AbjJ0Sle (ORCPT + 99 others); Fri, 27 Oct 2023 14:41:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235188AbjJ0SlY (ORCPT ); Fri, 27 Oct 2023 14:41:24 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F7AC30F3; Fri, 27 Oct 2023 11:31:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=YAfUWxLC1GUf2fMq8BZjyh6NawC+UIiZZsgihycoOF8=; b=iClpXEymV0uPqKDpSL6LJaRvLT czGTYAl1cxP2ielr6UGJSBLC/dKdvju8+FslemWkqy6SdQHYMnWNyqqdLxi7/m+EP2NSIKTcNZwjG HXLE6EV2HSMFLwJ1aLOE1ZFP57R3gnMORBlbLEg4G55xfouAz66ufGyoAk7nq5YkxueE=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qwRbq-000MPT-PO; Fri, 27 Oct 2023 20:31:02 +0200 Date: Fri, 27 Oct 2023 20:31:02 +0200 From: Andrew Lunn To: Jacob Keller Cc: Florian Fainelli , netdev@vger.kernel.org, Doug Berger , Broadcom internal kernel review list , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Heiner Kallweit , Russell King , Vladimir Oltean , Tariq Toukan , Gal Pressman , Willem de Bruijn , Daniil Tatianin , Simon Horman , Justin Chen , Ratheesh Kannoth , Joe Damato , Vincent Mailhol , Jiri Pirko , open list Subject: Re: [PATCH net-next v2 5/5] net: bcmgenet: Interrogate PHY for WAKE_FILTER programming Message-ID: <47ed806c-69b9-401b-81ee-ec88235092a6@lunn.ch> References: <20231026224509.112353-1-florian.fainelli@broadcom.com> <20231026224509.112353-6-florian.fainelli@broadcom.com> <0a164b9b-4f9b-4886-b19e-48298cdcff8d@intel.com> <2eeb8e24-4122-450b-adf5-8c8a746db518@broadcom.com> <6456509b-9df7-47e3-b941-c307594a80d2@intel.com> <93abb8d0-40c6-4758-a8de-c79d7acce6bc@broadcom.com> <2ad82651-8e52-47ea-a567-2382b26f3c71@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2ad82651-8e52-47ea-a567-2382b26f3c71@intel.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Fri, 27 Oct 2023 11:41:36 -0700 (PDT) > It does seem like an acceptable compromise here, and perhaps being > driver specific is ok, since this does depend a lot on the individual > device support, thus broadly applying this across all drivers could be > problematic. The Marvell PHYs have a similar capability. Its actually more feature rich. It allows upto 8 matches, each being of up to 128 bytes, and you can enable/disable each byte within the 128 bytes. This would in fact be better for Florian's use case, since it could match deeper into the frame and reduce the false positive. But its a Marvell device... My real point is, other hardware does have similar capabilities. Its unclear if anybody else will ever actually need it, but we should try to avoid a one device solution. Andrew