[PATCH 0/3] net/tap: update and fix the BPF program
Stephen Hemminger
stephen at networkplumber.org
Tue Oct 31 23:08:10 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.
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 | 80 +
drivers/net/tap/{ => bpf}/tap_bpf_program.c | 56 +-
drivers/net/tap/tap_bpf_insns.h | 2992 ++++++++++---------
drivers/net/tap/tap_rss.h | 2 +-
9 files changed, 1995 insertions(+), 1493 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