From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0064.outbound.protection.outlook.com [104.47.42.64]) by dpdk.org (Postfix) with ESMTP id C65CE5911 for ; Fri, 10 Feb 2017 10:02:38 +0100 (CET) Received: from DM2PR03CA0049.namprd03.prod.outlook.com (10.141.96.48) by DM2PR0301MB0736.namprd03.prod.outlook.com (10.160.97.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Fri, 10 Feb 2017 09:02:34 +0000 Received: from BL2FFO11FD056.protection.gbl (2a01:111:f400:7c09::173) by DM2PR03CA0049.outlook.office365.com (2a01:111:e400:2428::48) 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:02:34 +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 BL2FFO11FD056.mail.protection.outlook.com (10.173.161.184) 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:02: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 v1A92UIG022752; Fri, 10 Feb 2017 02:02:30 -0700 From: Nipun Gupta To: CC: , , , , , Nipun Gupta Date: Fri, 10 Feb 2017 20:35:04 +0530 Message-ID: <1486739104-10953-1-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131311909540833751; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(7916002)(39400400002)(39410400002)(39380400002)(39850400002)(39450400003)(39860400002)(39840400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(4326007)(105606002)(5660300001)(110136004)(92566002)(50986999)(53936002)(104016004)(38730400002)(8656002)(54906002)(77096006)(2351001)(50226002)(106466001)(68736007)(33646002)(5003940100001)(48376002)(50466002)(356003)(305945005)(2906002)(47776003)(36756003)(85426001)(8936002)(626004)(189998001)(97736004)(6916009)(86362001)(81156014)(81166006)(6666003)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0301MB0736; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD056; 1:K/zH9VgfcoTlH+rJKm4f620lfiTeRVw5Pp9tLjTd57CtV0FqVGK1DXNj3cjaTgnOqcM9SIPLbG2hDosMdJ1OPyX8tUX5qcirDo2u/W1L3vx5qCgrxhKRd5puio2c7DNQ1ScyuZ11GDq4Em540vmUA3SYEVB69Ooh/fgMDDuEs8jOhQ+Fo7/bnCdfi1chlqbeDlFeF5bqXv2V3rkXgqCgh+m/flGa21BEvMVkgMO6sYCEXY+tt6R5nWCPjfBigKIoYv5AwuVR/vP4y4DDhrKCBz5tc0tYs+/J0PdwvncByTkjB0Bez9eQx+eTQG8sKuTQf45/7TsG5wmd2w9/R1fuk4XNYcRhH8LPjlKKqpofxa4U240iEqfaUUJu8fg0xqgvE5TjR5rXgkUCMAYJ1Oa5kwSlvOixRkh7ORl2JUSWDQjZCHxRgzQ05bVLNKME1OAXMWY9O7lOKkt/YbAjHPzVZC/HOAU4A3sXq9XLpnvMBMuu0evRfTW9rDClgC/iSJQXXNs3hEmI0YJg++z9bmYnyx86n/cLo3UogHjoAPJoFoNmS/LaVbHu27ZttZlRxC6xB/eMG34gnqjy0HFEBx3xx2bUz13EE2hB9dl6im2iPCdnLzOEBmJ+HujxO8TEjbMgP+Q6DnTMzONWfkQCwUhY6JgYgDCmasairVlZIitwlBcbniWanJ2Dx1Hdtbhk9qOCVE7PYBSO4uUPobjt53LTIsC2J6Ii1HJ70y468yyJ7s05YH7X1RhwZFKKPQ4O9Pg1 MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: e72103b4-fa76-4f3f-a9d7-08d451938d6c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DM2PR0301MB0736; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0736; 3:q/IvxfpqIfggJ6TRi5We3LYf/LAIKnVdAtc5XE9mB7it1T7CMJWBn7NKbsWgJt5mdVigznDGhC3u+N0ufrS0ebNOIW8csMY1jEJPHXaNinHeK2KtNkY9P3ficAD8hpWufysCmPTFpb3bAXAejxvuTB0Zd32uZ+b83UmBXeFIR04zJkINGHTu+WjN0XY8F8IZmRVkSEHD8Bi+hjCpWImDrFTehxUTQ4ArYCnbMXSXT0pG0WTYv+oqEhbdX9KwU5FHh2hdt+trk8uEvnYq4yrDw9ivBPWBM9EyfAoJ7AI5dUbhfYqQCnSFaQlMLKLCwQKYME6ppR+BsxIhr7+SCgHJMg+NyRAAdgf3FNQgqVlTu+4W8Uz4QTD5UGgTJx79REDQ; 25:Jv+fo67KHcCJrBZhOyKho2ym5sWMEOJr/7GxnnhHL2apMpZYUaPpnK+UGJg5G06hgWUO0YSY0z2a/AMpSej0m6cXGZrunyayMUuI/zOZRwSbzsOrMTOxqOWJceTDCcaEVH5M+rrgwWXOUVr/jH19r6rsGbsVpHatR5Wbkos2YJPIGmCfli/lYfz+Ivte3UT4gqDbkELSyzgtFyfBQLS7vdpn4CZEdWoDp49lhcgZBBtX1sZv5vk4Dn52WKgeq/a5Zd2Q0iYgJY8bdy53gyCRIY6TYMsW7xjFUrbCNSrX71irB5tDxRWNqpTfl7uDNHniDRlZASYrXlMQnU4EZ5a/3UA0eUJSFq7Pp2ZN/xWTJy7eyt4S1uDqSnBQuWi4pqkVtw7U8krel7L55AqCuIbSKyCT9HY0u86DxL5iMgj/OBDHM2PC1aeCTIs9n57ENeoPDu/uAMMhGMy0mnS0UgCwOA== X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0736; 31:Df5Z8hc4nci1glGPXr5KGkbbriPKYbVrvf4+PgjTM8gjFOTrBW09qTdW5vIR5Ia3IBlUwYBFRrsYJrcKbE0/f4+mAkxvsvusFxFM+Ju4qBK+8gI4bruwAPAGoy9VgWZFtVBZjJ8PzYU9OY6vMvcp5W154WrKhSfjr3jNmNDGCHGB9wgjI+55kkfvS/cMo0T6x/+Diq/W8o57Mwcq/lVoobV4/Cky+EEHB3IlH5+ZeE4r/L2Rr5r9RL7g4qp3g79jmlFujsAIrWH/1CmKftnjdbbuDPdabOTad2LB1nck4tY= 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)(8121501046)(5005006)(13017025)(13015025)(13023025)(13024025)(13018025)(10201501046)(3002001)(6055026)(6096035)(20161123565025)(20161123561025)(20161123563025)(20161123559025)(20161123556025); SRVR:DM2PR0301MB0736; BCL:0; PCL:0; RULEID:(400006); SRVR:DM2PR0301MB0736; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0736; 4:sU0/Hzg1wcYmlRKXb//WVDWXy9H1pXg5lETGMF/yKIaTsintj4UXBVBSv8XbnnhDsjnzLPJiSc57pjS+kpTxzAeh2gvDyWPfKuvBvuzzrN15wOfyTi2JL1B0q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4DkQSTpVx3hIndKn3COVOrNmI4FoPWTl3heOukrpbH0o/d7qQpq6CtR7gFuduLNhOfyaYWMQUHV2OC1iDIu/14/S/eeVu0fh7n5Xf79xHYp9ffURg0Nb7CNeSOeRTyRlwKIsORndF26gjfzU8pVIobYaiUXlKKUGtAQlw1QhTewJoxGXnnz7Kr0RQjlgXYhvKrg9lTphYp8DLzVQ4pULKHs143//MjJAdgVH1J/Ijd9d8v4GxOZMpolaF0VGd8t9YDT/6SIVmt1RfHua6yALVNj19sWSHPHMNcck8sREobnK3LlGaTV0B5ggEQVtU+leWmLQ55giXPit36atTfPQ5AbxYZS6yhl69lNMCayLiYwTWScM2dsiyUA4YG7PaVVVDiQotZl7o+pS62YyxTbpp/aJlQZIT+vrIpyCSIwMKwAbPWR6e0ivW3wWkl69s/akRLZAS6eOeA+WJvW7Q80Wlg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Feb 2017 09:02:33.8961 (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: DM2PR0301MB0736 Subject: [dpdk-dev] [PATCH] eventdev: amend comments for nb_events_limit and new_event_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:02:39 -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 --- 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