[dpdk-dev] [PATCH v1 1/3] lib/mirror: introduce traffic mirror API

Wang, Haiyue haiyue.wang at intel.com
Wed Sep 9 03:09:56 CEST 2020


> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Patrick Fu
> Sent: Wednesday, September 9, 2020 08:23
> To: dev at dpdk.org
> Cc: thomas at monjalon.net; Yigit, Ferruh <ferruh.yigit at intel.com>; maxime.coquelin at redhat.com;
> Richardson, Bruce <bruce.richardson at intel.com>; mm6021 at att.com; Wang, Zhihong <zhihong.wang at intel.com>;
> Wang, Liang-min <liang-min.wang at intel.com>; Ananyev, Konstantin <konstantin.ananyev at intel.com>;
> Miskell, Timothy <timothy.miskell at intel.com>; Liang, Cunming <cunming.liang at intel.com>; Fu, Patrick
> <patrick.fu at intel.com>
> Subject: [dpdk-dev] [PATCH v1 1/3] lib/mirror: introduce traffic mirror API
> 
> Network Test Access Point (TAP) is the network monitoring service
> commonly adotpted in SDN-based network infrastructures. When VMs are
> inter-connected over virtual switches, TAP requires vSwitch to mirror
> out network traffics from specific workload VM ports to the TAP
> device/VM ports.
> 
> This patch introduce 2 a new APIs to support high-throughput packet
> mirroring:
>  - rte_mirror_register()
>  - rte_mirror_unregister()
> Applications use the new API to setup the source traffic port and
> the mirror traffic port. Packets flowing over the registered
> source ports will be transmited to the mirror port when registration
> succeeds.
> 
> Signed-off-by: Liang-min Wang <liang-min.wang at intel.com>
> Signed-off-by: Patrick Fu <patrick.fu at intel.com>
> Signed-off-by: Timothy Miskell <timothy.miskell at intel.com>
> ---
>  config/common_base                       |   5 +
>  lib/Makefile                             |   2 +

Makefile has been removed now. ;-)

> --
> 2.18.4



More information about the dev mailing list