[0/3] net/tap: update and fix the BPF program

Message ID 20231031220921.96023-1-stephen@networkplumber.org (mailing list archive)
Headers
Series net/tap: update and fix the BPF program |

Message

Stephen Hemminger Oct. 31, 2023, 10:08 p.m. UTC
  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%)