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.
v6 - cosmetic improvements to extract process add better boilerplate and fix python lint warnings 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 | 2959 ++++++++++--------- drivers/net/tap/tap_rss.h | 2 +- 9 files changed, 1986 insertions(+), 1476 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