Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2527687rdh; Sun, 26 Nov 2023 09:20:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IFJV18OFEBHf8BizGWs0hP7CZx8tMADIBKNiBOLSBv1WGLKz57TBlGEMVkQ1O8X9ciaFvh7 X-Received: by 2002:a17:902:9882:b0:1cf:b14a:257e with SMTP id s2-20020a170902988200b001cfb14a257emr4579733plp.50.1701019240154; Sun, 26 Nov 2023 09:20:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701019240; cv=none; d=google.com; s=arc-20160816; b=vO7lcZaIX7LPTaBF4kKIGq64Zz9tmoGBbAxa1jsyXUcKXr8DFD6XhDQgWAyOer3Nv1 CQlHn51JbXFCEUg66RkcjKse5MtcndDRMCpmMKEdpHOVw1s3v3QGHDA1gXIZ4sOhhGwM hVkwiZYTgixdhcEgY33Bu9IziIZGR6E4FMttmKeZ/SfVJwRX42RcpyDEJW5wlR9AKBdY Cld/qXJNqO4SRMXziKbmBdNvujnB9f9SYUinWIurQ/RmdI4CAQ0+XLLxoOrBItzrcWIb VEwPVguUtaiKF2i1Kz5mg5LArm0TLbEfa9BYA58LcIvvAC4AYYsvxV75RX8Ye1QYXAQ2 yKzQ== 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=4MBWFFSClU/aEAnkgxSP6reaZoimcEhMr3ed7yybq+M=; fh=HFFMPfTrgAtEasjaTE8ApBNCMU926X5MmrEQhdzlmx8=; b=loCqloevs0cvzXVNdHYrtSgtHVAAMDK/l3T/6pluwg/b0Yk0qZigPwaIDy7gbO/c2d QUXwmsomRV2ubhb6rhWo3mI8qtcC8AFDBHYYR/6/Ofj8r/9kwcaXgMDc+ZvknXvHe9jE vGrY0jSvd1gbSWvx4+6jciDkO/jcUUYjxMhZS9la8YjT/ChBq1ADL6Yqvl8PWtyak062 /Ln2VhlVxzSQYUIzAl6OMEMMG4vksp8h4aMls5cwwqTKUpfVRLJ55h7r7nOo/qeVj3mR +KPAlVBlNuNmRNj99QVC7R8YoQNkCXeTf56UI747UhgWPG9NwlKya7j8xRo671RFC8hm oejg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=hsZEBQ+u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id t15-20020a170902e84f00b001cfc3563bb6si2038617plg.216.2023.11.26.09.20.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 09:20:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=hsZEBQ+u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 9D2E380608EF; Sun, 26 Nov 2023 09:20:37 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230374AbjKZRUW (ORCPT + 99 others); Sun, 26 Nov 2023 12:20:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229489AbjKZRUV (ORCPT ); Sun, 26 Nov 2023 12:20:21 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57166FA; Sun, 26 Nov 2023 09:20:27 -0800 (PST) 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=4MBWFFSClU/aEAnkgxSP6reaZoimcEhMr3ed7yybq+M=; b=hsZEBQ+u8iH9Hs0HeYuSUu6EkU XZckZ4Bn2MGdjRy/wATcotRT2fVdBnGryCcx8+1hzLR7Z2A3O+aq3Ni+xDGB7eormGj7LX1+7N5X3 xnPm07ZamDJDbK60mlLAhyfsbNPIQqmm9gew4cZcnfAEEgIOyUT2+Omj0bZVd9ked034=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1r7Ino-001GFC-C1; Sun, 26 Nov 2023 18:20:16 +0100 Date: Sun, 26 Nov 2023 18:20:16 +0100 From: Andrew Lunn To: Luo Jie Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, hkallweit1@gmail.com, linux@armlinux.org.uk, corbet@lwn.net, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v6 1/6] net: phy: introduce core support for phy-mode = "10g-qxgmii" Message-ID: References: <20231126060732.31764-1-quic_luoj@quicinc.com> <20231126060732.31764-2-quic_luoj@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231126060732.31764-2-quic_luoj@quicinc.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,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 howler.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 (howler.vger.email [0.0.0.0]); Sun, 26 Nov 2023 09:20:37 -0800 (PST) On Sun, Nov 26, 2023 at 02:07:27PM +0800, Luo Jie wrote: > From: Vladimir Oltean > > 10G-QXGMII is a MAC-to-PHY interface defined by the USXGMII multiport > specification. It uses the same signaling as USXGMII, but it multiplexes > 4 ports over the link, resulting in a maximum speed of 2.5G per port. > > Some in-tree SoCs like the NXP LS1028A use "usxgmii" when they mean > either the single-port USXGMII or the quad-port 10G-QXGMII variant, and > they could get away just fine with that thus far. But there is a need to > distinguish between the 2 as far as SerDes drivers are concerned. Can this is split into two patches? > switch (interface) { > case PHY_INTERFACE_MODE_USXGMII: > - caps |= MAC_10000FD | MAC_5000FD | MAC_2500FD; > + caps |= MAC_10000FD | MAC_5000FD; > + fallthrough; This change seems to refer to the second paragraph, where as the rest of the code is about the first. Or does splitting this cause a bisect problem? Andrew