Skip to content

Commit 6fb8c20

Browse files
rohangt07davem330
authored andcommitted
dt-bindings: net: snps,dwmac: Tx coe unsupported
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>
1 parent 1cb6422 commit 6fb8c20

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Documentation/devicetree/bindings/net/snps,dwmac.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,11 @@ properties:
394394
When a PFC frame is received with priorities matching the bitmask,
395395
the queue is blocked from transmitting for the pause time specified
396396
in the PFC frame.
397+
398+
snps,coe-unsupported:
399+
type: boolean
400+
description: TX checksum offload is unsupported by the TX queue.
401+
397402
allOf:
398403
- if:
399404
required:

0 commit comments

Comments
 (0)