diff options
| author | 2022-04-08 03:59:04 -0400 | |
|---|---|---|
| committer | 2022-04-08 11:52:48 +0100 | |
| commit | 1dc4c557bfedfcdf7fc0c46795857773b7ad66e7 (patch) | |
| tree | f44b8bcbebfe6407c27e4ea2b14164802ab4ca38 /tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c | |
| parent | bnxt: add page_pool support for aggregation ring when using xdp (diff) | |
| download | linux-dev-1dc4c557bfedfcdf7fc0c46795857773b7ad66e7.tar.xz linux-dev-1dc4c557bfedfcdf7fc0c46795857773b7ad66e7.zip | |
bnxt: adding bnxt_xdp_build_skb to build skb from multibuffer xdp_buff
Since we have an xdp_buff with frags there needs to be a way to
convert that into a valid sk_buff in the event that XDP_PASS is
the resulting operation. This adds a new rx_skb_func when the
netdev has an MTU that prevents the packets from sitting in a
single page.
This also make sure that GRO/LRO stay disabled even when using
the aggregation ring for large buffers.
v3: Use BNXT_PAGE_MODE_BUF_SIZE for build_skb
Signed-off-by: Andy Gospodarek <gospo@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c')
0 files changed, 0 insertions, 0 deletions
