[dpdk-dev] [PATCH v2 0/4] remote netdevice traffic capture

Pascal Mazon pascal.mazon at 6wind.com
Tue Mar 7 17:38:50 CET 2017


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

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

Pascal Mazon (4):
  net/tap: add remote netdevice traffic capture
  net/tap: reflect tap flags on the remote
  net/tap: use the remote MAC address if available
  net/tap: set MTU on the remote

 doc/guides/nics/tap.rst       |  17 ++
 drivers/net/tap/rte_eth_tap.c | 213 ++++++++++++++++++---
 drivers/net/tap/tap.h         |   4 +
 drivers/net/tap/tap_flow.c    | 418 ++++++++++++++++++++++++++++++++++++++++--
 drivers/net/tap/tap_flow.h    |  24 +++
 5 files changed, 635 insertions(+), 41 deletions(-)

-- 
2.8.0.rc0



More information about the dev mailing list