Skip to content

net/tap: remote netdevice traffic capture

Pascal Mazon dpdk-dev 8 versions – Applied

Status from this message: Applied to dpdk-next-net/master, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest1 patch 1 replyApplied
  2. v5 posting 2/21 patch 0 repliesSuperseded
  3. v5 posting 1/21 patch 0 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v4 posting 2/21 patch1 replySuperseded
v4 posting 1/21 patch0 repliesSuperseded
v34 patches0 repliesSuperseded
v24 patches0 repliesSuperseded
v14 patches1 replySuperseded

Changes in v6 from the cover letter

- update documentation with use case

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/1net/tap: add remote netdevice traffic capturedoc/guides/nics/tap.rst drivers/net/tap/rte_eth_tap.c drivers/net/tap/rte_eth_tap.h +2 more+574 -221 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchOlga ShernKeith Wiles
1/1A-b A-b

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/1] net/tap: remote netdevice traffic capture

This patchset adds the special "remote" feature to the tap PMD, that actually enables capturing traffic from another netdevice. This is especially useful to get packets into the DPDK app, when the remote netdevice has no DPDK support.

The "remote" feature requires flow API support as flow rules will be configured on the remote netdevice for redirection, using the same mechanism.

This series applies on top of:

[PATCH 0/4] net/tap: support flow API

v6 changes:
- update documentation with use case

v5 changes:
- rebase after adrien's patches on Tx poll and Rx signaling

v4 changes:
- rebase on top of updated "net/tap: support flow API"
- use only a single patch now as MTU, MAC and flags can be easily managed with tap_ioctl()

v3 changes:
- memset(0) for remote_iface in rte_pmd_tap_probe()
- use snprintf instead of strncpy to correctly handle terminating \0

v2 changes:
- rebase on top of updated "net/tap: support flow API"
- fix implicit flow flush when closing the netdevices

Pascal Mazon (1):
net/tap: add remote netdevice traffic capture

 doc/guides/nics/tap.rst       |  16 ++
 drivers/net/tap/rte_eth_tap.c | 101 +++++++++-
 drivers/net/tap/rte_eth_tap.h |   4 +
 drivers/net/tap/tap_flow.c    | 451 ++++++++++++++++++++++++++++++++++++++++--
 drivers/net/tap/tap_flow.h    |  24 +++
 5 files changed, 574 insertions(+), 22 deletions(-)
Signature · 1 line
2.12.0.306.g4a9b9b3