[dpdk-dev] DPDK Port Mirroring

Wiles, Keith keith.wiles at intel.com
Thu Jul 9 22:17:33 CEST 2015



On 7/9/15, 12:26 PM, "dev on behalf of Assaad, Sami (Sami)"
<dev-bounces at dpdk.org on behalf of sami.assaad at alcatel-lucent.com> wrote:

>Hello,
>
>I want to build a DPDK app that is able to port-mirror all ingress
>traffic from two 10G interfaces.
>
>1.       Is it possible in port-mirroring traffic consisting of 450byte
>packets at 20G without losing more than 5% of traffic?
>
>2.       Would you have any performance results due to packet copying?

Do you need to copy the packet if you increment the reference count you
can send the packet to both ports without having to copy the packet.
>
>3.       Would you have any port mirroring DPDK sample code?

DPDK does not have port mirroring example, but you could grab the l2fwd or
l3fwd and modify it to do what you want.
>
>Thanks in advance.
>
>Best Regards,
>Sami Assaad.



More information about the dev mailing list