From patchwork Thu Feb 1 19:33:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavan Nikhilesh Bhagavatula X-Patchwork-Id: 136288 X-Patchwork-Delegate: jerinj@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A4E7143A43; Thu, 1 Feb 2024 20:33:24 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2F1E2402CB; Thu, 1 Feb 2024 20:33:24 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id A4B27402B9; Thu, 1 Feb 2024 20:33:21 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 411HXIsV027109; Thu, 1 Feb 2024 11:33:20 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= pfpt0220; bh=M1JrAHuGhQ+8rc5V+nscqms/xDkTM2ThZ67suSl1i7c=; b=Hyd rVwYUOVBHExQp5lyxxe9v1bbrIhSDrErGw1EPlk05PAiOzEEwdfNqPj5YTjChUhR 19oWqtfsGfYJshoFto25l7SNcmjn+EToHY2jQ7Fri37uJQRKJ61SRot4H3dQHQqH 60rIzUCTrgWZnZ2HFNJQI+YMT+NNbu2EhZ3lzOOIXnnR3wxhs6FWbAACcqVH6uBd cbGFGYBfo4GpWcg26GIeMsNzsfEoxOKJJTm/C5Q3NG3jyq5eipTl3xjpX7kfHIZ4 DsKAhbaSJhc0coCEzt7dy1pGKEjink92IutXvh8+QG9E7bT0MMsr68Q2ElXvlCNp YR3qXLDGubAlOKw6u1Q== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3w06u8jn7u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 01 Feb 2024 11:33:20 -0800 (PST) Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 1 Feb 2024 11:33:19 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Thu, 1 Feb 2024 11:33:19 -0800 Received: from MININT-80QBFE8.corp.innovium.com (MININT-80QBFE8.marvell.com [10.28.164.106]) by maili.marvell.com (Postfix) with ESMTP id 708F33F7093; Thu, 1 Feb 2024 11:33:17 -0800 (PST) From: To: CC: , Pavan Nikhilesh , Subject: [PATCH v2] doc: fix test eventdev example commands Date: Fri, 2 Feb 2024 01:03:15 +0530 Message-ID: <20240201193315.1556-1-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240105155431.5639-1-pbhagavatula@marvell.com> References: <20240105155431.5639-1-pbhagavatula@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: 5Vc9sqURX9zina-HKnVoF738Sa5DtVYu X-Proofpoint-ORIG-GUID: 5Vc9sqURX9zina-HKnVoF738Sa5DtVYu X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-01_06,2024-01-31_01,2023-05-22_02 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Pavan Nikhilesh Fix incorrect core masks in testeventdev example commands. Fixes: f6dda59153f1 ("doc: add order queue test in eventdev test guide") Fixes: dd37027f2ba6 ("doc: add order all types queue test in eventdev test guide") Fixes: 43bc2fef79cd ("doc: add perf queue test in eventdev test guide") Fixes: b3d4e665ed3d ("doc: add perf all types queue test in eventdev test guide") Fixes: b01974da9f25 ("app/eventdev: add ethernet device producer option") Fixes: ba9de463abeb ("doc: add pipeline queue test in testeventdev guide") Fixes: d1b46daf7484 ("doc: add pipeline atq test in testeventdev guide") Fixes: d008f20bce23 ("app/eventdev: add event timer adapter as a producer") Fixes: 2eaa37b86635 ("app/eventdev: add vector mode in pipeline test") Cc: stable@dpdk.org Signed-off-by: Pavan Nikhilesh --- doc/guides/tools/testeventdev.rst | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/guides/tools/testeventdev.rst b/doc/guides/tools/testeventdev.rst index fc36bfb30c..5d07f6a1b1 100644 --- a/doc/guides/tools/testeventdev.rst +++ b/doc/guides/tools/testeventdev.rst @@ -308,7 +308,7 @@ Example command to run order queue test: .. code-block:: console - sudo /app/dpdk-test-eventdev --vdev=event_sw0 -- \ + sudo /app/dpdk-test-eventdev -c 0x1f -s 0x10 --vdev=event_sw0 -- \ --test=order_queue --plcores 1 --wlcores 2,3 @@ -371,7 +371,7 @@ Example command to run order ``all types queue`` test: .. code-block:: console - sudo /app/dpdk-test-eventdev --vdev=event_octeontx -- \ + sudo /app/dpdk-test-eventdev -c 0x1f --vdev=event_octeontx -- \ --test=order_atq --plcores 1 --wlcores 2,3 @@ -475,14 +475,14 @@ Example command to run perf queue test: .. code-block:: console - sudo /app/dpdk-test-eventdev -c 0xf -s 0x1 --vdev=event_sw0 -- \ + sudo /app/dpdk-test-eventdev -c 0xf -s 0x2 --vdev=event_sw0 -- \ --test=perf_queue --plcores=2 --wlcore=3 --stlist=p --nb_pkts=0 Example command to run perf queue test with producer enqueuing a burst of events: .. code-block:: console - sudo /app/dpdk-test-eventdev -c 0xf -s 0x1 --vdev=event_sw0 -- \ + sudo /app/dpdk-test-eventdev -c 0xf -s 0x2 --vdev=event_sw0 -- \ --test=perf_queue --plcores=2 --wlcore=3 --stlist=p --nb_pkts=0 \ --prod_enq_burst_sz=32 @@ -490,15 +490,15 @@ Example command to run perf queue test with ethernet ports: .. code-block:: console - sudo build/app/dpdk-test-eventdev --vdev=event_sw0 -- \ + sudo build/app/dpdk-test-eventdev -c 0xf -s 0x2 --vdev=event_sw0 -- \ --test=perf_queue --plcores=2 --wlcore=3 --stlist=p --prod_type_ethdev Example command to run perf queue test with event timer adapter: .. code-block:: console - sudo /app/dpdk-test-eventdev --vdev="event_octeontx" -- \ - --wlcores 4 --plcores 12 --test perf_queue --stlist=a \ + sudo /app/dpdk-test-eventdev -c 0xfff1 \ + -- --wlcores 4 --plcores 12 --test perf_queue --stlist=a \ --prod_type_timerdev --fwd_latency PERF_ATQ Test @@ -585,15 +585,15 @@ Example command to run perf ``all types queue`` test: .. code-block:: console - sudo /app/dpdk-test-eventdev --vdev=event_octeontx -- \ + sudo /app/dpdk-test-eventdev -c 0xf --vdev=event_octeontx -- \ --test=perf_atq --plcores=2 --wlcore=3 --stlist=p --nb_pkts=0 Example command to run perf ``all types queue`` test with event timer adapter: .. code-block:: console - sudo /app/dpdk-test-eventdev --vdev="event_octeontx" -- \ - --wlcores 4 --plcores 12 --test perf_atq --verbose 20 \ + sudo /app/dpdk-test-eventdev -c 0xfff1 \ + -- --wlcores 4 --plcores 12 --test perf_atq --verbose 20 \ --stlist=a --prod_type_timerdev --fwd_latency @@ -817,13 +817,13 @@ Example command to run pipeline atq test: .. code-block:: console - sudo /app/dpdk-test-eventdev -c 0xf -s 0x8 --vdev=event_sw0 -- \ + sudo /app/dpdk-test-eventdev -c 0xf -- \ --test=pipeline_atq --wlcore=1 --prod_type_ethdev --stlist=a Example command to run pipeline atq test with vector events: .. code-block:: console - sudo /app/dpdk-test-eventdev -c 0xf -s 0x8 --vdev=event_sw0 -- \ + sudo /app/dpdk-test-eventdev -c 0xf -- \ --test=pipeline_atq --wlcore=1 --prod_type_ethdev --stlist=a \ --enable_vector --vector_size 512