net: expand skb_segment unit test with frag_list coverage
authorWillem de Bruijn <willemb@google.com>
Mon, 9 Oct 2023 14:41:53 +0000 (10:41 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Oct 2023 09:39:01 +0000 (10:39 +0100)
commit4688ecb1385f95d3a687286304710723260ad125
treed97b522c17e49a95f1a5abcfccfbf5ef69e7e151
parent1b4fa28a8b07eb331aeb7fbfc806c0d2e3dc3627
net: expand skb_segment unit test with frag_list coverage

Expand the test with these variants that use skb frag_list:

- GSO_TEST_FRAG_LIST:             frag_skb length is gso_size
- GSO_TEST_FRAG_LIST_PURE:        same, data exclusively in frag skbs
- GSO_TEST_FRAG_LIST_NON_UNIFORM: frag_skb length may vary
- GSO_TEST_GSO_BY_FRAGS:          frag_skb length defines gso_size,
                                  i.e., segs may have varying sizes.

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>
net/core/gso_test.c