Skip to contentSkip to conversation

doc: fix memif driver acronyms

PATCH Applied [email protected] 2 participants 2 messages Nov 19, 2021 – Nov 24, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: fix memif driver acronyms

From: Jerin Jacob <[email protected]>

The commit d250589d5702 ("net/memif: replace master/slave arguments") replaced master/slave terms to server/client terms.
Fix the documentation to reflect the same.

Fixes d250589d5702 ("net/memif: replace master/slave arguments")
---
 doc/guides/nics/memif.rst | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
doc/guides/nics/memif.rst +6 -6
index d783f2d4a4..aca843640b 100644
@@ -107,13 +107,13 @@ region n (no-zero-copy):
 +-----------------------+-------------------------------------------------------------------------+
 | Rings                 | Buffers                                                                 |
 +-----------+-----------+-----------------+---+---------------------------------------------------+
-| S2M rings | M2S rings | packet buffer 0 | . | pb ((1 << pmd->run.log2_ring_size)*(s2m + m2s))-1 |
+| C2S rings | S2C rings | packet buffer 0 | . | pb ((1 << pmd->run.log2_ring_size)*(c2s + s2c))-1 |
 +-----------+-----------+-----------------+---+---------------------------------------------------+
 
-S2M OR M2S Rings:
+C2S OR S2C Rings:
 
 +--------+--------+-----------------------+
-| ring 0 | ring 1 | ring num_s2m_rings - 1|
+| ring 0 | ring 1 | ring num_c2s_rings - 1|
 +--------+--------+-----------------------+
 
 ring 0:
@@ -123,8 +123,8 @@ ring 0:
 +-------------+---------------------------------------+
 
 Descriptors are assigned packet buffers in order of rings creation. If we have one ring
-in each direction and ring size is 1024, then first 1024 buffers will belong to S2M ring and
-last 1024 will belong to M2S ring. In case of zero-copy, buffers are dequeued and
+in each direction and ring size is 1024, then first 1024 buffers will belong to C2S ring and
+last 1024 will belong to S2C ring. In case of zero-copy, buffers are dequeued and
 enqueued as needed.
 
 **Descriptor format**
@@ -193,7 +193,7 @@ region 0:
 +-----------------------+
 | Rings                 |
 +-----------+-----------+
-| S2M rings | M2S rings |
+| C2S rings | S2C rings |
 +-----------+-----------+
 
 region n:
Signature · 1 line
2.34.0
Reviewed-by on v1 1/1 Applied
#1 lore raw
Quoted 10 lines · On 11/19/2021 4:59 AM, [email protected] wrote:

From: Jerin Jacob <[email protected]>

The commit d250589d5702 ("net/memif: replace master/slave arguments") replaced master/slave terms to server/client terms.
Fix the documentation to reflect the same.

Fixes d250589d5702 ("net/memif: replace master/slave arguments")

Applied to dpdk-next-net/main, thanks.