diff options
| author | Willem de Bruijn <willemb@google.com> | 2023-10-09 17:41:52 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2023-10-11 12:39:01 +0300 |
| commit | 1b4fa28a8b07eb331aeb7fbfc806c0d2e3dc3627 (patch) | |
| tree | 1f361c52f3a34b061f3640b97e0aee4765f7616f /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | b3098d32ed6e6f4c03a95f14426143f1b0af620f (diff) | |
| download | linux-1b4fa28a8b07eb331aeb7fbfc806c0d2e3dc3627.tar.xz | |
net: parametrize skb_segment unit test to expand coverage
Expand the test with variants
- GSO_TEST_NO_GSO: payload size less than or equal to gso_size
- GSO_TEST_FRAGS: payload in both linear and page frags
- GSO_TEST_FRAGS_PURE: payload exclusively in page frags
- GSO_TEST_GSO_PARTIAL: produce one gso segment of multiple of gso_size,
plus optionally one non-gso trailer segment
Define a test struct that encodes the input gso skb and output segs.
Input in terms of linear and fragment lengths. Output as length of
each segment.
Signed-off-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
