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 C4AEC58D3 for ; Fri, 20 Jun 2014 11:57:07 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 20 Jun 2014 02:57:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,513,1400050800"; d="scan'208";a="531473632" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by orsmga001.jf.intel.com with ESMTP; 20 Jun 2014 02:57:22 -0700 Received: from irsmsx108.ger.corp.intel.com (163.33.3.3) by IRSMSX102.ger.corp.intel.com (163.33.3.155) with Microsoft SMTP Server (TLS) id 14.3.123.3; Fri, 20 Jun 2014 10:57:22 +0100 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.58]) by IRSMSX108.ger.corp.intel.com ([169.254.11.221]) with mapi id 14.03.0123.003; Fri, 20 Jun 2014 10:57:21 +0100 From: "De Lara Guarch, Pablo" To: "Richardson, Bruce" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] distributor: split get_pkt into request and poll Thread-Index: AQHPjANQbNG6ZYE5G0uZw0O30tbLl5t5w9wg Date: Fri, 20 Jun 2014 09:57:21 +0000 Message-ID: References: <1403212355-989-1-git-send-email-bruce.richardson@intel.com> In-Reply-To: <1403212355-989-1-git-send-email-bruce.richardson@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 Subject: Re: [dpdk-dev] [PATCH] distributor: split get_pkt into request and poll 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: Fri, 20 Jun 2014 09:57:08 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, June 19, 2014 10:13 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] distributor: split get_pkt into request and p= oll >=20 > Take the existing get_pkt API and split out the parts for requesting a ne= w > packet from the part to poll for arrival of a new packet. These individua= l > functions can then be used independently of the get function, which still= acts > as before. >=20 > The split functions for request and poll will allow a worker to pull > packets from multiple distributors, or to act as multiple workers with a > single distributor if needed for better performance. >=20 > Signed-off-by: Bruce Richardson Acked-by: Pablo de Lara