On 10/9/2020 12:23 PM, Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)
wrote:
-----Original Message-----
From: Honnappa Nagarahalli <honnappa.nagaraha...@arm.com>
Sent: Monday, September 28, 2020 2:03 PM
To: dev@dpdk.org; Honnappa Nagarahalli
<honnappa.nagaraha...@arm.com>;
Phil Yang <phil.y...@arm.com>; jgraj...@cisco.com;
ferruh.yi...@intel.com
Cc: nd <n...@arm.com>; sta...@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 <jgraj...@cisco.com>
Series applied to dpdk-next-net/main, thanks.