[PATCH v5 0/3] net/tap: build and fix for BPF program
Stephen Hemminger
stephen at networkplumber.org
Tue Oct 31 23:42:21 CET 2023
Update the documentation and tools to build the BPF program used by
tap device. And apply fix to the RSS algorithm to correctly
handle non-IP protocols.
v5 - merge patches into series and fix rebuild
Madhuker Mythri (1):
net/tap: Fixed RSS algorithm to support fragmented packets
Stephen Hemminger (2):
net/tap: support infrastructure to build the BPF filter
net/tap; rebuild and update the BPF flow program
doc/guides/nics/tap.rst | 11 +-
drivers/net/tap/bpf/.gitignore | 1 +
drivers/net/tap/bpf/Makefile | 18 +
drivers/net/tap/bpf/bpf_api.h | 275 ++
drivers/net/tap/bpf/bpf_elf.h | 53 +
drivers/net/tap/bpf/bpf_extract.py | 86 +
drivers/net/tap/{ => bpf}/tap_bpf_program.c | 57 +-
drivers/net/tap/tap_bpf_insns.h | 2988 ++++++++++---------
drivers/net/tap/tap_rss.h | 2 +-
9 files changed, 2000 insertions(+), 1491 deletions(-)
create mode 100644 drivers/net/tap/bpf/.gitignore
create mode 100644 drivers/net/tap/bpf/Makefile
create mode 100644 drivers/net/tap/bpf/bpf_api.h
create mode 100644 drivers/net/tap/bpf/bpf_elf.h
create mode 100644 drivers/net/tap/bpf/bpf_extract.py
rename drivers/net/tap/{ => bpf}/tap_bpf_program.c (79%)
--
2.41.0
More information about the dev
mailing list