This is a series of fixes and tests for BPF functionality. The new tests for Tx and Rx filtering require the infrastructure to build a bpf program (clang) and the tool to convert object file to header (xxd). If missing the test will get skipped.
Stephen Hemminger (5): bpf: add allocation annotations to functions bpf: use rte_pktmbuf_free_bulk bpf: add a test for BPF ELF load bpf: add test for rx and tx filtering bpf: remove use of vla app/test/bpf/meson.build | 53 ++++ app/test/bpf/test_bpf_filter.c | 35 +++ app/test/bpf/test_bpf_load.c | 60 +++++ app/test/meson.build | 2 + app/test/test_bpf.c | 426 +++++++++++++++++++++++++++++++++ lib/bpf/bpf_pkt.c | 84 ++++--- lib/bpf/meson.build | 2 - lib/bpf/rte_bpf.h | 11 +- 8 files changed, 632 insertions(+), 41 deletions(-) create mode 100644 app/test/bpf/meson.build create mode 100644 app/test/bpf/test_bpf_filter.c create mode 100644 app/test/bpf/test_bpf_load.c -- 2.51.0

