Skip to content

[Feature request]: AF_XDP TX/RX checksum offloads #343

@zxjcarrot

Description

@zxjcarrot

Preliminary Actions

  • I have searched the existing issues and didn't find a duplicate.

Driver Type

Linux kernel driver for Elastic Network Adapter (ENA)

Motivation

Would love to have Tx/Rx Checksum offload support for AF_XDP sockets to reduce CPU overhead. This is supported in DPDK drivers and the kernel network stack. This also makes user space network stacks built on top of AF_XDP competitive against DPDK-based solutions.

Solution

Kernel already has metadata defined: https://www.kernel.org/doc/html/next/networking/xsk-tx-metadata.html
And there is ongoing work: https://lore.kernel.org/bpf/[email protected]/T/#t
It would be great for ENA to implement such an offload.

Contact Details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Linux ENA driverfeature requestRequest new feature and code enhancementtriageDetermine the priority and severity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions