From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0078.outbound.protection.outlook.com [104.47.42.78]) by dpdk.org (Postfix) with ESMTP id 215911B9F4 for ; Wed, 25 Oct 2017 16:51:19 +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; bh=ajUmunU11fyMQtceSkybiaB8ArzK9M+htimk5zaONBI=; b=R5n9auEsGsI7nSmBrUyKAIW4wHtyx78cKicRjggeqIuoJHLLyoiN/ITdqLAc8Ouh7MnLoIkgV43dGM81SOUhRRAhzVSd+0875kqhHgQWt4SWNqXKoKpsIKhESgFTROGxHd9PRvM/0ACnmJq0Uv4o5PM6RyKbkwoqhprvr7b8aqE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from PBHAGAVATULA-LT.caveonetworks.com (111.93.218.67) by BN6PR07MB3458.namprd07.prod.outlook.com (10.161.153.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.156.4; Wed, 25 Oct 2017 14:51:15 +0000 From: Pavan Nikhilesh To: jerin.jacob@caviumnetworks.com, hemant.agrawal@nxp.com, harry.van.haaren@intel.com Cc: dev@dpdk.org, Pavan Nikhilesh Date: Wed, 25 Oct 2017 20:20:33 +0530 Message-Id: <1508943033-15574-7-git-send-email-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1508943033-15574-1-git-send-email-pbhagavatula@caviumnetworks.com> References: <1507712990-13064-1-git-send-email-pbhagavatula@caviumnetworks.com> <1508943033-15574-1-git-send-email-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: MAXPR0101CA0009.INDPRD01.PROD.OUTLOOK.COM (10.174.62.19) To BN6PR07MB3458.namprd07.prod.outlook.com (10.161.153.21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6d2d68bb-6b73-4ab2-3e39-08d51bb7d8fc X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(4627075)(201703031133081)(201702281549075)(2017052603199); SRVR:BN6PR07MB3458; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3458; 3:SROftYHAZ7dDuq6AXmiSQFAkyWYsjfTAfoXPIt0f/0Rf6Sz4qYPZMEEas16Ffjt0r+vJ/T+sSCdGo917xhjDPWI4qchohKPR28PG8Gy2sG4rdlvLLYWnhB21/YYQRXM+GKSZ3+9u29yu83u7mcjtV7VYQGJV8Zg6q9Krn/FHc43kMxhrDj+IaURPQgDgQ2KWhyFL2WIqGsPqgNPWT8jOgklVz+bd0mvmzkqOu8yVR+SIUETNZXO7Q7mPEPxu8bhG; 25:EujcPAmzV90KPQehRXQsN5Ra0yuEp9qhgYSp46XJ6YdG7Q7oDtvALKE503DFKTp+U/sdxiAhjyiLRuW5eB3kB5fuVZyhtg+58h/hPkMe7r+yBZMEeT+Fruu7d6iErmKx8ruiuVhyE5IEf/xFCq8+CNjL8ZKS/47mmB7GkR5O8bnvIhhjKapjoZdTq9l5/0pbDVpPUphIib+DhZkL7jZC6EQwzCUdtUXUvwi2OgNDL93yZjg6FUYfpc46+UftGoKNJ9tUYil1lvMOZtM1IQb5ICDKVLWMFjZvWqZuJApfR1gA7c4sFQ62NQNRI6koAHU9bINZHwZaMAycT5nsQN8k9Q==; 31:exD3PDuWm1qQPnHBYVV/zqBZ9UcoSTev3rB67qmP6XO5Gr0jOpaADO6Zfrl3eq5mnIuV5ex9/UdTWVNqpaqRP4G1zGheJpIP5mb42BHXYwUG5HJgJjhePbplTDKJh0lcWe8lyaTz9QPUMTLPVi7qnB3BcP9+YEGua7D6viXRySpKfmT3YcaE5NGqraBl2btkO97Q134WAEDGJw/VsoEjnvPT7HMyBr6OjdFtUUy6b3U= X-MS-TrafficTypeDiagnostic: BN6PR07MB3458: X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3458; 20:ulAfb1CGCIuE38ehYq7kKBmw3Yw1zhwKI6Cajrxpow8Kh+o7EYxphCXC3xYAG7/6SpyGNBDMs1veNV2qWit4M7qPMa0ef8KVkd66sva+xxTtoteh7cAlM3e6YiBeGGT7pVL4xU0BOpGtCVZv1yA3jsiqCSl64qt81N/6hNdlJRPh1MJXSVSSPKxbZNupnBfoBxAcegpRquc2TYd/mfzlzacBTWzQNvKYt7qHKTmdvzREnmQdBUvbPVrW8aAkwja+gCNfp2fGS72ukCh4g6cOTH17T6dKBY9LvVCc3LcAqwBfBlE/SNhrvSnD46lXjmleGQ0P+pBjpy9RsbcY/RRMOgjcOxRVHzGPv9672faornaBrlldJsPghtuZoXeE1H6TVSt63DuHXWtAFXbidnnH1c8z27l3hZvRLqimpjebAGzQ7DRq0Hq8hYPeUGsONXc7SgQOruqRQL+W9ML6eqIpa56aaGZ4/EYrmirBLafYDS9leV/tnMUjFhFgsFn9iRWkvDFqsCkRfNuW/THo330Kq9p5yroI9OKF7QZJe9iFDdcRISu0wVatzspBFkpsYnDEET7AxNlNkK1k4nca5Dq/G0GbAf2yug4flvTMuXVEzwQ=; 4:qkMR2pu7t89DxQ1meXQbY9H8omyXiOJwv9LN+/rSJ3i9JMP5k9P4uCRrhSVUDMnCUVrwjAILAjPpXpohiY8qODmU8jQqRb9YRrFgMm3KSdPi3R7IMPRs4dsy66FRDYQt1Ruzo/Lsb6kYXgpvQT7eVi52Vyl1wopATKfa7F9ewxrm/eSjg+lNnzVDzBcmEXxHwzLfvBxoJX8htQ3mn0LLkuEDcNcI9FOcZrD/k89Xf71GBDdvYiO8wkCNZ3r0InUKYffFG1FGwKH8K7Br55EMWCA9et6Ny44ygIEXHxr5qSM= X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(3002001)(3231020)(10201501046)(100000703101)(100105400095)(93006095)(6041248)(20161123560025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR07MB3458; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR07MB3458; X-Forefront-PRVS: 0471B73328 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(189002)(199003)(81166006)(53936002)(7736002)(50986999)(16526018)(50226002)(76176999)(4326008)(305945005)(66066001)(5003940100001)(8936002)(2906002)(25786009)(101416001)(42882006)(6666003)(107886003)(6512007)(8676002)(5660300001)(2950100002)(68736007)(81156014)(47776003)(50466002)(36756003)(5009440100003)(316002)(16586007)(33646002)(48376002)(105586002)(106356001)(53416004)(189998001)(6116002)(15650500001)(6506006)(97736004)(478600001)(3846002)(6486002)(72206003)(69596002)(8656006)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB3458; H:PBHAGAVATULA-LT.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR07MB3458; 23:yFBxWBiFqqvkwmCSUWAPgU0lnqgxP2zK32ZOiWIS8?= =?us-ascii?Q?I+Pj4BAdF4WxHabpftFNimZBgUFJkyYcUv9nx7lA5HkpvvMJneJMPJs/95f/?= =?us-ascii?Q?X0BXyHjYofMkITxwh+Tgy5QePtPXfef7npgIEjER+kr6KEsAx884a/HupHBi?= =?us-ascii?Q?k1HDKsWU14q84oM8kOi2mJvTENHqUXuiQ6W/mfgPs7EnRtCU88h3LQ5SBZEP?= =?us-ascii?Q?GEjA/+lvr+v1TrYKACD/NXwMoz02xp9tLBDO4PoCX+nuG5h+CNqHhvrHu2N7?= =?us-ascii?Q?OyUMWuCteJfeCAJP3VB6VjP72ZdBllAOqOauYkm4144zNvT2WaBO7n33REdZ?= =?us-ascii?Q?oTxm7i4Kgbgt0YUMnPs57vTBrTUanBZxIhkykyN0Vj2cjZMo99oYhQmHT80I?= =?us-ascii?Q?f1UucGfUK/6JHD20pDPLfpGw96JXDtNepHAv0y6s1k7Ro4ZngVM38uoR5Bkm?= =?us-ascii?Q?/qSrer40iqh3Du/2tA4+aHxao1crDEtXulvxUfGKYewr1xbefTgIK2VI6x0J?= =?us-ascii?Q?fwApTN1wUT2t9gEDXbGc24zMb3etX+6UoNmLSok1nJ9M+Favln2Pf11cH+hq?= =?us-ascii?Q?Rq6OVzU8mjYfFZfLipT734IM2BC61rXRe3Y22+IeK8tX3/8IRu6CFwwF2SwK?= =?us-ascii?Q?PrcnQsKxEtwZzIQH7NjootY6PByBa6o9678TjShVA/oKe7pcs560uOT/ST9g?= =?us-ascii?Q?cCUFicdDIMchYIzf8WTWYqo4oPSrcUHl6ctpAEUXb6jFBp8n3uL6i5GyIQS9?= =?us-ascii?Q?27VRoRUNbe0chABxpTA9pwEhtvqU0GguYdE1DRvq+a03/QSv6fMA/xz8KnY7?= =?us-ascii?Q?wlG/sbebzQ2EK0W5BGEipYw2Yo88lJMaiHG+ZCW/TmGKQDCCFtE1KlqW0Wzr?= =?us-ascii?Q?TfDZkbtRG1n3qJoWj5aBSAsz3ocC9y03qqqlK1EKu0C9Xmroqh58VnGdza9D?= =?us-ascii?Q?EmqHxXG5xDvSkapHwmr7rVLE9UFXW1pza6EMkThpGDOoChg+NyO98RsDL46A?= =?us-ascii?Q?CSkd7w8WaGDP+9zYkJg6M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oI83gmhnRMN6UBrQBmD945+Qj8Wr0wowDxPuhkXZP83uXgDbUJZEDqox3pOEWcaTgcW7dh5c809TnEF1cS/NqjAFNTM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2017 14:51:15.7665 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6d2d68bb-6b73-4ab2-3e39-08d51bb7d8fc X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB3458 Subject: [dpdk-dev] [PATCH v5 7/7] doc: update software event device 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, 25 Oct 2017 14:51:20 -0000 Update software event device documentation to include use of service cores for event distribution. Signed-off-by: Pavan Nikhilesh Acked-by: John McNamara --- doc/guides/eventdevs/sw.rst | 13 ++++++------- doc/guides/tools/testeventdev.rst | 10 ++-------- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/doc/guides/eventdevs/sw.rst b/doc/guides/eventdevs/sw.rst index a3e6624..ec49b3b 100644 --- a/doc/guides/eventdevs/sw.rst +++ b/doc/guides/eventdevs/sw.rst @@ -78,9 +78,9 @@ Scheduling Quanta ~~~~~~~~~~~~~~~~~ The scheduling quanta sets the number of events that the device attempts to -schedule before returning to the application from the ``rte_event_schedule()`` -function. Note that is a *hint* only, and that fewer or more events may be -scheduled in a given iteration. +schedule in a single schedule call performed by the service core. Note that +is a *hint* only, and that fewer or more events may be scheduled in a given +iteration. The scheduling quanta can be set using a string argument to the vdev create call: @@ -140,10 +140,9 @@ eventdev. Distributed Scheduler ~~~~~~~~~~~~~~~~~~~~~ -The software eventdev is a centralized scheduler, requiring the -``rte_event_schedule()`` function to be called by a CPU core to perform the -required event distribution. This is not really a limitation but rather a -design decision. +The software eventdev is a centralized scheduler, requiring a service core to +perform the required event distribution. This is not really a limitation but +rather a design decision. The ``RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED`` flag is not set in the ``event_dev_cap`` field of the ``rte_event_dev_info`` struct for the software diff --git a/doc/guides/tools/testeventdev.rst b/doc/guides/tools/testeventdev.rst index 34b1c31..5aa2237 100644 --- a/doc/guides/tools/testeventdev.rst +++ b/doc/guides/tools/testeventdev.rst @@ -106,10 +106,6 @@ The following are the application command-line options: Set the number of mbufs to be allocated from the mempool. -* ``--slcore `` - - Set the scheduler lcore id.(Valid when eventdev is not RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED capable) - * ``--plcores `` Set the list of cores to be used as producers. @@ -362,7 +358,6 @@ Supported application command line options are following:: --test --socket_id --pool_sz - --slcore (Valid when eventdev is not RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED capable) --plcores --wlcores --stlist @@ -379,8 +374,8 @@ Example command to run perf queue test: .. code-block:: console - sudo build/app/dpdk-test-eventdev --vdev=event_sw0 -- \ - --test=perf_queue --slcore=1 --plcores=2 --wlcore=3 --stlist=p --nb_pkts=0 + sudo build/app/dpdk-test-eventdev -c 0xf -s 0x1 --vdev=event_sw0 -- \ + --test=perf_queue --plcores=2 --wlcore=3 --stlist=p --nb_pkts=0 PERF_ATQ Test @@ -441,7 +436,6 @@ Supported application command line options are following:: --test --socket_id --pool_sz - --slcore (Valid when eventdev is not RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED capable) --plcores --wlcores --stlist -- 2.7.4