Skip to content

net/tap: build and fix for BPF program

Stephen Hemminger dpdk-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 11 repliesIn review
  2. v53 patches 0 repliesSuperseded
  3. v13 patches 0 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net/tap: support infrastructure to build the BPF filterdoc/guides/nics/tap.rst drivers/net/tap/bpf/.gitignore drivers/net/tap/bpf/Makefile +5 more+444 -120 replies
2/3net/tap: Fixed RSS algorithm to support fragmented packetsdrivers/net/tap/bpf/tap_bpf_program.c+39 -80 replies
3/3net/tap; rebuild and update the BPF flow programdrivers/net/tap/tap_bpf_insns.h+1503 -14565 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchFerruh Yigit
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/3] net/tap: build and fix for BPF program

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%)
Signature · 1 line
2.41.0