[dpdk-dev] [PATCH v2] enic: scattered Rx

Bruce Richardson bruce.richardson at intel.com
Fri Jun 24 12:42:59 CEST 2016


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 <neescoba at cisco.com>
> Reviewed-by: John Daley <johndale at cisco.com>
> ---
> 
Applied to dpdk-next-net/rel_16_07

/Bruce


More information about the dev mailing list