Hi Janne,

There is no undefined behavior: if HW csum is NOT calculated (not
supported by HW OR not configured by application OR override “NOT
insert”) then packet will not be modified (packet will be sent with
the value set by the application).

“HW Supported” = what dpdk reports as HW capabilities (odp_pktio_capability())
“Configured” = what is configured by application with
odp_pktio_config(). This is a subset of what is “HW Supported”.


Behavior:

1. Override not set (default) => depends on „Configured”

2. Override set: do not insert checksum => HW csum NOT calculated

3. Override set: insert checksum => depends on “HW Supported”

BR,
Bogdan

Reply via email to