From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0064.outbound.protection.outlook.com [104.47.38.64]) by dpdk.org (Postfix) with ESMTP id 1977B282 for ; Fri, 10 Feb 2017 10:47:36 +0100 (CET) Received: from BN6PR03CA0070.namprd03.prod.outlook.com (10.173.137.32) by CY1PR0301MB0731.namprd03.prod.outlook.com (10.160.159.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.874.12; Fri, 10 Feb 2017 09:47:34 +0000 Received: from BY2FFO11FD026.protection.gbl (2a01:111:f400:7c0c::136) by BN6PR03CA0070.outlook.office365.com (2603:10b6:404:4c::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16 via Frontend Transport; Fri, 10 Feb 2017 09:47:33 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com;nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD026.mail.protection.outlook.com (10.1.15.215) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.888.7 via Frontend Transport; Fri, 10 Feb 2017 09:47:33 +0000 Received: from b27504-OptiPlex-790.ap.freescale.net (b27504-OptiPlex-790.ap.freescale.net [10.232.132.60]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v1A9lSnq004011; Fri, 10 Feb 2017 02:47:29 -0700 From: Nipun Gupta To: CC: , , , , , Nipun Gupta Date: Fri, 10 Feb 2017 21:20:01 +0530 Message-ID: <1486741801-18258-1-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1486739104-10953-1-git-send-email-nipun.gupta@nxp.com> References: <1486739104-10953-1-git-send-email-nipun.gupta@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131311936534255688; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(979002)(6009001)(336005)(7916002)(39860400002)(39850400002)(39400400002)(39410400002)(39840400002)(39380400002)(39450400003)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(6666003)(2950100002)(8656002)(6916009)(106466001)(189998001)(110136004)(4326007)(5003940100001)(92566002)(36756003)(50226002)(2906002)(8676002)(356003)(86362001)(85426001)(97736004)(50986999)(104016004)(8936002)(305945005)(53936002)(50466002)(38730400002)(626004)(76176999)(68736007)(48376002)(77096006)(47776003)(81156014)(105606002)(2351001)(33646002)(5660300001)(81166006)(54906002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0731; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD026; 1:gxDC/ckrkSBHC/NeNeMCaUe1ZliHOLksj4Q+I2/CP3TP/8zq8qya60eT5VrCDveehaKlKAf1Y0f6za+b7kU9v42wHr2FHRkKc6Klw4tL6QchhAneFBk590lXo9OQqf18VdfQCYzFoUPwMZ+cHeeo9FhfRf7IpIdzlnWSH5D/yV4FX47xLVel2EtY6qo8gMIoHhSSypUK9vj8LzVs9j36Ofqwmmw+a9cYmm1vGsfbAfh6/hI2KXnGj9Hgy+PWLa7sFEbOmNcsDH/DAXIQfOwh49x27NEjZyPVGfSdv6hvphYrReK9ocFE10Jk1trXBf7sJhtOwQtul+YZt/0OELfdv8J1pS1M/3+Nwxzbre8X2KeGPKktyT8S+tmAAACgfALBdyuhxIAMrvM2rC6FhNTGnygLyfhNjon45GYISixwagaTrhzt0zJ4p1NgzJ+XPKf/BRQ6PfqJi2ojduDJg5fPmjvCnrfIe4FsAEVwjz1AfDFb7qUeQIKfQWd74UFOHuemyyQiSwpjiKRLl31w+772bngSc+DK5+CLnaFGPUenZ22MzjQz/0X35BdAiFSfxhBGzT3jGIjDFQwbZT1YWyZgGkNpiup9aHXsTpRMexown2ZdbT4mNWqFj6Xc9ibTdHYRBLv1SAiNZhQceOAxBaUh6CcY+lIxWuq186R0MUP6R0LeqTRL4buJxJL6PF0/l+HnE7YxSPti5JAAiqj5t63oCjZb0oKvqBbKF9rYlVTe7dgEoCcd6HjIYuL3eBAzslPv MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 630d7fae-da42-450b-8d40-08d45199d648 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:CY1PR0301MB0731; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0731; 3:TpZl6atVMefQ+k5qsX9HZ37OitaVMudcfwZq6RFQ2pzEgXu9ppmjiT0tLdGYgX1DXFrrgw4AHLDnqu58BOhQUO/mxRQfCepYHj69IN8/cWixmaLHYkVL2UeL5RU3p9500/EQbVRE1wLLx3YQVgcDpmZJ3yVn9uCL2nitl7EEmX8N2w6C6Tsq+uhtA4w53mB86EE7DP1zVGy6BIPrkURUffoEjD00WC3bXAcbXXDYLFHewzYgrckKCu5wWrzXH+JN3arKvQ2KkoFt9vnBu79EjvS6zxz/vmFCuGGnvmirhE3+R8KDYNHrJViAUIBItRQgDwX5vTNBeQLa4Q+SfnpOw6JOq4Glv+YbovGmNKigraWgnqCRtHN7S0XRK+Wmg2rv; 25:sYrzkRwhGBu2f9YmhOn6w7s8qh+wGpFGKqNOx6GIUxw/hp6gq/qM8Jqz41gL+jIpXKz1uzmFzUvQzdhz14wL/jzHafYumgla9D2ApDrYxu6JbQvNqt5wmz+d063tiFtaCJ0pGlHg/kvhbiy7XAzkhUnBjBjEeIeudF1WycsiY63iODgZoevywj+JYBkzpOKlp3f/e2Hx59nQKzSw2NrC4ipXbCGXgwiiYkU5d2o3nyW/RCgAgFEotJfIWUzF0R0cRU5wT2s16NXBCcIqj0orqienHDlmdOeOWTQ/HaT50p+eKsDbPL6DwVum40YmwR+MHbBjAjTjFkZmOmKRF1lqLPIfq/HiqOwxmjRi4q8uDaELNWD5d1PdyQ7N1OI+HlFoK8HftCgjCrz/nYENmWG44rDeWOKh2mhv7M2qErhOWSWapogKntliGpbAeCgMb6shgjuRTRnnl4//fRidaqnmsQ== X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0731; 31:Y9DqqnABIYgCMEvpLYsV8vjo1yeFBwn24K6EAoIzEUpud0muTEMcdNa6h3clNp+JDpBGieR1BO+JvJiEcRxpw8BlLHK95EhGwrcIWlPwiVclK/B0I/b5iFCSaILy9gTxilL6epAyWy/jl3l4Whp7q1gdu5Rl7wAbfo8LNp5eCQm+U92+tblvAC3PuKH9Hnpoqp9ewBI8V80x0NxJa1rnQ5A6dnB5G470gZo2MGYySs3Yikm5vjrP4Bw/nM8v90Bnq9/8c6zHWI1AgS+2tD33XQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13017025)(13015025)(13018025)(8121501046)(13024025)(5005006)(13023025)(3002001)(10201501046)(6055026)(6096035)(20161123561025)(20161123563025)(20161123559025)(20161123556025)(20161123565025); SRVR:CY1PR0301MB0731; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB0731; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0731; 4:bAJ4+i4PABVkl9EnJYKxGbEjV6Cd6k0RaRaRkwNnsbWWQjuN7aIqow6BFFYEKRyd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o9I84iOou89L0nTVKtfLmEH4dI4oXQdROVeUnNPUPrJ21y31bk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0731; 7:xZVsShY6K4R38KXDqRw91ubudOPBaX3BNQS7EJD+iFsiXzvLZ1pFpV8AiUZ4eTSpF6URys+aXEnNedbgYzuuarpLDfk9UNaRFBgr35g2JtpAh2Rozj9B7COJnutrtCBAGbEloxGG6e7kb+i8ku0VdhoBJw98bXagQRi+m7sijUdg6IiZ4CtTPgKpL98nVA9VpoMCr7ntlboa+velJFlUZuFmxUwZPnwFmrzxMrqkxTrHo5iqLKzx98om16AJfmonJBuEL3hFlbVCmEhJs+rhgoUhm/wSwckbrVREEHJlH5avdvrOZVYSaQcZ7iHFLNIcwfoUyPv2N+yxE2P2HodGhrqP8JtmQMSrtA93q8T/V8ywMUMtxZDh3js07myIP3yVtXgZkoVM2mu5GkAl82cYVvf2zhhbhvCqFz5MCdX9p2lKskE0x/gYmKf/9Ja6s4kD03z6bsOAkqnGiUSVJ0+DTqTzwBoJe0Rx/RGhXA6UpDSmaw3BRXPfYwBBphx9uX0Kbwox3BA6pDRrn1Q1yHYQHA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Feb 2017 09:47:33.0667 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB0731 Subject: [dpdk-dev] [PATCH v2] eventdev: amend comments for events limit and threshold 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, 10 Feb 2017 09:47:36 -0000 Updated the comments on 'nb_events_limit' of 'struct rte_event_dev_config' and 'new_event_threshold' of 'struct rte_event_port_conf' for open system configuration. Signed-off-by: Nipun Gupta --- Changes for v2: - Fix errors reported by check-git-log.sh lib/librte_eventdev/rte_eventdev.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h index c2f9310..171e52e 100644 --- a/lib/librte_eventdev/rte_eventdev.h +++ b/lib/librte_eventdev/rte_eventdev.h @@ -404,11 +404,12 @@ struct rte_event_dev_config { * @see RTE_EVENT_DEV_CFG_PER_DEQUEUE_TIMEOUT */ int32_t nb_events_limit; - /**< Applies to *closed system* event dev only. This field indicates a - * limit to ethdev-like devices to limit the number of events injected - * into the system to not overwhelm core-to-core events. + /**< In a *closed system* this field indicates a limit to ethdev-like + * devices to limit the number of events injected into the system to + * not overwhelm core-to-core events. * This value cannot exceed the *max_num_events* which previously - * provided in rte_event_dev_info_get() + * provided in rte_event_dev_info_get(). + * This should be set to '-1' for *open system*. */ uint8_t nb_event_queues; /**< Number of event queues to configure on this device. @@ -633,7 +634,8 @@ struct rte_event_port_conf { * can have a lower threshold so as not to overwhelm the device, * while ports used for worker pools can have a higher threshold. * This value cannot exceed the *nb_events_limit* - * which previously supplied to rte_event_dev_configure() + * which previously supplied to rte_event_dev_configure(). + * This should be set to '-1' for *open system*. */ uint8_t dequeue_depth; /**< Configure number of bulk dequeues for this event port. -- 1.9.1