Message ID | 30ce8f45b8752c603acc861ebb2f18d74d2f8a07.1706105494.git.esben@geanix.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-37188-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp1052072dyi; Wed, 24 Jan 2024 07:11:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IETkONIa0eHc+VtswwxKUuahA3EucJ8eUz4o3G3XdrtYRr8744PVPVuClpo6cGSTb+YnW1x X-Received: by 2002:a05:6a00:cd3:b0:6dd:a072:867 with SMTP id b19-20020a056a000cd300b006dda0720867mr711821pfv.15.1706109082531; Wed, 24 Jan 2024 07:11:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706109082; cv=pass; d=google.com; s=arc-20160816; b=CJE4FbfQsr+r72M40R5+chH9W8zwJG5k4mbW8fF7cwo0nr3PspC204cScZOskxyQI6 r2bN/o5y3I+55Xoo62WG3v2naTwaTL6pZsKPEc2FqEsQgjoR804A71LoriNroYEHT9rn aig+yGS4iRAE5gbxz5231p2EbCPsKj8c274k3Dw2DysT+EuJLv31ZkpG5XJFn1NbMuVt OhH496UtkEDDXi4vxmeaDach5f84W341YSRmN2iLOmlXJWDSmETMp/WEfDHJeSY/foQL ZOIOI8hlVJVCAOJMFEQ3DhPSqfQTzS9RGBSkjyu78Lt8hzKAtxCaHELwKYOBzC0h8UKf pKgQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=OtP8seYmSML3PMcVqkf6WfD0WEgT7yLINsGkyK/5yRY=; fh=P4zhVpD3f8b9L6fDDWDKtJuKnm7gSM5F9Fa8zpi2Ni8=; b=BDwf+5hMogZeFxq9NrKNN5t8qBIwXEP/D1QFDg1xEC4qgR/4sMz2gG+YcQm+ifC8Vi sG58IvD6Mhsvjo/WPDIgg57TsjNyOXU97uG1cGW4NjqnpVkiJ7bzA+k+mC11jOVDxBP2 s5SG0UwbU9YQCvukd5ofBfBV+4TLUp6A9hx8zkZZmjhjhToNDUT0oIXbRp6x8y4nmQqe 3PaVEd6xPS86WNB9U2iGYaMwBvYFKFmZ+o2R4LevEOtcF6VkKBoxQBun0+tMSOkSz9nk daaHsLYxhKzBj3F9G2mbAVfAEf7gWxxODyX8zP92fI/hBwhp5Sbf97JcHRkvRZc/poDI TymQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=dWr1NJAh; arc=pass (i=1 spf=pass spfdomain=geanix.com dkim=pass dkdomain=geanix.com dmarc=pass fromdomain=geanix.com); spf=pass (google.com: domain of linux-kernel+bounces-37188-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37188-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id y2-20020a656c02000000b005ce17cdb6f3si11868914pgu.872.2024.01.24.07.11.22 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 07:11:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37188-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=dWr1NJAh; arc=pass (i=1 spf=pass spfdomain=geanix.com dkim=pass dkdomain=geanix.com dmarc=pass fromdomain=geanix.com); spf=pass (google.com: domain of linux-kernel+bounces-37188-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37188-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C3717299733 for <ouuuleilei@gmail.com>; Wed, 24 Jan 2024 14:50:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E6DA586138; Wed, 24 Jan 2024 14:33:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=geanix.com header.i=@geanix.com header.b="dWr1NJAh" Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 795ED60DD1; Wed, 24 Jan 2024 14:33:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=188.40.30.78 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706106795; cv=none; b=s+aKjtqMtZ3Ok2lQEyUjQcasr9ghqySyEr0Qy3pkb2jzFRlmLkA9DdQKMW4K30fab2TcyOYWr9VOu4sVe3HDHPi8405ulKpShqRx9FUuOXWpqtO2JQko8270Orq+Wg5ghRddD7bG6P9BqZr507XULOGoEvjaZz59hOWdC1GAVpU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706106795; c=relaxed/simple; bh=vPpxGx3jdv7gATwmSPZOYv7TCt6Wkt2McFWe5Uq8e1A=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lb/StMGq7WreeU26FcYRPYgNvau+2C43LA8fWjryCVILS8+3xLA/aUZ8WXoQ0Zc7/yTTKTrmiPRlnczM2DhoJdvS/KP2PimVV7FINo+jP4xWm//vwwfGhG8u8J9PzQOS5oazt903A6Kv7XVuuIKTjVe+X22EwmrlaegoEWvehSA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=geanix.com; spf=pass smtp.mailfrom=geanix.com; dkim=pass (2048-bit key) header.d=geanix.com header.i=@geanix.com header.b=dWr1NJAh; arc=none smtp.client-ip=188.40.30.78 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=geanix.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=geanix.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=OtP8seYmSML3PMcVqkf6WfD0WEgT7yLINsGkyK/5yRY=; b=dWr1NJAh2O4A7EL6JyQkEBZIVJ Mo2YCfPIx9Ge2pYrb4Lo+ndhfWGE7LOXst4905l2N6eudCvEiDQzdaOIgiejSl/mRHr+zm8chVoFu mz6q4BoKMTBkMxa41EFJbFAODYnSdLcuIHKVMnGbFgaSWav9gY0/NXISgY9pVoGcR4VrT62kcS4Gj Xp8BwMj+yQqZuHkUDHx+VSQ6UR/mmm5HAGXTO8Ibd8TtU4CFOzyWHEVN8qtDz5UvIaOqLJH9SHfkX cZ0GwA8Jf7uiMy5BUyDU5tZ/sCLmFeqMMH69DIHjO7CVA9ZEFbgSdr/Jc99QRc7OVW0Hpkj+bQtjA Azl0nMGQ==; Received: from sslproxy01.your-server.de ([78.46.139.224]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <esben@geanix.com>) id 1rSeJQ-000NaO-OK; Wed, 24 Jan 2024 15:33:08 +0100 Received: from [87.49.43.79] (helo=localhost) by sslproxy01.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <esben@geanix.com>) id 1rSeJP-0008fi-RM; Wed, 24 Jan 2024 15:33:08 +0100 From: Esben Haabendal <esben@geanix.com> To: devicetree@vger.kernel.org, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Giuseppe Cavallaro <peppe.cavallaro@st.com>, Jose Abreu <joabreu@synopsys.com> Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] dt-bindings: net: snps,dwmac: Add time-based-scheduling property Date: Wed, 24 Jan 2024 15:33:06 +0100 Message-ID: <30ce8f45b8752c603acc861ebb2f18d74d2f8a07.1706105494.git.esben@geanix.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <b365dc6f756a3fad4dfaa2675c98f4078aba8a55.1706105494.git.esben@geanix.com> References: <b365dc6f756a3fad4dfaa2675c98f4078aba8a55.1706105494.git.esben@geanix.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authenticated-Sender: esben@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.10/27164/Wed Jan 24 10:45:32 2024) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788985037278900451 X-GMAIL-MSGID: 1788985037278900451 |
Series |
[1/3] net: stmmac: do not clear TBS enable bit on link up/down
|
|
Commit Message
Esben Haabendal
Jan. 24, 2024, 2:33 p.m. UTC
Time Based Scheduling can be enabled per TX queue, if supported by the
controller.
Signed-off-by: Esben Haabendal <esben@geanix.com>
---
Documentation/devicetree/bindings/net/snps,dwmac.yaml | 6 ++++++
1 file changed, 6 insertions(+)
Comments
On Wed, Jan 24, 2024 at 03:33:06PM +0100, Esben Haabendal wrote: > Time Based Scheduling can be enabled per TX queue, if supported by the > controller. If time based scheduling is not supported by the controller, then the property should not be present! The presence of a property like this should mean that the feature is supported, using it is up to the operating system. That said, why is this a property that should be in DT? If support is per controller is it not sufficient to use the compatible to determine if this is supported? Thanks, Conor. > > Signed-off-by: Esben Haabendal <esben@geanix.com> > --- > Documentation/devicetree/bindings/net/snps,dwmac.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml > index 5c2769dc689a..301e9150ecc3 100644 > --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml > +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml > @@ -399,6 +399,12 @@ properties: > type: boolean > description: TX checksum offload is unsupported by the TX queue. > > + snps,time-based-scheduling: > + type: boolean > + description: > + Time Based Scheduling will be enabled for TX queue. > + This is typically not supported for TX queue 0. > + > allOf: > - if: > required: > -- > 2.43.0 >
Conor Dooley <conor@kernel.org> writes: > On Wed, Jan 24, 2024 at 03:33:06PM +0100, Esben Haabendal wrote: >> Time Based Scheduling can be enabled per TX queue, if supported by the >> controller. > > If time based scheduling is not supported by the controller, then the > property should not be present! The presence of a property like this > should mean that the feature is supported, using it is up to the > operating system. > > That said, why is this a property that should be in DT? It is added to the tx-queues-config object of snps,dwmac bindings. This entire object is about configuration of the ethernet controller, which is also what the purpose of the snps,time-based-scheduling. So yes, it is not specifically about describing what the hardware is capable of, but how the hardware is configured. It is a continuation of the current driver design. > If support is per controller is it not sufficient to use the > compatible to determine if this is supported? Are you suggesting to include the mapping from all supported compatible controllers to which TX queues supports TBS in the driver code? What would the benefit of that compared to describing it explicitly in the binding? And for the purpose of the above question, I am talking about it as if the binding was describing the hardware capability and not the configuration. /Esben >> Signed-off-by: Esben Haabendal <esben@geanix.com> >> --- >> Documentation/devicetree/bindings/net/snps,dwmac.yaml | 6 ++++++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml >> index 5c2769dc689a..301e9150ecc3 100644 >> --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml >> +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml >> @@ -399,6 +399,12 @@ properties: >> type: boolean >> description: TX checksum offload is unsupported by the TX queue. >> >> + snps,time-based-scheduling: >> + type: boolean >> + description: >> + Time Based Scheduling will be enabled for TX queue. >> + This is typically not supported for TX queue 0. >> + >> allOf: >> - if: >> required: >> -- >> 2.43.0 >>
On 25/01/2024 10:10, esben@geanix.com wrote: > Conor Dooley <conor@kernel.org> writes: > >> On Wed, Jan 24, 2024 at 03:33:06PM +0100, Esben Haabendal wrote: >>> Time Based Scheduling can be enabled per TX queue, if supported by the >>> controller. >> >> If time based scheduling is not supported by the controller, then the >> property should not be present! The presence of a property like this >> should mean that the feature is supported, using it is up to the >> operating system. >> >> That said, why is this a property that should be in DT? > > It is added to the tx-queues-config object of snps,dwmac bindings. This > entire object is about configuration of the ethernet controller, which > is also what the purpose of the snps,time-based-scheduling. > So yes, it is not specifically about describing what the hardware is > capable of, but how the hardware is configured. It is a continuation of > the current driver design. > >> If support is per controller is it not sufficient to use the >> compatible to determine if this is supported? > > Are you suggesting to include the mapping from all supported compatible > controllers to which TX queues supports TBS in the driver code? What > would the benefit of that compared to describing it explicitly in the > binding? The benefit is complying with DT bindings rules, saying that bindings describe hardware pieces, not drivers. > And for the purpose of the above question, I am talking about it as if > the binding was describing the hardware capability and not the > configuration. "if"? You wrote it is for driver design... Best regards, Krzysztof
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> writes: > On 25/01/2024 10:10, esben@geanix.com wrote: >> Conor Dooley <conor@kernel.org> writes: >> >>> On Wed, Jan 24, 2024 at 03:33:06PM +0100, Esben Haabendal wrote: >>>> Time Based Scheduling can be enabled per TX queue, if supported by the >>>> controller. >>> >>> If time based scheduling is not supported by the controller, then the >>> property should not be present! The presence of a property like this >>> should mean that the feature is supported, using it is up to the >>> operating system. >>> >>> That said, why is this a property that should be in DT? >> >> It is added to the tx-queues-config object of snps,dwmac bindings. This >> entire object is about configuration of the ethernet controller, which >> is also what the purpose of the snps,time-based-scheduling. >> So yes, it is not specifically about describing what the hardware is >> capable of, but how the hardware is configured. It is a continuation of >> the current driver design. >> >>> If support is per controller is it not sufficient to use the >>> compatible to determine if this is supported? >> >> Are you suggesting to include the mapping from all supported compatible >> controllers to which TX queues supports TBS in the driver code? What >> would the benefit of that compared to describing it explicitly in the >> binding? > > The benefit is complying with DT bindings rules, saying that bindings > describe hardware pieces, not drivers. Understood. >> And for the purpose of the above question, I am talking about it as if >> the binding was describing the hardware capability and not the >> configuration. > > "if"? You wrote it is for driver design... If you look at the current driver, all the devicetree bindings under rx-queues-config and tx-queues-config are violating the DT binding rules. Cleaning up that requires quite some work and I guess will break backwards compatibility to some extend. But that is another story. I will respin the patch according to Conor's suggestion. /Esben
On Thu, Jan 25, 2024 at 12:55:12PM +0100, esben@geanix.com wrote: > Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> writes: > > > On 25/01/2024 10:10, esben@geanix.com wrote: > >> Conor Dooley <conor@kernel.org> writes: > >> > >>> On Wed, Jan 24, 2024 at 03:33:06PM +0100, Esben Haabendal wrote: > >>>> Time Based Scheduling can be enabled per TX queue, if supported by the > >>>> controller. > >>> > >>> If time based scheduling is not supported by the controller, then the > >>> property should not be present! The presence of a property like this > >>> should mean that the feature is supported, using it is up to the > >>> operating system. > >>> > >>> That said, why is this a property that should be in DT? > >> > >> It is added to the tx-queues-config object of snps,dwmac bindings. This > >> entire object is about configuration of the ethernet controller, which > >> is also what the purpose of the snps,time-based-scheduling. > >> So yes, it is not specifically about describing what the hardware is > >> capable of, but how the hardware is configured. It is a continuation of > >> the current driver design. > >> > >>> If support is per controller is it not sufficient to use the > >>> compatible to determine if this is supported? > >> > >> Are you suggesting to include the mapping from all supported compatible > >> controllers to which TX queues supports TBS in the driver code? What > >> would the benefit of that compared to describing it explicitly in the > >> binding? > > > > The benefit is complying with DT bindings rules, saying that bindings > > describe hardware pieces, not drivers. > > Understood. > > >> And for the purpose of the above question, I am talking about it as if > >> the binding was describing the hardware capability and not the > >> configuration. > > > > "if"? You wrote it is for driver design... > > If you look at the current driver, all the devicetree bindings under > rx-queues-config and tx-queues-config are violating the DT binding > rules. > Cleaning up that requires quite some work and I guess will break > backwards compatibility to some extend. Let bygones be bygones. If something undesirable got in previously, breaking backwards compatibility there is not justified IMO.
On Wed, Jan 24, 2024 at 03:33:06PM +0100, Esben Haabendal wrote: > Time Based Scheduling can be enabled per TX queue, if supported by the > controller. > > Signed-off-by: Esben Haabendal <esben@geanix.com> > --- > Documentation/devicetree/bindings/net/snps,dwmac.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) This is not v1 which you are aware. Where's the justification or do I need to ask the same questions again? Here's the last discussion[1]. I'm still not clear on why this is needed. Seems like the combination of TBS and TSO capabilities provides enough information. If TSO is enabled for a queue, then don't enable TBS. This binding is already such a mess of properties, I'm inclined to say "what's one more", but it's death by 1000 cuts. Part of the problem is this binding is for not 1 IP block, but something that's evolved over at least 15 years. The question on configuration properties really comes down to who would configure things and when. If it's one time for the life of given h/w, then DT makes sense. If every user wants/needs to tweak the setting, then definitely shouldn't be in DT. Somewhere in the middle? Judgement call. > diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml > index 5c2769dc689a..301e9150ecc3 100644 > --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml > +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml > @@ -399,6 +399,12 @@ properties: > type: boolean > description: TX checksum offload is unsupported by the TX queue. > > + snps,time-based-scheduling: > + type: boolean > + description: > + Time Based Scheduling will be enabled for TX queue. > + This is typically not supported for TX queue 0. Make the property name clear it is an enable, not a capability. > + [1] https://lore.kernel.org/all/20230929051758.21492-1-rohan.g.thomas@intel.com/
Rob Herring <robh@kernel.org> writes: > On Wed, Jan 24, 2024 at 03:33:06PM +0100, Esben Haabendal wrote: >> Time Based Scheduling can be enabled per TX queue, if supported by the >> controller. >> >> Signed-off-by: Esben Haabendal <esben@geanix.com> >> --- >> Documentation/devicetree/bindings/net/snps,dwmac.yaml | 6 ++++++ >> 1 file changed, 6 insertions(+) > > This is not v1 which you are aware. Where's the justification or do I > need to ask the same questions again? Here's the last discussion[1]. Yes, I am aware. I must admit I only spotted the last discussion you are referring to after submitting my version of it. Sorry about that. > I'm still not clear on why this is needed. Seems like the combination > of TBS and TSO capabilities provides enough information. If TSO is > enabled for a queue, then don't enable TBS. > This binding is already such a mess of properties, I'm inclined to say > "what's one more", but it's death by 1000 cuts. Part of the problem is > this binding is for not 1 IP block, but something that's evolved over > at least 15 years. It definitely is a mess. A lot of these properties are not the type of properties that I think would be accepted today, as there is a lot of configuration like properties there. > The question on configuration properties really comes down to who > would configure things and when. If it's one time for the life of > given h/w, then DT makes sense. If every user wants/needs to tweak the > setting, then definitely shouldn't be in DT. Somewhere in the middle? > Judgement call. Some of the existsing configuration properties in there is something that users will need to tweak, such as the selection of queue scheduling and priority algorithms. The TBS vs TSO is probably somewhere in the middle. It might just be that choosing TSO for TX queue 0, and TBS for the remaining ones are something that everybody can agree on. But I am not really sure about that. I think we should drop this binding. I have found another simple solution for i.MX, which does not involve new bindings. https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=3b12ec8f618e Improving on that, I think we should make switching between TSO and TBS a run-time configurable thing, instead of creating binding for it. But I am unsure if that is really worth it. /Esben > >> diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml >> index 5c2769dc689a..301e9150ecc3 100644 >> --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml >> +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml >> @@ -399,6 +399,12 @@ properties: >> type: boolean >> description: TX checksum offload is unsupported by the TX queue. >> >> + snps,time-based-scheduling: >> + type: boolean >> + description: >> + Time Based Scheduling will be enabled for TX queue. >> + This is typically not supported for TX queue 0. > > Make the property name clear it is an enable, not a capability. > >> + > > [1] https://lore.kernel.org/all/20230929051758.21492-1-rohan.g.thomas@intel.com/
diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index 5c2769dc689a..301e9150ecc3 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -399,6 +399,12 @@ properties: type: boolean description: TX checksum offload is unsupported by the TX queue. + snps,time-based-scheduling: + type: boolean + description: + Time Based Scheduling will be enabled for TX queue. + This is typically not supported for TX queue 0. + allOf: - if: required: