diff options
| author | Wang Zhan <wang.zhan@smartx.com> | 2026-10-08 18:06:51 +0800 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-10-13 15:32:47 +0200 |
| commit | a374c5bb41d1ea72e732153d6a8d17b4e2434d3f (patch) | |
| tree | 37d331f85857051ba3e7d1e8d39bba56b6da9b46 /tools/include/uapi/linux/netdev.h | |
| parent | 32bfd220cd6f70698f9b8828302a9b85065c95c1 (diff) | |
| download | linux-next-a374c5bb41d1ea72e732153d6a8d17b4e2434d3f.tar.gz linux-next-a374c5bb41d1ea72e732153d6a8d17b4e2434d3f.zip | |
net: net_test: add tests for TCP re-segmentation
The GSO engine can now be asked to group several MSS segments into one
output skb, which is what re-segmentation needs. Add KUnit coverage for
the max_segs parameter.
The parameterized GSO test gains a max_segs input and four cases: a limit
of two MSS applied to a 3003 byte and to a 5003 byte payload, a tail which
holds one MSS and is therefore not a GSO skb, and a max_segs of one MSS
which must leave the output unchanged. It drives skb_segment() directly,
because the synthetic protocol it uses has no gso_segment callback.
Assisted-by: LLM
Signed-off-by: Wang Zhan <wang.zhan@smartx.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20261008100651.2534957-7-wang.zhan@smartx.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/include/uapi/linux/netdev.h')
0 files changed, 0 insertions, 0 deletions
