[dpdk-dev] [PATCH 10/10] net/virtio: improve batching in standard Rx path

Maxime Coquelin maxime.coquelin at redhat.com
Tue Mar 19 12:08:07 CET 2019



On 3/19/19 11:28 AM, Tiwei Bie wrote:
> On Tue, Mar 19, 2019 at 11:04:24AM +0100, Jens Freimann wrote:
>> On Tue, Mar 19, 2019 at 02:43:12PM +0800, Tiwei Bie wrote:
>>> This patch improves descriptors refill by using the same
>>> batching strategy as done in in-order and mergeable path.
>>>
>>> Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>
>>> ---
>>> drivers/net/virtio/virtio_rxtx.c | 60 ++++++++++++++++++--------------
>>> 1 file changed, 34 insertions(+), 26 deletions(-)
>>>
>> Looks good. How much do we gain by this?
> 
> The gain is very visible on my side. E.g. for packed ring,
> the PPS changed from ~10786973 to ~11636990 in a macfwd test
> between two testpmds.

Nice!

> Thanks,
> Tiwei
> 
>>
>> Reviewed-by: Jens Freimann <jfreimann at redhat.com>
>>
>>


More information about the dev mailing list