[dpdk-dev] [PATCH v4] net/tap: add remote netdevice traffic capture
Wiles, Keith
keith.wiles at intel.com
Tue Mar 14 15:00:54 CET 2017
> On Mar 14, 2017, at 4:34 PM, Pascal Mazon <pascal.mazon at 6wind.com> wrote:
>
> By default, a tap netdevice is of no use when not fed by a separate
> process. The ability to automatically feed it from another netdevice
> allows applications to capture any kind of traffic normally destined to
> the kernel stack.
>
> This patch implements this ability through a new optional "remote"
> parameter.
>
> Packets matching filtering rules created with the flow API are matched
> on the remote device and redirected to the tap PMD, where the relevant
> action will be performed.
>
> Signed-off-by: Pascal Mazon <pascal.mazon at 6wind.com>
> Acked-by: Olga Shern <olgas at mellanox.com>
Acked-by: Keith Wiles <keith.wiles at intel.com>
> ---
> doc/guides/nics/tap.rst | 17 ++
> 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, 575 insertions(+), 22 deletions(-)
Regards,
Keith
More information about the dev
mailing list