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

Fu, Patrick patrick.fu at intel.com
Wed Sep 9 08:02:32 CEST 2020


> -----Original Message-----
> From: Wang, Haiyue <haiyue.wang at intel.com>
> Sent: Wednesday, September 9, 2020 9:10 AM
> To: Fu, Patrick <patrick.fu at intel.com>; 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: RE: [dpdk-dev] [PATCH v1 1/3] lib/mirror: introduce traffic mirror API
> 
> > -----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. ;-)
> 
Thanks Haiyue. I did forget to make the patch meson only. Will update in the next update.

> > --
> > 2.18.4



More information about the dev mailing list