[PATCH net-next 1/2] dt-bindings: net: snps,dwmac: Time Based Scheduling

From: Rohan G Thomas
Date: Wed Sep 27 2023 - 09:33:41 EST


Add new property tbs-enabled to enable Time Based Scheduling(TBS)
support per Tx queues. TBS feature can be enabled later using ETF
qdisc but for only those queues that have TBS support enabled.

Commit 7eadf57290ec ("net: stmmac: pci: Enable TBS on GMAC5 IPK PCI
entry") enables similar support from the stmmac pci driver.

Signed-off-by: Rohan G Thomas <rohan.g.thomas@xxxxxxxxx>
---
Documentation/devicetree/bindings/net/snps,dwmac.yaml | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
index 5c2769dc689a..db1eb0997602 100644
--- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
@@ -399,6 +399,14 @@ properties:
type: boolean
description: TX checksum offload is unsupported by the TX queue.

+ snps,tbs-enabled:
+ type: boolean
+ description:
+ Enable Time Based Scheduling(TBS) support for the TX queue. TSO and
+ TBS cannot be supported by a queue at the same time. If TSO support
+ is enabled, then default TX queue 0 for TSO and in that case don't
+ enable TX queue 0 for TBS.
+
allOf:
- if:
required:
--
2.26.2