From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP; 09 Jul 2015 13:17:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,441,1432623600"; d="scan'208";a="759321783" Received: from orsmsx108.amr.corp.intel.com ([10.22.240.6]) by fmsmga002.fm.intel.com with ESMTP; 09 Jul 2015 13:17:36 -0700 Received: from orsmsx111.amr.corp.intel.com (10.22.240.12) by ORSMSX108.amr.corp.intel.com (10.22.240.6) with Microsoft SMTP Server (TLS) id 14.3.224.2; Thu, 9 Jul 2015 13:17:35 -0700 Received: from fmsmsx103.amr.corp.intel.com (10.18.124.201) by ORSMSX111.amr.corp.intel.com (10.22.240.12) with Microsoft SMTP Server (TLS) id 14.3.224.2; Thu, 9 Jul 2015 13:17:35 -0700 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.28]) by FMSMSX103.amr.corp.intel.com ([169.254.2.6]) with mapi id 14.03.0224.002; Thu, 9 Jul 2015 13:17:34 -0700 From: "Wiles, Keith" To: "Assaad, Sami (Sami)" , "dev@dpdk.org" , "Richardson, Bruce" Thread-Topic: [dpdk-dev] DPDK Port Mirroring Thread-Index: AQHQuoRKeztjuhd1u02RKAlhI8AU4A== Date: Thu, 9 Jul 2015 20:17:33 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.252.140.145] Content-Type: text/plain; charset="us-ascii" Content-ID: <2FED4F12E6D85C40B361A4AAA49A859D@intel.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] DPDK Port Mirroring X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2015 20:17:54 -0000 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.