diff options
author | Rohan G Thomas <rohan.g.thomas@intel.com> | 2023-09-16 14:33:11 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-31 16:18:58 -0800 |
commit | 364366f5bbd95d0a62c9ec79a5b80aae21266ba3 (patch) | |
tree | 2676e322a5dd43fcfe0f8c967a7fe1954453850f /Documentation/devicetree | |
parent | 4c78c771f3aa700e0c30f7330f793af523b7dda5 (diff) | |
download | linux-stable-364366f5bbd95d0a62c9ec79a5b80aae21266ba3.tar.gz linux-stable-364366f5bbd95d0a62c9ec79a5b80aae21266ba3.tar.bz2 linux-stable-364366f5bbd95d0a62c9ec79a5b80aae21266ba3.zip |
dt-bindings: net: snps,dwmac: Tx coe unsupported
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>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/net/snps,dwmac.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index ddf9522a5dc2..5c2769dc689a 100644 --- 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: |