Bug 1432 - net/tap: use kernel for TSO offload
Summary: net/tap: use kernel for TSO offload
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: ethdev (show other bugs)
Version: 24.03
Hardware: All All
: Normal enhancement
Target Milestone: ---
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2024-05-02 04:33 CEST by Stephen Hemminger
Modified: 2024-05-02 04:33 CEST (History)
0 users



Attachments

Description Stephen Hemminger 2024-05-02 04:33:19 CEST
The kernel TAP device supports TSO for doing segmentation offload.
This should be used instead of doing GSO inside the TAP PMD because it will improve performance.

If using kernel TSO, no copy is necessary in PMD and only a single syscall would be needed for the TSO mbuf.  For example, sending a 64K TSO mbuf would become single writev(); instead of multiple allocations and copies followed by multiple writev's.

Doing this would also simplfy code and error handling.

Note You need to log in before you can comment on or make changes to this bug.