]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
6.6-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 27 Jan 2024 00:58:12 +0000 (16:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 27 Jan 2024 00:58:12 +0000 (16:58 -0800)
added patches:
dt-bindings-net-snps-dwmac-tx-coe-unsupported.patch

queue-6.6/dt-bindings-net-snps-dwmac-tx-coe-unsupported.patch [new file with mode: 0644]
queue-6.6/series

diff --git a/queue-6.6/dt-bindings-net-snps-dwmac-tx-coe-unsupported.patch b/queue-6.6/dt-bindings-net-snps-dwmac-tx-coe-unsupported.patch
new file mode 100644 (file)
index 0000000..32a3819
--- /dev/null
@@ -0,0 +1,40 @@
+From 6fb8c20a04be234cf1cfd4bdd8cfb8860c9d2d3b Mon Sep 17 00:00:00 2001
+From: Rohan G Thomas <rohan.g.thomas@intel.com>
+Date: Sat, 16 Sep 2023 14:33:11 +0800
+Subject: dt-bindings: net: snps,dwmac: Tx coe unsupported
+
+From: Rohan G Thomas <rohan.g.thomas@intel.com>
+
+commit 6fb8c20a04be234cf1cfd4bdd8cfb8860c9d2d3b upstream.
+
+Add dt-bindings for coe-unsupported property per tx queue. Some DWMAC
+IPs support tx checksum offloading(coe) only for a few tx queues.
+
+DW xGMAC IP can be synthesized such that it can support tx coe only
+for a few initial tx queues. Also as Serge pointed out, for the DW
+QoS IP tx coe can be individually configured for each tx queue. This
+property is added to have sw fallback for checksum calculation if a
+tx queue doesn't support tx coe.
+
+Signed-off-by: Rohan G Thomas <rohan.g.thomas@intel.com>
+Acked-by: Conor Dooley <conor.dooley@microchip.com>
+Signed-off-by: David S. Miller <davem@davemloft.net>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ Documentation/devicetree/bindings/net/snps,dwmac.yaml |    5 +++++
+ 1 file changed, 5 insertions(+)
+
+--- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml
++++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
+@@ -394,6 +394,11 @@ properties:
+               When a PFC frame is received with priorities matching the bitmask,
+               the queue is blocked from transmitting for the pause time specified
+               in the PFC frame.
++
++          snps,coe-unsupported:
++            type: boolean
++            description: TX checksum offload is unsupported by the TX queue.
++
+         allOf:
+           - if:
+               required:
index 7b136d9b49879d7e37f1ce37f55799698e12e9ff..463a8c54a54344d4952d6156cb277fa022f48656 100644 (file)
@@ -142,3 +142,4 @@ ksmbd-fix-potential-circular-locking-issue-in-smb2_set_ea.patch
 ksmbd-don-t-increment-epoch-if-current-state-and-request-state-are-same.patch
 ksmbd-send-lease-break-notification-on-file_rename_information.patch
 ksmbd-add-missing-set_freezable-for-freezable-kthread.patch
+dt-bindings-net-snps-dwmac-tx-coe-unsupported.patch