Skip to content

Commit 6803583

Browse files
ibirnbaumcfriedt
authored andcommitted
dts: bindings: ethernet: adjust Xilinx GEM binding
Adjust the DT binding of the Xilinx GEM controller so that the explicit enable flags for RX/TX hardware checksum offloading are turned into explicit disable flags. Signed-off-by: Immo Birnbaum <[email protected]>
1 parent 4ef8e14 commit 6803583

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

dts/bindings/ethernet/xlnx,gem.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -225,19 +225,21 @@ properties:
225225
Optional feature flag - Enable frames to be received in half-duplex
226226
mode while transmitting.
227227
228-
rx-checksum-offload:
228+
disable-rx-checksum-offload:
229229
type: boolean
230230
description: |
231-
Optional feature flag - Enable RX IP/TCP/UDP checksum offload to
232-
hardware. Frames with bad IP, TCP or UDP checksums will be discarded.
233-
This option is NOT supported by the QEMU implementation of the GEM!
231+
Disable RX IPv4/IPv6/TCP/UDP checksum offload to hardware. Checksum
232+
offloading is enabled by default, and automatically disabled for
233+
QEMU targets, where hardware checksum offloading is not emulated,
234+
without having to set this flag explicitly.
234235
235-
tx-checksum-offload:
236+
disable-tx-checksum-offload:
236237
type: boolean
237238
description: |
238-
Optional feature flag - Enable TX IP/TCP/UDP checksum offload to
239-
hardware. This option is NOT supported by the QEMU implementation
240-
of the GEM!
239+
Disable TX IPv4/IPv6/TCP/UDP checksum offload to hardware. Checksum
240+
offloading is enabled by default, and automatically disabled for
241+
QEMU targets, where hardware checksum offloading is not emulated,
242+
without having to set this flag explicitly.
241243
242244
disable-pause-copy:
243245
type: boolean

0 commit comments

Comments
 (0)