From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0062.outbound.protection.outlook.com [104.47.42.62]) by dpdk.org (Postfix) with ESMTP id 5AAED2A5E for ; Tue, 14 Feb 2017 05:05:36 +0100 (CET) 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=iNzVm+yS/mYHbNuccY42g4xXw+hmIW4N/g7wIcTROnY=; b=jf4iLyRjNwYahiN82L63qgMBCZPeraz55H/oTqJMmth/Zc+5m7vBgrA8BmF2oPUeIYv+awRsUpmKWO8ygzgGUA7Jf1IqQEBSJqagGsqBLpUGx0NaCjSb34/OeCFMfdMyiRUMJgcJkY1EeKcmANg9nhY0z6AhDucKIRt+FKydvS4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain (111.93.218.67) by CY1PR0701MB1728.namprd07.prod.outlook.com (10.163.21.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Tue, 14 Feb 2017 04:05:31 +0000 Date: Tue, 14 Feb 2017 09:35:13 +0530 From: Jerin Jacob To: Gage Eads Cc: dev@dpdk.org, bruce.richardson@intel.com, hemant.agrawal@nxp.com, harry.van.haaren@intel.com, nipun.gupta@nxp.com Message-ID: <20170214040512.GA6091@localhost.localdomain> References: <1486753473-26330-1-git-send-email-gage.eads@intel.com> <1487001173-25040-1-git-send-email-gage.eads@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1487001173-25040-1-git-send-email-gage.eads@intel.com> User-Agent: Mutt/1.7.1 (2016-10-04) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0068.INDPRD01.PROD.OUTLOOK.COM (10.164.136.168) To CY1PR0701MB1728.namprd07.prod.outlook.com (10.163.21.142) X-MS-Office365-Filtering-Correlation-Id: c627904f-85db-404e-a428-08d4548eb974 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:CY1PR0701MB1728; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1728; 3:LtsnjSI+2IbzqNYl84+EyOVtiiv8oWSxtUf7mbRaehUsqN2xRT5w00Fp0MwhafoDHm12Zakk8lsmXHwu3VsD1Td6E3SSKVij5mLt0Pdy+XU/Pgod0628eF+AzHFNXixUPWZJIO5kYXVWGrHJswgld6fkFZtF5NflQ1QR2zNc/r1nBlJB/lrIVSVp8Rk7ZTIDTwNokkvB433p3IaxIw91+qaPdtU86yXHlG62ci8d7fCK2cv+DjER4+kZFuJwHnk8N2TnLhKX28wHDRUJxI9DmA==; 25:Ut45TLJu4TNshXMuAadqpdkPkdTos/XRGPVDp6WODi/cICrKrqRYYnob2XCtZH99+pex6qOR2rX0a07HaocImHWV8+H+DOhBQ8aABrBZ82vcaG9q6iWaVKY/+XIVdtSepQfth3QGD2QC1dP2IwGYkTWyM6p4oJXWbhaDxchYcXnq6RnlIHUt8b5N8S7RdMRDN51WEb9YsMLqAjDNDuvDC+Vax6UZXUFEPR4xectS36GMBAiZj3uBU7kvtypwKCMuZb6o9XritXF/CysyncU966iTAVfsB/VBj0le5mPU4Qgg7AAlIrt5Io4v/paelfDP1DMCG9zyrfLpOod7R9a54aphfrfIT8taKUoQYmpUp4wUPK0bQYx+9ie4kDcSYLugF8JlEPAy2ivggRv4aD+5VpWQlvVUzSaHueSVK3R+lKoNsVFDnpq1Kd0LV0jGIJEmyT2mTeuoYioXWi/VVXc+1g== X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1728; 31:OwY62+1yTfoUe+zpG/XuELIoyK/xou0/zxh1odXGf+/w+87ULeR7/ypJYDUJIBqNNnnBzQSKD6LhWUSLl9tDxwBiJNjkUxZYzRv5HZjhDZMMzmqYOYDMK+nmbRNkFLhbGuF//a4dVqDD3roXSB3ql0bMAgIemLotlCjaMcPbJIveg/tB+8fRc901twu4dbIWad7KOK1vVZDaP+MkP1uen1AXu/TnsF/PP4izsLGeoXubS0EGr2StAwzLZpx0QlWsXV78prnrs4uVmZNcFS/qfNxDX35duttWC43vY3ZVe60=; 20:k75vblMIPuu0LoVxFkTT1ffw+PBbxlv1byXJ8z5k2AxxFvjaerNbpfpE4XMEGGn4etDkCcw+BO5i7ayr061Vw5OCR7SNOmsgPQ4mZSPj/tz/KIRK1R55pyQyy3Skdovd8bqSvNDvkyeG5VdQrEE6dYWYIvBTYuNJcjwtIIGKCPFxdLugBrAh1lCt3ojYL67SCVsW42c9mos80+z12TE3s6iO4U2Wu1muaxU9wNpz989QFEfcJT0aJCHgRHIJjlKTLi6dBM9jt4FXsz/as3N4MksCvvYx8dMb9U5mm6JeUs20Xm4/4AGN+WsiBRL9LrZAj7rDSccJcXQ4PU2sF2bRh8BV55RgFP9eQhXN8PVWM6Wd62ojY6/kHUqTZ6J9c0fLfOxuuzWNPL3JLSo3BcgNh5bG3Eyv7qiohk3nCOZcDLfjatgG41jCjps2CFCBBzk6SKA6l3ySULhc0u7C+E2eZnW5EdLYgIiHoZX1HgG8QP8BDL09o0B9F9SeUdZd/XCfu0+mYJ0gEQTIG1QzEVq80z6uOCCyAhni7hOwVLCf/bmt1bWQLdrbO1PI4gc1b24aedv2bOLaLm4plxESL49FbziEESjsZGYZwvuqZMwcSQY= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123562025)(20161123560025)(20161123558025)(20161123555025)(20161123564025)(6072148); SRVR:CY1PR0701MB1728; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0701MB1728; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1728; 4:NH0R26mClDWzzBrHcwusH8/wm61uoKQtyD3LLg4C7m3HG4Y0Q2oqbG7ZfgxFJ9QMEx/z6/0VfPz+ewztSirNu7qhFa7Hqphe/c6Dq/ue3IKRXKUakSMN1ybBbHcYmXaGt5FyttLozX/HuoD9sdvClvbthUbH5rfAWSpwnyhNgMFDbTqUYz2mUji+U/I/NUDXkwHNmz0GthDWT2d5Gxm76AM2IKc6uPUUJkaUVZXnQSBvytOV6xw9zbHFhHhO5Jrim+0VUFNZ4lVpT9dAjxjhuj1SxLwCsbBjOuuL/rgYmQn0CkxGz/H+/ytfmTkkenNTzicVBSmlKve0dKsDqlS3n9zzIABm5TrT+QeqJTXtJBuRy1L3v3c4B2+As+CHgRR5cOge0dvX271w0ElMRjpzyMQdADaxzmW/yEqkvLjiesCMh15ke0nGHEJaPqlYcPKLmYApsieus2ibEg07s5j9q6qCJoIzjFaeFYZSBhliE9pKYpOAY1qFVyrCTC0T0JXFyGiJxsh9Fi41EtOdKXwcmfnolnnvf2KvVeFqfTWiUWoutqDaXDn+EHiK37DYw6RppUO+MwDomCfiTqziPObP2fiCERpVRaAT5iCvmTej6aflXg9v+Maw+wUj1mJhNcAC469tHG5UTlsE4gLLan/Y1g== X-Forefront-PRVS: 0218A015FA X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(39450400003)(199003)(24454002)(189002)(33656002)(76176999)(50986999)(101416001)(54356999)(92566002)(97736004)(66066001)(83506001)(53936002)(189998001)(38730400002)(6666003)(6246003)(5009440100003)(5660300001)(42882006)(6916009)(2950100002)(110136004)(81156014)(81166006)(7736002)(47776003)(8676002)(61506002)(8656002)(55016002)(229853002)(305945005)(50466002)(68736007)(4001350100001)(42186005)(23726003)(6116002)(2906002)(1076002)(3846002)(25786008)(6506006)(105586002)(106356001)(81003)(9686003)(7099028)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1728; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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; CY1PR0701MB1728; 23:je1Ji0iuw5xyx03mqSKnr4GmgXTY+OmIJjhCARg?= =?us-ascii?Q?z9bhF9Cwj6g+CvXuMvgUWAOo9t+B8UMBPQqSUx8DTG/+YdB2sdbgJALfkAOI?= =?us-ascii?Q?jrQ/G8DJt/4oTogR6mIebGsrJyUjmRhLMza5CEIqFJsaYLpPbu7zQto7VgEW?= =?us-ascii?Q?+t9VktPeLOEMUfWJDs4zQSQget7k6mla0jYfNcm7aQSidR0UWIhSYIOwj31V?= =?us-ascii?Q?JFdEFY01m6PfO65m8wdy7jLGbpRfx1fmuYEyw83VL2ipObgPSBUYOpM6RKlz?= =?us-ascii?Q?SlIER1N2cdeqRQzBvAZDuXry8Wfra/6off7gtB2SVOkNPelq46vbP71OLrW3?= =?us-ascii?Q?hPMkYus5lEkvhV608ty8+xvwIaQl4yvUz2VNO9325AH5odDxxdzd9CRfS9tj?= =?us-ascii?Q?fv1U9KiXn4P1fUHngCnRIiuW8xblUiRCFixVXE7K1gW9ktmfVkx1gVtyL3nc?= =?us-ascii?Q?WN0+6/S2o0AHhzCMQWCsx8VuFncgDgbEkfpPPdsZxpDLhewyeWBG1RElCays?= =?us-ascii?Q?9VzzcCLOj/y0SxYDhttdhS8yx3d3kREQVGAdIbthsJDEz7vB1zhqfIxDZRHU?= =?us-ascii?Q?LMe/UOkETErJDli8kBQWiuP+IyX7eY7npETOhkyroI3z2v81Bys5VDnaea0I?= =?us-ascii?Q?dQrZrjmK7XJLaShLDBDWZGfnc2xZiCr2qBXQV6cjNWEn0v/KQ3ZbWNiBk0wX?= =?us-ascii?Q?FM39YHzk89du7rRwxrDzWUKppO95+8mbtJNvd/o5cq0O9LP95bt2NX8BBoba?= =?us-ascii?Q?zR97oPpj9tkpl4WTRhYUz4OUF3Q/RnS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VmSqqMP8tAMiqb21MwTr4ZY6VU5RxpaUvO/J+xg==; 5:2MFoahgthDIteuRhehUO7xqkTU4fHkb91C5B1XJIC9B3BwUJBcZvfyQFzW46/yBgTNqg1oykfRUEBLUn9mOpdBi6c+m3PLt2YQ1tJfU4d5hZrQ/N4rrvzis24GLr/efhum9sfHhgovfptTemQsz53g==; 24:bsWxpF/teXrtMVG7zsNq4Yahzq2Nl1+wUp4WeiTcGuVCcVjwxH80J2du79imbdGCprVkixW7bbgfiOnf803b+a0yQ/GXuIf4MCu6SSoYEFA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1728; 7:PiH2sG4eCpHBgJWsH4Y/tJcuDWqaIT6EqagCsjJc9TseggFHjp8Ykr6fO+E0NHzyDJ2XbGlJ4h3+f0f0T3P981HLUibh2I+mQbWF28KA4rr3jrw/nuQSkbjxPsnLHt3D53At2FJVz7+CLrBVYVIWnR5sRSw+8UJ1zXeUrdyeEpC8/X6rJK5BHmMSaR9Yt3fXf8Lf3vsMuKe310WcKI+CzZtIWrOL7SYDSgLmSS92aFhHozC8jUy9u46/wB3nSNHTGRu+eCyyf9yuap6a15PaMuacfa1LUPxPCC945JtEBzwL10ZvCILHQLbLbBO4GqfvICm21S2btcttyDRTzp7C22xyvAYGIS3juHtQXMVE8UJN7A/7WqIoGdR6xMW/kCol6UYPIf1ZhncYHWPE5fLPfqATRmc0PcTvNB3dtPfHkPsynYCFFqNZyyvcFIIh4OYuoQSk4NHLgUmfinOOA5cn0+luWK0OayrzYSm6o3xo4ar/sNIO1BUdKjIWLUHM6iDJDuk7X6GrwnMTbngMmPdE8w== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Feb 2017 04:05:31.6631 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1728 Subject: Re: [dpdk-dev] [PATCH v2] eventdev: clarify nb_links and nb_unlinks description 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: Tue, 14 Feb 2017 04:05:36 -0000 On Mon, Feb 13, 2017 at 09:52:53AM -0600, Gage Eads wrote: > This commit clarifies the usage of nb_links and nb_unlinks when passing > a NULL pointer as the queues argument. > > Signed-off-by: Gage Eads Acked-by: Jerin Jacob > --- > Changes for v2: > - Clarify nb_links as well > > lib/librte_eventdev/rte_eventdev.h | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h > index c2f9310..eaf9dc6 100644 > --- a/lib/librte_eventdev/rte_eventdev.h > +++ b/lib/librte_eventdev/rte_eventdev.h > @@ -1291,7 +1291,8 @@ rte_event_dequeue_burst(uint8_t dev_id, uint8_t port_id, struct rte_event ev[], > * with RTE_EVENT_DEV_PRIORITY_NORMAL servicing priority > * > * @param nb_links > - * The number of links to establish > + * The number of links to establish. This parameter is ignored if queues is > + * NULL. > * > * @return > * The number of links actually established. The return value can be less than > @@ -1336,7 +1337,8 @@ rte_event_port_link(uint8_t dev_id, uint8_t port_id, > * event queue(s) from the event port *port_id*. > * > * @param nb_unlinks > - * The number of unlinks to establish > + * The number of unlinks to establish. This parameter is ignored if queues is > + * NULL. > * > * @return > * The number of unlinks actually established. The return value can be less > -- > 2.7.4 >