Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp931697pxp; Wed, 16 Mar 2022 21:44:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwUkW9o031/347FXBRGcGuTDfr8XPxTihYZliUHywqh3JsFwvJ3i+EZm9cwocufNFOL2h/ X-Received: by 2002:a17:90b:384:b0:1bf:cd0f:81b4 with SMTP id ga4-20020a17090b038400b001bfcd0f81b4mr3201877pjb.199.1647492261174; Wed, 16 Mar 2022 21:44:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647492261; cv=none; d=google.com; s=arc-20160816; b=WydCJYWmDaVKw8Cg7lA68fKhdzt5zDBOfyTLwR2dMti1GTZ90HW/t0C4uxNEpQJKMV JG5mRmaLv7jfhXtjpLg2TRMRyS9YL8Ih/Cvi8MKHmoMlPup/Xx7T5op+n4AEKpe0u+lR FM9iL21R2Je8v1wU+DfzLGsXuJfcl7vWIBtzcZx7i0BXVFgwK+lPDpO3VpRxfz/aZ5kK iR+3neijVfcyFvYBvM8NkUd6oymJvjGRF9qAK9KhcX4WWGr5rKAQ/9TlE9JfK5gJm9LJ H0tGnUeDe3H8ZhJVCoibx6BAKoiK4zAKzH5vlq9VhpkkZUWomLmZ/p/llR0UrlKdCBHr +/4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=y/D/VegJJq91m8dSg41+QkZwRCQzviQXsxlx3QK8VN8=; b=yEUiNasKhmLkj7N0mi7uT6IYoBuTbfbGQ1cEQPdZx6+pYEvF8gq+uDF+uqWtN88iBO xg4kJ5pZY2gDTuFR7PHIqVlWUV796Z/pBS0Qe93SqQLxp+ipvBL71AUEFJ7s8+s6We/J nfQy+W6XS4/1KxohRMOBxSdvbNRKDd7wvyZ+UxEU2sZBsSJIOxr5mKOnJkOK589NnEGH ZhCbhkN3N+lErYgxco7Sm34OppY5lEv1o8aMPPYIoyGK9alGYwDjHRvj2WKRtT6+cLPQ 2RU+JOnRSvRFSpZTLy/6p++RI8ky+dBdvOCsyY2ceQsGnjAPF6FQOHyDB7iauyGzXt+C bQpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LgbWhMGn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l68-20020a632547000000b003816043f101si1027991pgl.758.2022.03.16.21.44.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 21:44:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LgbWhMGn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 331D813AA0B; Wed, 16 Mar 2022 21:07:09 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239503AbiCOFJD (ORCPT + 99 others); Tue, 15 Mar 2022 01:09:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233028AbiCOFJC (ORCPT ); Tue, 15 Mar 2022 01:09:02 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C92B3645E; Mon, 14 Mar 2022 22:07:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 47B42B809D2; Tue, 15 Mar 2022 05:07:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B688EC340E8; Tue, 15 Mar 2022 05:07:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647320868; bh=rMie03k3BO34+o88YfxYoeUy5yYs6o8Z5WGNRtUX6zQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=LgbWhMGnAqnil1zn+wUVOxqV+vQT2YuSWf9hCWbiQE8BqXfdYu99mVb/BSdgxc7Ix ig6vimVdeuhTIpExLx9DZ++1UdztPhREqVI9HvhjdDgJQazmcDOyc5Hpm17Jj5NP4F VGChJMVL3MxFyxqtQuwbx5hE0yTZ9CmNxImdyuPLV72pusqfW7oPlwtu6sm8h7kHe2 kwNvfzFcJN1hXIvNP7cA+krgydwPMx9O07lbvtiwZgroBhFG5N1G0DqNJHOcxp5UEN gvyVO7RxrPnMmeyP2frlcgU0grAe3L62FKV79X9FKtpQdjPAmo/wEkFFMgsdanTqNb hrkjV3i3fnjeQ== Date: Mon, 14 Mar 2022 22:07:46 -0700 From: Jakub Kicinski To: Michael Walle Cc: Russell King , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Lunn , Heiner Kallweit , "David S . Miller" Subject: Re: [PATCH net-next] net: sfp: add 2500base-X quirk for Lantech SFP module Message-ID: <20220314220746.561b1da8@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20220312205014.4154907-1-michael@walle.cc> References: <20220312205014.4154907-1-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On Sat, 12 Mar 2022 21:50:14 +0100 Michael Walle wrote: > The Lantech 8330-262D-E module is 2500base-X capable, but it reports the > nominal bitrate as 2500MBd instead of 3125MBd. Add a quirk for the > module. > > The following in an EEPROM dump of such a SFP with the serial number > redacted: > > 00: 03 04 07 00 00 00 01 20 40 0c 05 01 19 00 00 00 ???...? @????... > 10: 1e 0f 00 00 4c 61 6e 74 65 63 68 20 20 20 20 20 ??..Lantech > 20: 20 20 20 20 00 00 00 00 38 33 33 30 2d 32 36 32 ....8330-262 > 30: 44 2d 45 20 20 20 20 20 56 31 2e 30 03 52 00 cb D-E V1.0?R.? > 40: 00 1a 00 00 46 43 XX XX XX XX XX XX XX XX XX XX .?..FCXXXXXXXXXX > 50: 20 20 20 20 32 32 30 32 31 34 20 20 68 b0 01 98 220214 h??? > 60: 45 58 54 52 45 4d 45 4c 59 20 43 4f 4d 50 41 54 EXTREMELY COMPAT > 70: 49 42 4c 45 20 20 20 20 20 20 20 20 20 20 20 20 IBLE Any idea what the "Extremely Compatible" is referring to? :-D > Signed-off-by: Michael Walle A quirk like this seems safe to apply to net and 5.17, still. Would you prefer that or net-next as marked?