From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0052.outbound.protection.outlook.com [104.47.42.52]) by dpdk.org (Postfix) with ESMTP id C16E54C99 for ; Mon, 24 Sep 2018 10:03:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1Sn29Ng6Xl1LEqJQqTBL/Tlt6xlgu9PrvO6K4i+RFk0=; b=Ft4e2gRpQamZUfLWcrTaDZUqJqLc6bZLAwPqlFuCbTlplujbBuZed0ODSxNyetdUMHtSLvlaDnkocUsw7hCqTk7mWW1sMde4N1AputnkNRflrvu4x5ti4x7cE5OP5Q0HUbTHD1Aw741aFXH7/u/32HCDlAs6yur17b15YiMhUR4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from localhost.localdomain (115.113.156.3) by SN6PR07MB4973.namprd07.prod.outlook.com (2603:10b6:805:ac::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Mon, 24 Sep 2018 08:03:00 +0000 From: Pavan Nikhilesh To: jerin.jacob@caviumnetworks.com, nikhil.rao@intel.com, anoob.joseph@caviumnetworks.com Cc: dev@dpdk.org, Pavan Nikhilesh Date: Mon, 24 Sep 2018 13:32:20 +0530 Message-Id: <20180924080220.5569-4-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180924080220.5569-1-pbhagavatula@caviumnetworks.com> References: <20180904141223.24216-1-pbhagavatula@caviumnetworks.com> <20180924080220.5569-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.3] X-ClientProxiedBy: PN1PR01CA0077.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:1::17) To SN6PR07MB4973.namprd07.prod.outlook.com (2603:10b6:805:ac::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f6e2e150-289e-4e34-554d-08d621f4267f X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:SN6PR07MB4973; X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB4973; 3:EGpmSAjLn7Hu+C193X/e4twqfRsSEmVD6xeRn8GXBNNUNWZBIF/phf6/RKIHaqJ3uhd4gL+1fXjc+TSoKeZLsUZphQBX30fmi0eW2mqgzsJNnoPGdvzB89t/FEOBRoPv6ijzJ8F8Ys1oQn6gXe4IC0LNN947902eBh3d2rwhHNgHB8psb+iWcMtKTrwCtwdCsKgxU0ebAX7BMNLy6YGzeOdoOQZmTunpzl+wLQSCwlYpC4Sf0jcpWKJrY5eG08yT; 25:wQWYsuzWXyz7+C8/ATl8SrQvJBn1WMZ5BoAT8d5YrrqXwHYQEhLzg/490wgjgjFS+Sc/+iLJLfkCgo5b/hu0dink19p+FBddPFH3iZX0NEODK7TR97m0J57ra2xej0F/wDzHJEZP+kLv+yPOtLLAHb5VAXrd2/CzCIgBCHPmFGGjCNZJ5LDUjoQXpClphQtTtIEu1Ve18PGlJung0PV8vsuwnu6wiTXsn5/vP4PObnwTwlgfr0qZQCVzvN9GC5JOkOIENGJCoZ+oWD/RdP8rytooqDnGuIXs3BbPUyMNppyD3Bjrz6G5WDSKjGe7B7Fsm1RntbhMwtgAY+tVLqoctg==; 31:L1+//lUSQFn47iO+4fkrtF9ItP41p2cgI0hyfQdaZLbiDTMWfDsVv+g3GBhq2tkvpYluH7PB9hS7uc4tz1PoB05dFQczD7abd0UlMznflRmEA9Uzxb2gxfZ2/g8FRziJsDJ18NsF5Yra2OMUztQd+AW8uGEGU6gkTjGJnWxKxajiWV3ZzU2rpZVnTUSU1cR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MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(10201501046)(3002001)(3231355)(944501410)(52105095)(149066)(150027)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:SN6PR07MB4973; BCL:0; PCL:0; RULEID:; SRVR:SN6PR07MB4973; X-Forefront-PRVS: 0805EC9467 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(396003)(39860400002)(136003)(376002)(346002)(366004)(199004)(189003)(11346002)(8676002)(36756003)(2906002)(68736007)(6486002)(6666003)(81166006)(107886003)(478600001)(7736002)(48376002)(14444005)(97736004)(50466002)(81156014)(6636002)(106356001)(105586002)(5660300001)(25786009)(72206003)(47776003)(50226002)(8936002)(15650500001)(4326008)(305945005)(6116002)(3846002)(2616005)(956004)(52116002)(26005)(476003)(575784001)(42882007)(1076002)(1857600001)(53946003)(486006)(16200700003)(16526019)(76176011)(6512007)(53936002)(51416003)(66066001)(446003)(316002)(386003)(6506007)(69590400006)(16586007)(42262002)(579004)(559001)(569006); DIR:OUT; SFP:1101; SCL:1; SRVR:SN6PR07MB4973; H:localhost.localdomain; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN6PR07MB4973; 23:mfFb2EOipylNz4l1uhwPbrYUYJqB1cJg5xJvzLmHh?= =?us-ascii?Q?Tu2oVuXQyQ0UL/aZtO9XcZrGU5q+GGIrGYw4kZ/Q6Nj6bntUBqhF5KDvdZZo?= =?us-ascii?Q?uc4ILq8Icdf6ya3aLoGWOhG+dzGJbOANPrpY5B56JwvrDoxMHfr+np8z8rA9?= =?us-ascii?Q?OMPThW7o3DP2r/lBk63ikYXSFB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?Q?6Wzboyq95c6cPR5FEilyD6xELUnJzCSt62YJEUD+dhvYR+p8y48IjbfNTikb?= =?us-ascii?Q?By3fi3r1eL0Rh2Q9gja+Olu9J98mvYJIjem6UOIyR96xuD+sq5s+9q2gbDYw?= =?us-ascii?Q?8lScCdTlX3FUvutl9Kzt5c8jLJzcS+IGuB8a6aIUDbPz4vpCoOY5evPB2wjV?= =?us-ascii?Q?RcwHhThLzYQSscztrvpHOyldy9LUlkBUTDpVjATe+aSHh+upj1xgdhqee74r?= =?us-ascii?Q?P4Ysmq9lAD6ddE5jY+GCoHEBUKEWn/K6JGEwYIhjvCrmSrFXCHil2Gtam9EC?= =?us-ascii?Q?fC00H6PaL+/gvOylC72P+NFc8OUgZWToEbvorQtx+F3o+RJLxNKIL//BUMEG?= =?us-ascii?Q?V3GmbT6pdCbIrALAghJTTxwdnoxrfAVY0LEGvtgsMe0WUmf83VATFegwHg2+?= =?us-ascii?Q?USVJ6mfgddS4g=3D=3D?= X-Microsoft-Antispam-Message-Info: 8hvcVBLmlouXo/DTBUfajzUDwMRt4hJOyORt8c8BHcTzVxDNoBJQV8VqA54zJdkfdK2xC00zzdlEZ/BfkhgujioP9YYpo06iL/rO6J2SS+wPin35UejM726/WoDIm3CLQ50XRsok0JRzUAaGPoWfhz+JwfHHHZzCe1PrqmFJCf5o3oyXW7n3FtlvkgNSufOVPn/5L7AxIYoG5tHfifwL7rY3sB5DhQGq0AS5QFn/Lpb+3tEtFvyCJyZ8z33G6FB6VWdXp+CynSp4lnaSojBVrUt5saMHduDR15moubxkeUS7GyDrOBuGmNsOjEoMeFu9ktuJnMTKfbWcxchIxIqq3NNjVdV8ws6TIOmN2YGHsCs= X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB4973; 6:+YTDSEaZfwuGHxd9KN6JmGl6WQVaH8714BpgShoQR7uGQqHDy645DgqQkRuFoB7biLXKQEDuc2AY1SyBhX8YMxmDcNq2BQ4+kOSZGRWAla44tuD6BsqXXgYc067O2y7jnQNJ3UUd50J6MxStRWNBBZisRM0TcgJsbUDWVaFFkSLVFk/CvPhDLPaUFGwsewL7FjSKsAljC/thtEYZvLYk/6ngB7zDdWibXNcVsTOSoiKlHyhmTOdP8LoUks831UwRVD2qhZZvlRq3yk7Rpfi/0q+CEcyPRLRaj09/IE4w76m5NU382fAjSJXSfnT8dKKCpEKkdn+lARN398AJv6Kn2OLHACOoAW09UEScb3SnSV5Ff1S6ht3jIuo6bmUXaZQcmwidExypA7uF05HWa7PMlnp76KZaK94nJzCnMkougmXbjJgkcAEC6TrqKg7NOoGgNialo6PZ/Ir23MG1ILlD6w==; 5:7+RaqvBHpn/8KXfJ2/gxXwvSLnFCDEbCEthuTwVZ1T0hA4TMleoQq7RDdP74Z/H87t4/WyZ6xtBifMLBxjrLM8iwSG34Pb2iyHlFyWRRgNzut8eHOistGlbfk2x7PGeWDWwjP1NrKB2VymkLtmJ7SxlbC0HCB2CMi84qyJrG/pc=; 7:bGCKP+lwpF8p8kfmizMfiwuQWxBe1PH2qTJEsQcpzklBcTu/2RF90TFn/CaA0qFhx1kkQtxhEeFL+1TMmOrvHF6MS9SDBd/ncmmBYPYnh3dSseEYt+e7heP9YvGC15Wfwnaf63vm+dLjE4v+LNvBQfLYacPVmRqOu7DkssU9UdOE65BP/ZMuQ6JUL6yL0t8t9/ajN1vlSRFVOY9Nj1W4xi97yMFmpdtd1SO7yqjEkb+uJQP5XitZJpW6oHBs6jZI SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Sep 2018 08:03:00.0996 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f6e2e150-289e-4e34-554d-08d621f4267f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR07MB4973 Subject: [dpdk-dev] [PATCH v4 4/4] doc: update eventdev application guide X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2018 08:03:06 -0000 Update eventdev application guide to reflect Tx adapter related changes. Signed-off-by: Pavan Nikhilesh Acked-by: Jerin Jacob --- .../eventdev_pipeline_atq_test_generic.svg | 848 +++++++++++------- ...ntdev_pipeline_atq_test_internal_port.svg} | 26 +- .../eventdev_pipeline_queue_test_generic.svg | 570 +++++++----- ...dev_pipeline_queue_test_internal_port.svg} | 22 +- doc/guides/tools/testeventdev.rst | 44 +- 5 files changed, 932 insertions(+), 578 deletions(-) rename doc/guides/tools/img/{eventdev_pipeline_atq_test_lockfree.svg => eventdev_pipeline_atq_test_internal_port.svg} (99%) rename doc/guides/tools/img/{eventdev_pipeline_queue_test_lockfree.svg => eventdev_pipeline_queue_test_internal_port.svg} (99%) diff --git a/doc/guides/tools/img/eventdev_pipeline_atq_test_generic.svg b/doc/guides/tools/img/eventdev_pipeline_atq_test_generic.svg index e33367989..707b9b56b 100644 --- a/doc/guides/tools/img/eventdev_pipeline_atq_test_generic.svg +++ b/doc/guides/tools/img/eventdev_pipeline_atq_test_generic.svg @@ -20,7 +20,7 @@ height="288.34286" id="svg3868" version="1.1" - inkscape:version="0.92.2 (5c3e80d, 2017-08-06)" + inkscape:version="0.92.2 2405546, 2018-03-11" sodipodi:docname="eventdev_pipeline_atq_test_generic.svg" sodipodi:version="0.32" inkscape:output_extension="org.inkscape.output.svg.inkscape" @@ -42,22 +42,6 @@ d="M 5.77,0 -2.88,5 V -5 Z" id="path39725" /> - - - + gradientTransform="matrix(0.84881476,0,0,0.98593266,86.966576,5.0323108)" /> - - - - + + + + + + + + style="fill:#f78202;fill-opacity:1;fill-rule:evenodd;stroke:#f78202;stroke-width:1.00000003pt;stroke-opacity:1" + transform="scale(0.4)" /> + style="fill:#f78202;fill-opacity:1;fill-rule:evenodd;stroke:#f78202;stroke-width:1.00000003pt;stroke-opacity:1" + transform="scale(0.4)" /> + style="fill:#f78202;fill-opacity:1;fill-rule:evenodd;stroke:#f78202;stroke-width:1.00000003pt;stroke-opacity:1" + transform="scale(0.4)" /> + + + refY="0" + refX="0" + id="marker35935-1-6-5-1-0" + style="overflow:visible" + inkscape:isstock="true" + inkscape:collect="always"> + style="fill:#ac14db;fill-opacity:1;fill-rule:evenodd;stroke:#ac14ff;stroke-width:1.00000003pt;stroke-opacity:1" + transform="scale(0.4)" + inkscape:connector-curvature="0" /> - + style="fill:#ac14db;fill-opacity:1;fill-rule:evenodd;stroke:#ac14ff;stroke-width:1.00000003pt;stroke-opacity:1" + transform="scale(0.4)" + inkscape:connector-curvature="0" /> + + + style="fill:#ac14db;fill-opacity:1;fill-rule:evenodd;stroke:#ac14ff;stroke-width:1.00000003pt;stroke-opacity:1" + transform="scale(0.4)" + inkscape:connector-curvature="0" /> + + + + style="fill:#ac14db;fill-opacity:1;fill-rule:evenodd;stroke:#ac14ff;stroke-width:1.00000003pt;stroke-opacity:1" + transform="scale(0.4)" + inkscape:connector-curvature="0" /> - - + + + + + + + + + port n+2 + style="font-size:10px;line-height:1.25">port n+1 port n+3 + style="font-size:10px;line-height:1.25">port n+2 total queues = number of ethernet dev + 1 + style="font-size:10px;line-height:1.25">total queues = 2 * number of ethernet dev + Event ethRx adptr 0 + Event ethRx adptr 1 + Event ethRx adptr q + + + + + (Tx Generic) + transform="translate(69.258261,-194.86398)"> Txq 0 + transform="translate(-12.211349,-3.253112)"> Txq 0 + transform="translate(-10.498979,-2.682322)"> Txq 0 - Event ethRx adptr 0 - Event ethRx adptr 1 - Event ethRx adptr q - - - Tx Serviceport n + 1 - - - - - + + x="502.77109" + y="189.40137" + id="tspan5223-0-9-02" + style="font-size:10px;line-height:1.25">port n+m+1 + Single link + style="display:inline;opacity:1;fill:#ffffff;fill-opacity:1;stroke:url(#linearGradient3995-8-9);stroke-width:1.2090857;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + id="rect87-6-5-3-79-1" + width="72.081367" + height="32.405426" + x="499.944" + y="226.74811" + rx="16.175425" + ry="16.202713" /> Single port n+m+2 + + Link Q + x="512.51819" + y="301.5791" + id="tspan5223-0-9-0-4-2" + style="font-size:10px;line-height:1.25">port n+o + (Tx Generic) + x="515.76257" + y="175.4832" + style="font-size:7.31033659px;line-height:1.25;stroke-width:0.88288933" + id="tspan883-1-9-7-6-3">Single link + Single link + Tx adapter + q3 + q4 + q5 diff --git a/doc/guides/tools/img/eventdev_pipeline_atq_test_lockfree.svg b/doc/guides/tools/img/eventdev_pipeline_atq_test_internal_port.svg similarity index 99% rename from doc/guides/tools/img/eventdev_pipeline_atq_test_lockfree.svg rename to doc/guides/tools/img/eventdev_pipeline_atq_test_internal_port.svg index d7f10de3e..f4393327b 100644 --- a/doc/guides/tools/img/eventdev_pipeline_atq_test_lockfree.svg +++ b/doc/guides/tools/img/eventdev_pipeline_atq_test_internal_port.svg @@ -20,8 +20,8 @@ height="288.34286" id="svg3868" version="1.1" - inkscape:version="0.92.2 (5c3e80d, 2017-08-06)" - sodipodi:docname="eventdev_pipeline_atq_test_lockfree.svg" + inkscape:version="0.92.2 2405546, 2018-03-11" + sodipodi:docname="eventdev_pipeline_atq_test_internal_port.svg" sodipodi:version="0.32" inkscape:output_extension="org.inkscape.output.svg.inkscape" enable-background="new"> @@ -2612,17 +2612,17 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="1.7519532" - inkscape:cx="479.73438" - inkscape:cy="163.58755" + inkscape:zoom="2.0977641" + inkscape:cx="432.03729" + inkscape:cy="135.16016" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="false" - inkscape:window-width="1920" - inkscape:window-height="1046" - inkscape:window-x="0" - inkscape:window-y="34" - inkscape:window-maximized="1" + inkscape:window-width="1912" + inkscape:window-height="1033" + inkscape:window-x="4" + inkscape:window-y="22" + inkscape:window-maximized="0" fit-margin-top="0.1" fit-margin-left="0.1" fit-margin-right="0.1" @@ -3331,14 +3331,14 @@ (Tx Lock free) + id="tspan1265-4">(Internal port) diff --git a/doc/guides/tools/img/eventdev_pipeline_queue_test_generic.svg b/doc/guides/tools/img/eventdev_pipeline_queue_test_generic.svg index 732d48867..9fe743f3b 100644 --- a/doc/guides/tools/img/eventdev_pipeline_queue_test_generic.svg +++ b/doc/guides/tools/img/eventdev_pipeline_queue_test_generic.svg @@ -20,13 +20,21 @@ height="288.34286" id="svg3868" version="1.1" - inkscape:version="0.92.2 (5c3e80d, 2017-08-06)" + inkscape:version="0.92.2 2405546, 2018-03-11" sodipodi:docname="eventdev_pipeline_queue_test_generic.svg" sodipodi:version="0.32" inkscape:output_extension="org.inkscape.output.svg.inkscape" enable-background="new"> + + + @@ -1312,7 +1320,7 @@ x2="651.55652" y2="243.36557" gradientUnits="userSpaceOnUse" - gradientTransform="matrix(0.76448972,0,0,0.86504892,-92.637138,19.716473)" /> + gradientTransform="matrix(0.76448972,0,0,0.78486608,-92.637138,48.19976)" /> - - - - - - - - - - - + + + + + + + + + + + + + + + + + producer 0 port n+2 + style="font-size:10px;line-height:1.25">port n+1 port n+3 + style="font-size:10px;line-height:1.25">port n+2 total queues = (number of stages * number of ethernet dev) + 1 + style="font-size:9.02731705px;line-height:1.25;stroke-width:0.90273178">total queues = (number of stages * number of ethernet dev) + number of ethernet dev worker 0 worker 1 worker n @@ -3309,7 +3391,7 @@ + transform="translate(87.401608,-194.91553)"> + transform="translate(5.9319927,-3.304662)"> + transform="translate(7.6443673,-2.7338705)"> Txq 0 - - - Tx Serviceport n + 1 - - - - - - SingleLink Q + (Tx Generic) + + port n+m+1 + Single link + + port n+m+2 + + port n+o + + + (Tx Generic) + x="536.09253" + y="175.43703" + style="font-size:7.31033659px;line-height:1.25;stroke-width:0.88288933" + id="tspan883-1-9-7-6-3">Single link + Single link + Tx adapter diff --git a/doc/guides/tools/img/eventdev_pipeline_queue_test_lockfree.svg b/doc/guides/tools/img/eventdev_pipeline_queue_test_internal_port.svg similarity index 99% rename from doc/guides/tools/img/eventdev_pipeline_queue_test_lockfree.svg rename to doc/guides/tools/img/eventdev_pipeline_queue_test_internal_port.svg index c0a365c7b..3036ad663 100644 --- a/doc/guides/tools/img/eventdev_pipeline_queue_test_lockfree.svg +++ b/doc/guides/tools/img/eventdev_pipeline_queue_test_internal_port.svg @@ -20,8 +20,8 @@ height="288.34286" id="svg3868" version="1.1" - inkscape:version="0.92.2 (5c3e80d, 2017-08-06)" - sodipodi:docname="eventdev_pipeline_queue_test_lockfree.svg" + inkscape:version="0.92.2 2405546, 2018-03-11" + sodipodi:docname="eventdev_pipeline_queue_test_internal_port.svg" sodipodi:version="0.32" inkscape:output_extension="org.inkscape.output.svg.inkscape" enable-background="new"> @@ -2853,17 +2853,17 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="2.0000001" - inkscape:cx="394.32532" - inkscape:cy="122.70585" + inkscape:zoom="1.6933595" + inkscape:cx="466.69113" + inkscape:cy="93.384431" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="false" - inkscape:window-width="1920" - inkscape:window-height="1046" - inkscape:window-x="1920" - inkscape:window-y="34" - inkscape:window-maximized="1" + inkscape:window-width="1912" + inkscape:window-height="1033" + inkscape:window-x="4" + inkscape:window-y="22" + inkscape:window-maximized="0" fit-margin-top="0.1" fit-margin-left="0.1" fit-margin-right="0.1" @@ -3809,7 +3809,7 @@ x="670.83521" y="349.11719" style="font-size:7.17278051px;line-height:1.25;stroke-width:0.82762849" - id="tspan1265-4">(Tx Lock free) + id="tspan1265-4">(Internal port) `` @@ -521,8 +523,9 @@ This is a pipeline test case that aims at testing the following: +===+==============+================+=========================================+ | 1 | nb_queues | (nb_producers | Queues will be configured based on the | | | | * nb_stages) + | user requested sched type list(--stlist)| - | | | x | Here value of x is 1 in generic pipeline| - | | | | and nb_producers in lockfree pipeline | + | | | nb_producers | At the last stage of the schedule list | + | | | | the event is enqueued onto per port | + | | | | unique queue which is then Transmitted. | +---+--------------+----------------+-----------------------------------------+ | 2 | nb_producers | >= 1 | Producers will be configured based on | | | | | the number of detected ethernet devices.| @@ -533,17 +536,19 @@ This is a pipeline test case that aims at testing the following: | | | | argument | +---+--------------+----------------+-----------------------------------------+ | 4 | nb_ports | nb_workers + | Workers use port 0 to port n. | - | | | nb_producers | Producers use port n+1 to port n+m, | - | | | | depending on the Rx adapter capability. | + | | | (nb_produces * | Producers use port n+1 to port n+m, | + | | | 2) | depending on the Rx adapter capability. | + | | | | Consumers use port n+m+1 to port n+o | + | | | | depending on the Tx adapter capability. | +---+--------------+----------------+-----------------------------------------+ .. _figure_eventdev_pipeline_queue_test_generic: .. figure:: img/eventdev_pipeline_queue_test_generic.* -.. _figure_eventdev_pipeline_queue_test_lockfree: +.. _figure_eventdev_pipeline_queue_test_internal_port: -.. figure:: img/eventdev_pipeline_queue_test_lockfree.* +.. figure:: img/eventdev_pipeline_queue_test_internal_port.* pipeline queue test operation. @@ -568,10 +573,11 @@ the last stage in the pipeline if the event type is ``atomic`` it is enqueued onto ethdev Tx queue else to maintain ordering the event type is set to ``atomic`` and enqueued onto the last stage queue. -If the ethernet has ``DEV_TX_OFFLOAD_MT_LOCKFREE`` capability then the worker -cores transmit the packets directly. Else the worker cores enqueue the packet -onto the ``SINGLE_LINK_QUEUE`` that is managed by a Tx service. The Tx service -dequeues the packet and transmits it. +If the ethdev and eventdev pair have ``RTE_EVENT_ETH_TX_ADAPTER_CAP_INTERNAL_PORT`` +capability then the worker cores enqueue the packets to the eventdev directly +using ``rte_event_eth_tx_adapter_enqueue`` else the worker cores enqueue the +packet onto the ``SINGLE_LINK_QUEUE`` that is managed by the Tx adapter. +The Tx adapter dequeues the packet and transmits it. On packet Tx, application increments the number events processed and print periodically in one second to get the number of events processed in one @@ -628,8 +634,9 @@ This is a pipeline test case that aims at testing the following with +===+==============+================+=========================================+ | 1 | nb_queues | nb_producers + | Queues will be configured based on the | | | | x | user requested sched type list(--stlist)| - | | | | where x = 1 in generic pipeline and 0 | - | | | | in lockfree pipeline | + | | | | where x = nb_producers in generic | + | | | | pipeline and 0 if all the ethdev | + | | | | being used have Internal port capability| +---+--------------+----------------+-----------------------------------------+ | 2 | nb_producers | >= 1 | Producers will be configured based on | | | | | the number of detected ethernet devices.| @@ -640,17 +647,22 @@ This is a pipeline test case that aims at testing the following with | | | | argument | +---+--------------+----------------+-----------------------------------------+ | 4 | nb_ports | nb_workers + | Workers use port 0 to port n. | - | | | nb_producers | Producers use port n+1 to port n+m, | - | | | | depending on the Rx adapter capability. | + | | | nb_producers + | Producers use port n+1 to port n+m, | + | | | x | depending on the Rx adapter capability. | + | | | | x = nb_producers in generic pipeline and| + | | | | 0 if all the ethdev being used have | + | | | | Internal port capability. | + | | | | Consumers may use port n+m+1 to port n+o| + | | | | depending on the Tx adapter capability. | +---+--------------+----------------+-----------------------------------------+ .. _figure_eventdev_pipeline_atq_test_generic: .. figure:: img/eventdev_pipeline_atq_test_generic.* -.. _figure_eventdev_pipeline_atq_test_lockfree: +.. _figure_eventdev_pipeline_atq_test_internal_port: -.. figure:: img/eventdev_pipeline_atq_test_lockfree.* +.. figure:: img/eventdev_pipeline_atq_test_internal_port.* pipeline atq test operation. -- 2.18.0