Skip to contentSkip to conversation

net/tap: use kernel for TSO offload

DPDK/ethdev Bug 1432 [email protected] 1 participant 1 message May 2, 2024

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=1432

            Bug ID: 1432
           Summary: net/tap: use kernel for TSO offload
           Product: DPDK
           Version: 24.03
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: ethdev
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.