From ca604c0a861ff497d4f2b368215d9ce491fd84f0 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Fri, 26 Jan 2024 16:58:12 -0800 Subject: [PATCH] 6.6-stable patches added patches: dt-bindings-net-snps-dwmac-tx-coe-unsupported.patch --- ...gs-net-snps-dwmac-tx-coe-unsupported.patch | 40 +++++++++++++++++++ queue-6.6/series | 1 + 2 files changed, 41 insertions(+) create mode 100644 queue-6.6/dt-bindings-net-snps-dwmac-tx-coe-unsupported.patch 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 index 00000000000..32a38196b76 --- /dev/null +++ b/queue-6.6/dt-bindings-net-snps-dwmac-tx-coe-unsupported.patch @@ -0,0 +1,40 @@ +From 6fb8c20a04be234cf1cfd4bdd8cfb8860c9d2d3b Mon Sep 17 00:00:00 2001 +From: Rohan G Thomas +Date: Sat, 16 Sep 2023 14:33:11 +0800 +Subject: dt-bindings: net: snps,dwmac: Tx coe unsupported + +From: Rohan G Thomas + +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 +Acked-by: Conor Dooley +Signed-off-by: David S. Miller +Signed-off-by: Greg Kroah-Hartman +--- + 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: diff --git a/queue-6.6/series b/queue-6.6/series index 7b136d9b498..463a8c54a54 100644 --- a/queue-6.6/series +++ b/queue-6.6/series @@ -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 -- 2.47.3