From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v2] enic: scattered Rx Date: Fri, 24 Jun 2016 11:42:59 +0100 Message-ID: <20160624104258.GA13456@bricha3-MOBL3> References: <1465948557-14753-1-git-send-email-neescoba@cisco.com> <1466104745-21528-1-git-send-email-neescoba@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, johndale@cisco.com To: Nelson Escobar Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id DE8B1C3D4 for ; Fri, 24 Jun 2016 12:43:02 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1466104745-21528-1-git-send-email-neescoba@cisco.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 Thu, Jun 16, 2016 at 12:19:05PM -0700, Nelson Escobar wrote: > For performance reasons, this patch uses 2 VIC RQs per RQ presented to > DPDK. > > The VIC requires that each descriptor be marked as either a start of > packet (SOP) descriptor or a non-SOP descriptor. A one RQ solution > requires skipping descriptors when receiving small packets and results > in bad performance when receiving many small packets. > > The 2 RQ solution makes use of the VIC feature that allows a receive > on primary queue to 'spill over' into another queue if the receive is > too large to fit in the buffer assigned to the descriptor on the > primary queue. This means that there is no skipping of descriptors > when receiving small packets and results in much better performance. > > Signed-off-by: Nelson Escobar > Reviewed-by: John Daley > --- > Applied to dpdk-next-net/rel_16_07 /Bruce