From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9C14E2E89 for ; Mon, 3 Nov 2014 16:55:08 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 03 Nov 2014 08:02:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,308,1413270000"; d="scan'208";a="630388997" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by orsmga002.jf.intel.com with ESMTP; 03 Nov 2014 08:03:50 -0800 Received: from irsmsx154.ger.corp.intel.com (163.33.192.96) by IRSMSX102.ger.corp.intel.com (163.33.3.155) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 3 Nov 2014 16:03:02 +0000 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.82]) by IRSMSX154.ger.corp.intel.com ([169.254.12.116]) with mapi id 14.03.0195.001; Mon, 3 Nov 2014 16:03:01 +0000 From: "De Lara Guarch, Pablo" To: "Pattan, Reshma" Thread-Topic: [dpdk-dev] [PATCH v7] distributor_app: new sample app Thread-Index: AQHP9337yu+wU28rrkWQwfZ/jHPG4ZxPD/mw Date: Mon, 3 Nov 2014 16:03:01 +0000 Message-ID: References: <1413554380-22809-1-git-send-email-reshma.pattan@intel.com> <1415029784-16638-1-git-send-email-reshma.pattan@intel.com> In-Reply-To: <1415029784-16638-1-git-send-email-reshma.pattan@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v7] distributor_app: new sample app 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: Mon, 03 Nov 2014 15:55:09 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Reshma Pattan > Sent: Monday, November 03, 2014 3:50 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v7] distributor_app: new sample app >=20 > From: Reshma Pattan >=20 > A new sample app that shows the usage of the distributor library. This > app works as follows: >=20 > * An RX thread runs which pulls packets from each ethernet port in turn > and passes those packets to worker using a distributor component. > * The workers take the packets in turn, and determine the output port > for those packets using basic l2forwarding doing an xor on the source > port id. > * The RX thread takes the returned packets from the workers and enqueue > those packets into an rte_ring structure. > * A TX thread pulls the packets off the rte_ring structure and then > sends each packet out the output port specified previously by the worke= r > * Command-line option support provided only for portmask. >=20 > v5 change: > * Handled gracefull shutdown of rx and tx threads upon SIGINT. >=20 > v6 change: > * modified graceful shutdown logic to handle all threads upon SIGINT > * removed call to rte_eal_pci_probe() > * added seperate print_stats function >=20 > v7 change: > * passing NULL as rxconf/txconf parameter for rx/tx queue setup > * removed zero-ed fields from port conf structure > * fixed style related comments >=20 >=20 > Signed-off-by: Bruce Richardson > Signed-off-by: Reshma Pattan Acked-by: Pablo de Lara