From fa00525b9a546e166cca31f49f2512187ebe0db2 Mon Sep 17 00:00:00 2001 From: Prateek Agarwal Date: Wed, 19 Feb 2020 15:05:30 -0600 Subject: [PATCH] doc: fix multi-producer enqueue figure in ring guide The producer head pointer in multi producer enqueue fig.6.10 points to incorrect object in the ring array. Fixes: fc1f2750a3ec ("doc: programmers guide") Cc: stable@dpdk.org Signed-off-by: Prateek Agarwal Signed-off-by: Honnappa Nagarahalli --- .../prog_guide/img/ring-mp-enqueue3.svg | 193 +++++++++--------- 1 file changed, 99 insertions(+), 94 deletions(-) diff --git a/doc/guides/prog_guide/img/ring-mp-enqueue3.svg b/doc/guides/prog_guide/img/ring-mp-enqueue3.svg index da483b031e..83ef7dba13 100644 --- a/doc/guides/prog_guide/img/ring-mp-enqueue3.svg +++ b/doc/guides/prog_guide/img/ring-mp-enqueue3.svg @@ -16,7 +16,7 @@ height="403.06647" id="svg3388" version="1.1" - inkscape:version="0.48.4 r9939" + inkscape:version="0.92.4 (f8dce91, 2019-08-02)" sodipodi:docname="ring-mp-enqueue3.svg"> @@ -359,15 +359,15 @@ inkscape:pageshadow="2" inkscape:zoom="1.4" inkscape:cx="201.35119" - inkscape:cy="221.79811" + inkscape:cy="107.5124" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="false" - inkscape:window-width="958" - inkscape:window-height="1002" - inkscape:window-x="223" - inkscape:window-y="22" - inkscape:window-maximized="0" + inkscape:window-width="1313" + inkscape:window-height="713" + inkscape:window-x="53" + inkscape:window-y="27" + inkscape:window-maximized="1" inkscape:snap-grids="false" inkscape:snap-to-guides="true" showguides="false" @@ -382,8 +382,10 @@ visible="true" enabled="true" snapvisiblegridlinesonly="true" - originx="-162.97143px" - originy="-370.03525px" /> + originx="-162.97143" + originy="-370.03525" + spacingx="1" + spacingy="1" /> @@ -393,7 +395,7 @@ image/svg+xml - + @@ -490,37 +492,37 @@ obj1 + y="495.49646" + style="font-size:14px;line-height:1.25">obj1 obj2 + y="495.49646" + style="font-size:14px;line-height:1.25">obj2 obj3 + y="495.49646" + style="font-size:14px;line-height:1.25">obj3 cons_head + y="589.505" + style="font-size:14px;line-height:1.25">cons_head cons_tail + y="603.41034" + style="font-size:14px;line-height:1.25">cons_tail prod_head + x="567.01239" + y="587.9577" + style="font-size:14px;line-height:1.25">prod_head prod_tail + y="602.57739" + style="font-size:14px;line-height:1.25">prod_tail local variableslocal variablescore 2 + id="tspan4150" + style="font-size:14px;line-height:1.25">core 2 structure state + y="664.09021" + style="font-size:14px;line-height:1.25">structure state cons_tail + y="401.48123" + style="font-size:14px;line-height:1.25">cons_tail prod_head + y="401.48123" + style="font-size:14px;line-height:1.25">prod_head prod_next + y="401.48123" + style="font-size:14px;line-height:1.25">prod_next local variableslocal variablescore 1 + id="tspan4152" + style="font-size:14px;line-height:1.25">core 1 cons_tail + y="328.57767" + style="font-size:14px;line-height:1.25">cons_tail prod_head + y="328.57767" + style="font-size:14px;line-height:1.25">prod_head prod_next + y="328.57767" + style="font-size:14px;line-height:1.25">prod_next compare and swap succeedscompare and swap succeedson core 2 + id="tspan3324" + style="font-size:14px;line-height:1.25">on core 2 obj4 + y="495.49646" + style="font-size:14px;line-height:1.25">obj4 obj5 + y="496.00156" + style="font-size:14px;line-height:1.25">obj5 -- 2.20.1