Skip to content

net/tap: bug fixes and add test

Stephen Hemminger dpdk-dev 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest10 patches 0 repliesNew
  2. v211 patches 1 replySuperseded
  3. v110 patches 4 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10test: add unit tests for TAP PMDapp/test/meson.build app/test/test_pmd_tap.c+907 -00 replies
2/10net/tap: replace runtime speed capability with constantdrivers/net/tap/rte_eth_tap.c+8 -400 replies
3/10net/tap: clarify TUN/TAP flag assignmentdrivers/net/tap/rte_eth_tap.c+2 -10 replies
4/10net/tap: extend fixed MAC range to 16 bitsdrivers/net/tap/rte_eth_tap.c+9 -70 replies
5/10net/tap: skip checksum on truncated L4 headersdrivers/net/tap/rte_eth_tap.c+7 -00 replies
6/10net/tap: fix resource leaks in tap create error pathdrivers/net/tap/rte_eth_tap.c+5 -20 replies
7/10net/tap: fix resource leaks in secondary process probedrivers/net/tap/rte_eth_tap.c+11 -40 replies
8/10net/tap: free IPC reply buffer on queue count mismatchdrivers/net/tap/rte_eth_tap.c+1 -00 replies
9/10net/tap: fix use-after-free on remote flow creation failuredrivers/net/tap/tap_flow.c+13 -60 replies
10/10net/tap: free remote flow when implicit rule already existsdrivers/net/tap/tap_flow.c+3 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 00/10] net/tap: bug fixes and add test

Add a unit test suite for the TAP PMD, clean up minor code issues, and fix several resource leaks and a use-after-free on error paths.

v3
- drop not ready full ifindex change
- fix AI review feedback in test code

v2
- fix typos in previous version
- preserve same fixed MAC address as original

Stephen Hemminger (10):
test: add unit tests for TAP PMD
net/tap: replace runtime speed capability with constant net/tap: clarify TUN/TAP flag assignment
net/tap: extend fixed MAC range to 16 bits net/tap: skip checksum on truncated L4 headers net/tap: fix resource leaks in tap create error path net/tap: fix resource leaks in secondary process probe net/tap: free IPC reply buffer on queue count mismatch net/tap: fix use-after-free on remote flow creation failure net/tap: free remote flow when implicit rule already exists

 app/test/meson.build          |   1 +
 app/test/test_pmd_tap.c       | 906 ++++++++++++++++++++++++++++++++++
 drivers/net/tap/rte_eth_tap.c |  97 ++--
 drivers/net/tap/tap_flow.c    |  23 +-
 4 files changed, 966 insertions(+), 61 deletions(-)
 create mode 100644 app/test/test_pmd_tap.c
Signature · 1 line
2.51.0