[dpdk-dev] [PATCH v2 1/8] net/memif: do not update local copy of tail in tx function

Ferruh Yigit ferruh.yigit at intel.com
Fri Oct 9 17:59:03 CEST 2020


On 10/9/2020 12:23 PM, Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco) 
wrote:
>>> -----Original Message-----
>>> From: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
>>> Sent: Monday, September 28, 2020 2:03 PM
>>> To: dev at dpdk.org; Honnappa Nagarahalli
>> <Honnappa.Nagarahalli at arm.com>;
>>> Phil Yang <Phil.Yang at arm.com>; jgrajcia at cisco.com;
>>> ferruh.yigit at intel.com
>>> Cc: nd <nd at arm.com>; stable at dpdk.org
>>> Subject: [PATCH v2 1/8] net/memif: do not update local copy of tail in
>>> tx function
>>>
>>> In the case of S2M queues, the receiver synchronizes with the sender (i.e.
>>> informs of the packets it has received) using ring->tail.
>>> Hence, the sender does not need to update last_tail.
>>>
>>> In the case of M2S queues, the receiver uses last_tail to keep track
>>> of the descriptors it has received. The sender is not required to update the
>> last_tail.
>>> Updating the last_tail makes it a shared variable between the
>>> transmitter and receiver affecting the performance.
> 
> Hi Honnappa,
> 
> The patch series is looking good.
> 
> Reviewed-by: Jakub Grajciar <jgrajcia at cisco.com>
> 

Series applied to dpdk-next-net/main, thanks.


More information about the dev mailing list