From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Wiles, Keith" Subject: Re: DPDK Port Mirroring Date: Thu, 9 Jul 2015 20:17:33 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable To: "Assaad, Sami (Sami)" , "dev@dpdk.org" , "Richardson, Bruce" Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 694FE5A95 for ; Thu, 9 Jul 2015 22:17:48 +0200 (CEST) Content-Language: en-US Content-ID: <2FED4F12E6D85C40B361A4AAA49A859D@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 7/9/15, 12:26 PM, "dev on behalf of Assaad, Sami (Sami)" 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.