Skip to content

Commit

Permalink
dt-bindings: net: snps,dwmac: Tx coe unsupported
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rohan G Thomas authored and David S. Miller committed Sep 18, 2023
1 parent 1cb6422 commit 6fb8c20
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Documentation/devicetree/bindings/net/snps,dwmac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6fb8c20

Please sign in to comment.