From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0050.outbound.protection.outlook.com [104.47.42.50]) by dpdk.org (Postfix) with ESMTP id A606D1B7D6 for ; Fri, 13 Oct 2017 18:37:27 +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=4PvqpxdY4htIN+4bCdShFB6X5wxgQ72QdWiokTB7oRw=; b=kJLhJDm5Fzvz8E459t/PFHI50e5FCXYL1PCAZcjSDSR40nLIrdXV+XQtacTt1nbxy1BmlxPzwjTKXrPtibRTrD64LgCIXqTxhl2JcWhCT3JVGWOawiNpqMSYW4znR41/5rsQeYqgTkDC1btGZOsZNL86WTPoqpkUo9dYsngNEeA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from PBHAGAVATULA-LT.caveonetworks.com (111.93.218.67) by CY4PR07MB3464.namprd07.prod.outlook.com (10.171.252.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Fri, 13 Oct 2017 16:37:24 +0000 From: Pavan Nikhilesh To: jerin.jacob@caviumnetworks.com, hemant.agrawal@nxp.com, harry.van.haaren@intel.com Cc: dev@dpdk.org, Pavan Bhagavatula Date: Fri, 13 Oct 2017 22:06:50 +0530 Message-Id: <1507912610-14409-7-git-send-email-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507912610-14409-1-git-send-email-pbhagavatula@caviumnetworks.com> References: <1507712990-13064-1-git-send-email-pbhagavatula@caviumnetworks.com> <1507912610-14409-1-git-send-email-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: DM5PR05CA0054.namprd05.prod.outlook.com (10.174.188.171) To CY4PR07MB3464.namprd07.prod.outlook.com (10.171.252.145) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a5cf7f43-abde-4266-ba2c-08d51258b004 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:CY4PR07MB3464; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3464; 3:hTKoYiGQ1nBdvBxW+68ypwcjEb5rrc9qtmfjNPQi1+pLTQe6547SuWmP5uGQga8w2WKp81HdUUjnIuUiRUb/u3nspCT91fy6VVSVsaCG4AVmKm6YjeGWqMi0A5+bpsfV8IHNVqMklE01ZrqsNfANz+OQZjcfffApHr7LwWGWFlhDR4s3jV7xunW0JeUG6gbeF2RoInE+fUqimDCgErnJb0ma88ZNhLze2Lpgrl0MUxqs4How8g6xfJ8yllXtUYpl; 25:wRzkXDJyqly4SrvA1+HmX29jyueKXWyUZy4CjwSUepW5xTqktxMxA99Z0HHuY9wjqm8GcKICONidIMx+urPh0mgapCij/+UH2ZBAnUzQlJ7UsDNW3pda2IV/GtUKbpjJPQsVBfP3Lnl9ueVYjN4cbcFdWNy/poA/Omkc7xy01LzuDEYmTOcio1LlCBDjs5S/8LPvIC9CB6TPduAzMXqWS+Yc1DUWVn5RjMK8FN5JLaIbhnKC37K06kRaLc9W1+ipL6NklAGkeIy9OwQ5riUZ6vqvp0XtvosdmRLd81MgiGXF2WAxRXAeamY9NiXB3lORXRDj6jHAIr1ax+JbW3rbWg==; 31:AKOZU0Od4mi4s5yWc4kXpYlxBx+L4ckAD+Bhox4JuqYgDTF0j1abR3nWkeQDErNwADmx8dG8KkAwTrF4CVaWbn12dtZu7JQAtTZN3sh3L9gSP3fia4bWCAjW/KV7aYB0uyZAsXEJy20y4bjpdUJzqraI5HlQSsMdQV6QkXLR+v66WHFYt3D4dAPQcuQVB2cBShZ6Gp+YC/FKw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-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123560025)(20161123558100)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR07MB3464; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR07MB3464; X-Forefront-PRVS: 04599F3534 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(189002)(199003)(68736007)(5660300001)(53416004)(15650500001)(3846002)(6116002)(33646002)(6486002)(316002)(6506006)(5009440100003)(50466002)(72206003)(478600001)(4326008)(2906002)(2950100002)(25786009)(42882006)(107886003)(6666003)(36756003)(53936002)(5003940100001)(48376002)(69596002)(97736004)(105586002)(6512007)(16526018)(106356001)(50226002)(8676002)(50986999)(7736002)(189998001)(101416001)(16586007)(81156014)(8656003)(47776003)(81166006)(305945005)(8936002)(66066001)(76176999)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR07MB3464; 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; CY4PR07MB3464; 23:EvBxDUQlOQNA0FhDbfllVjNCwLBkzODNWWpOrCun3?= =?us-ascii?Q?Tvib/Wzr3/k46iHS8iiBIL+Pu2zFqflA+Q4qp7LYAYU+lgPw3rRg2oF9ygKP?= =?us-ascii?Q?yX4stUQ08vUEqJ9zPJTRIrfms3nalf0sqgwfs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pdIMjno3QGq3ia6qy65q3YbjmmWzV4xoSCSMbsdIF2//Gb1HhFaEc3iJ7bTOCYFcTSpGp6cUOxNDTjes7R3gPqkHEHjYXpBhQDfozB8dquwU1gJCeEOLNZRWUVUu+q5k= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Oct 2017 16:37:24.3311 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3464 Subject: [dpdk-dev] [PATCH v2 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: Fri, 13 Oct 2017 16:37:29 -0000 From: Pavan Bhagavatula 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 ++++++------- 1 file changed, 6 insertions(+), 7 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 -- 2.7.4