diff options
| author | 2022-04-08 03:59:05 -0400 | |
|---|---|---|
| committer | 2022-04-08 11:52:48 +0100 | |
| commit | a7559bc8c17c3f9a91dcbeefe8642ba757fd09e8 (patch) | |
| tree | 092f3b793ddac29a17cb81cf4beabbff491e72ed /tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c | |
| parent | bnxt: adding bnxt_xdp_build_skb to build skb from multibuffer xdp_buff (diff) | |
| download | linux-dev-a7559bc8c17c3f9a91dcbeefe8642ba757fd09e8.tar.xz linux-dev-a7559bc8c17c3f9a91dcbeefe8642ba757fd09e8.zip | |
bnxt: support transmit and free of aggregation buffers
This patch adds the following features:
- Support for XDP_TX and XDP_DROP action when using xdp_buff
with frags
- Support for freeing all frags attached to an xdp_buff
- Cleanup of TX ring buffers after transmits complete
- Slight change in definition of bnxt_sw_tx_bd since nr_frags
and RX producer may both need to be used
- Clear out skb_shared_info at the end of the buffer
v2: Fix uninitialized variable warning in bnxt_xdp_buff_frags_free().
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
