UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 65509

Petalinux/OSL - How do I represent the AXI Ethernet checksum offload option in the device-tree?

Description

The AXI Ethernet Subsystem configuration includes "No Checksum Offload" , "Partial Checksum Offload" & "Full checksum Offload" options.

How do you represent the checksum offload option selected in hardware in the device-tree node?

Solution

The checksum selection in device-tree node is represented through TXCSUM & RXCSUM.

See below for details of checksum values based on the checksum offload selected.

For Example:

In hardware, if the AXI Ethernet Subsystem is configured to Full CheckSum Offload for both TX and RX , the below entries should be added in the device tree:

xlnx,rxcsum = <0x2>;

xlnx,txcsum = <0x2>;


Note: If checksum offload entry is not declared, it is considered to be not used or disabled.

AR# 65509
Date Created 09/28/2015
Last Updated 11/09/2015
Status Active
Type General Article
Devices
  • Zynq-7000
  • Artix-7
  • Kintex-7
  • Virtex-7
Tools
  • PetaLinux
IP
  • AXI Ethernet