On 10/9/2020 12:23 PM, Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco) wrote:
-----Original Message-----
From: Honnappa Nagarahalli <[email protected]>
Sent: Monday, September 28, 2020 2:03 PM
To: [email protected]; Honnappa Nagarahalli
<[email protected]>;
Phil Yang <[email protected]>; [email protected];
[email protected]
Cc: nd <[email protected]>; [email protected]
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 <[email protected]>


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

Reply via email to