From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0086.outbound.protection.outlook.com [104.47.33.86]) by dpdk.org (Postfix) with ESMTP id 450C21B133 for ; Thu, 20 Sep 2018 00:23:18 +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=KAtT4YYkvXhtk0cizI+1Zr/6ESxwx/aeo2QE29N8CME=; b=jBgSRXx3s/RjS9/JemtNWiTqjZ83IkKAKezC4u9SQZaSFFqVnFoyJ6XBuJf1bXR1tSEs27C4APzOPZe2qnxUFH/siwDnKY1WY64F5x3DJ/IXLJErBOm05WBH5KEZ0zC+CJqV403Kui3O46xjSG0u2oFq/xF4IpQNSC0VOyqA+Mo= Received: from localhost.localdomain (115.113.156.3) by BYAPR07MB4965.namprd07.prod.outlook.com (2603:10b6:a03:5b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Wed, 19 Sep 2018 22:23:13 +0000 From: Pavan Nikhilesh To: jerin.jacob@caviumnetworks.com, nikhil.rao@intel.com, anoob.joseph@caviumnetworks.com Cc: dev@dpdk.org, Pavan Nikhilesh , john.mcnamara@intel.com Date: Thu, 20 Sep 2018 03:52:35 +0530 Message-Id: <20180919222235.6239-4-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180919222235.6239-1-pbhagavatula@caviumnetworks.com> References: <20180904141223.24216-1-pbhagavatula@caviumnetworks.com> <20180919222235.6239-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.3] X-ClientProxiedBy: MA1PR0101CA0003.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:21::13) To BYAPR07MB4965.namprd07.prod.outlook.com (2603:10b6:a03:5b::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2e8381e5-5ccf-433d-6ee1-08d61e7e7e61 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BYAPR07MB4965; X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4965; 3:neuRQ9QhVd9Ad8Dbw4rSKtqtMuyq/ieOWOQVnPHgSC3NVJ3JWTGxSR0rTRTLqZvmQPT7GCvws+8xcan9XALcM1wcVQ6KMXz7iJdLB5QSNpRB9TAlrlaeqJaMuRoYiuTU09vHFNe3+3kXdxzo2Vr76NGvHAgvF/gquFgkx5Q4xCFIOFEj9/NY7ww+pX0VrlUCI8JPpqzmiDfkZEEu1M2S7nIf+c76AOfH0q7Wb9LMpOxjTOBPbNBVpxm97X/r1CTu; 25:SUWGB9Csys0crglsN3BFYH+A0ac4mbld4FZOuZpaEPRn/LZ7VoAsFLy+3VJomNhVkbNe5KYL3vlAR5iYBQHMpsH78titKMicwreTAMr0P+Qc6uu/LpF/RpJPpZj6zXogavOp6MjryIw8AQ/jNG0xFUK3np1zIjnzo/Ml4+jpYodezBKXL+rHBvvFoJ6p0kIIagJ/5x1WpW5+0Q33RX986Js3MJ1R/0YSRUAQgXNvPvMqho6FmsvI2ODnJk52Do0sGLNaP2y75g8iw84JmXaAFuiMp7/oT9A0Xvlnvt3HoytP522dyXcu0rKXiAYdnk7IG7h474nCICsaLOS82pTnOg==; 31:1I4izMj76UjQffRNsJJ6DK6dST/BJ/diD69CC5eAzZlPYW+hiV8lA/xt5XzEXGAX+Mu7IUD9XwLKf/rU0/yqpLAcg+hrMGPt01YVwDOgHPXbgFvoD8TFlAKg1TSXmcGcCK0oLB8IwuYqLtMJ84ewW8nsGJm8/RkG/e/16LF+Bz2U81gVPDzpoA2NZ1g5s/ZC8wHVd2WxABzHD5UlX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: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(3002001)(10201501046)(3231355)(944501410)(52105095)(149027)(150027)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123558120)(201708071742011)(7699051)(76991041); SRVR:BYAPR07MB4965; BCL:0; PCL:0; RULEID:; SRVR:BYAPR07MB4965; X-Forefront-PRVS: 0800C0C167 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(39860400002)(346002)(376002)(136003)(396003)(366004)(189003)(199004)(66066001)(6636002)(575784001)(16200700003)(53946003)(6512007)(81166006)(81156014)(6666003)(53936002)(48376002)(4326008)(1857600001)(316002)(50226002)(486006)(36756003)(8936002)(446003)(11346002)(16526019)(26005)(476003)(956004)(8676002)(2616005)(2906002)(14444005)(42882007)(15650500001)(6346003)(5660300001)(68736007)(16586007)(97736004)(47776003)(7736002)(6486002)(72206003)(478600001)(52116002)(105586002)(50466002)(51416003)(1076002)(3846002)(6506007)(6116002)(69590400006)(386003)(25786009)(305945005)(106356001)(76176011)(42262002)(569006); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR07MB4965; H:localhost.localdomain; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BYAPR07MB4965; 23:0QSrIXQuzod0qAi/fxZBvnQ6hvl7qrBZewvd+0HqI?= =?us-ascii?Q?gbSfO2qSSoU1QcTva1zEXMXiUvh+YkNg8hsuygDSbKg2ulhJKf1catfMd8z2?= =?us-ascii?Q?jk9utzVbIGGEskTwq6ymRuVt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uCVQuIGrQINjoXgdlqOhArr/Sa6I9m7x1LjSM+mh0bDVYdvsaCPT5nEDzl8eyNkljtf3RtKxvwabCJT1xacCIRLJ62pxR0A7kuRSypxfBVuQ7r727JpmP448y36kWpE5fjOGc1RmhY6+jrAs4pIC+7FnVB0tX23i23q21K3/d258TuWB6qdJif7jxkkCVqjIa9JsDsNkAeuwSwQMIZeQxt3pwrPQ0Pnm7ryai/dlWwnRSt/bKXzLtSffABuVTNt7I2BkaohJlI/QbTf01UFgcsF+wBsrCkBrMtiGkRGHP/b29MemyZ8noklX3a/GqEt5NiFB+Os9yAT6hzxxRsvwQFjDtzz+V8ujQvnRpelhQGaVnfo3wJxASTkewIGoQpgKvPr5QjvH2g==; 5:Z+qHBNsxzFYmq9e2BP4yU7UfDIrOjuM/f7YLfkN385WxeCm4SOluvkEAn8NpPZW8UdoGN0CqoUzNPD3TgQGgN86BoF61iqmoMfdJa+EFXIHPGOqzgd8vU2iqgwt5Fx6ytGmzmR7kaRVPn9dRtcRsBjJpuUN4fHdhIYyy9o5nMbY=; 7:MOKUmz3QqNT0rIbZITHELNL2w3Tcs1c8x/51uQJaHMP2m28/X45/fhc7jH2QtA3SKcfkhw2PvHQVn5rZLy3MJ2BD1oa/9WmiUnnX6zHaHHRaXGC8Uwf5FQyN15JfnhuOzj3OJEqc52Rg19M9Dnux/LOr/GdpTe9w2/0xq7HdJb03y+4eGkRtx359gUPZvowSl0PPf9fGglAZ6GRggM/FH3MYBzpm9iGlkxLKk6sl3kXJv9+LLaok7vSElq8vOlD7 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2018 22:23:13.1874 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2e8381e5-5ccf-433d-6ee1-08d61e7e7e61 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR07MB4965 Subject: [dpdk-dev] [PATCH v3 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: Wed, 19 Sep 2018 22:23:19 -0000 Update eventdev application guide to reflect Tx adapter related changes. Signed-off-by: Pavan Nikhilesh --- cc: .../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 | 42 +- 5 files changed, 930 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) = 1 | Producers will be configured based on | | | | | the number of detected ethernet devices.| @@ -533,17 +534,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 +571,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 +632,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 +645,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.19.0