aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2023-10-09 10:41:52 -0400
committerDavid S. Miller <davem@davemloft.net>2023-10-11 10:39:01 +0100
commit1b4fa28a8b07eb331aeb7fbfc806c0d2e3dc3627 (patch)
tree1f361c52f3a34b061f3640b97e0aee4765f7616f /scripts/stackusage
parentnet: add skb_segment kunit test (diff)
downloadlinux-1b4fa28a8b07eb331aeb7fbfc806c0d2e3dc3627.tar.gz
linux-1b4fa28a8b07eb331aeb7fbfc806c0d2e3dc3627.zip
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 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions