From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] distributor: split get_pkt into request and poll Date: Fri, 20 Jun 2014 18:03:24 +0200 Message-ID: <1563298.Il7tt9S21h@xps13> References: <1403212355-989-1-git-send-email-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: "Richardson, Bruce" Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > > Take the existing get_pkt API and split out the parts for requesting a new > > packet from the part to poll for arrival of a new packet. These individual > > functions can then be used independently of the get function, which still acts > > as before. > > > > 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. > > > > Signed-off-by: Bruce Richardson > > Acked-by: Pablo de Lara Applied for version 1.7.0. Thanks -- Thomas