diff options
| author | Andy Gospodarek <[email protected]> | 2022-04-08 07:59:05 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-04-08 10:52:48 +0000 |
| commit | a7559bc8c17c3f9a91dcbeefe8642ba757fd09e8 (patch) | |
| tree | 092f3b793ddac29a17cb81cf4beabbff491e72ed /tools/testing/selftests/bpf/prog_tests/recursion.c | |
| parent | bnxt: adding bnxt_xdp_build_skb to build skb from multibuffer xdp_buff (diff) | |
| download | kernel-a7559bc8c17c3f9a91dcbeefe8642ba757fd09e8.tar.gz kernel-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 <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions
