From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50114.outbound.protection.outlook.com [40.107.5.114]) by dpdk.org (Postfix) with ESMTP id 562D2255 for ; Tue, 18 Sep 2018 14:06:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tuIKmkVv0uUF9xorQnon7ekIYD4a3X+i1p7xP49Wtr8=; b=KPyo87OBTiIt55x7Az1lzQkZlfYoBOs4x4whHTFpu2cuJIjkx8HlUJTLLF/aydDTrILBP9KEudtpZ4Ol6T7MP1xwLWJU1Ej/8Bz8DE9qHLE6vAcpBVRsDW//kNAMOzaahUefh5jgui7YvNLwVDQOb27Lkq9VKvEhsXpdeLD6Gjs= Received: from HE1PR07MB3193.eurprd07.prod.outlook.com (10.170.245.31) by HE1PR07MB1465.eurprd07.prod.outlook.com (10.169.122.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.15; Tue, 18 Sep 2018 12:05:58 +0000 Received: from HE1PR07MB3193.eurprd07.prod.outlook.com ([fe80::f9fe:adb3:1149:ba72]) by HE1PR07MB3193.eurprd07.prod.outlook.com ([fe80::f9fe:adb3:1149:ba72%4]) with mapi id 15.20.1164.012; Tue, 18 Sep 2018 12:05:58 +0000 From: "Elo, Matias (Nokia - FI/Espoo)" To: Harry van Haaren CC: "dev@dpdk.org" , "jerin.jacob@caviumnetworks.com" Thread-Topic: [PATCH 1/3] event: add function for reading unlink in progress Thread-Index: AQHUSrPyM6/2Diy7+U2Cb6KGb66yBaT1+nqA Date: Tue, 18 Sep 2018 12:05:58 +0000 Message-ID: <9A294A7C-6A4C-4DD0-9E1B-9A6C6DC258E0@nokia.com> References: <20180912161616.42306-1-harry.van.haaren@intel.com> In-Reply-To: <20180912161616.42306-1-harry.van.haaren@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3445.9.1) x-originating-ip: [131.228.2.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR07MB1465; 6:3EwCtJ6Q4DkR71r+J9cqpO7iM36a3E1lwgUaWjVCDwhHG0VjOIBWA3A6KroQnSRbilqze9GElEp1IE6ldXNVMGrZaU4IqUtff9Ddjnw2n9ATcW6UxNcQuvb+MTBFBFdK/6aMfhdYw/sU26vC3JIFQumaciRAqYHc+WNwkqtMYEB9uWCPPfkx5anLjNtArcSZNTHt93U0QUKmHISutDrNR9Hl0SuYlB1WjAYXLytzbBFkKYzl1Ukzp/pexUZmkZ46PlfSLf3WmEkKPOtNCnofmPQZgNtRGwSEbjIXEPqKrAEgq7DFJYA8WipgsSaXWWB8HUsITMu3M1cWlTt4TZ3xmscX8flHHe1VAo+QfaTJmX4zp3kLnjGHPb26+wug6t9QOgrOj6fKI2gObdX5eJPnfJ245FDDyVxT5pUzoa3KlSm4s+KOIdero6SAvNXA1wj3XsxEUmJ9l2f5XzydsEtfOQ==; 5:SyhyrOMAoMQ+jLhEMrLUF1C5Y7iGCoVs2vlX3UbMIlSC/OrqlUfH3lTrpLwxTSWbmcxobFzepLhwL+wOM3W10esx8XKYbAJi2G3li+/wI0J6o6libdaLf6vfKgszNXfbFVzatMlgc4AS7xfqsGglnSk5i8mpgQ4vfvbiK+N+v2M=; 7:+9uB8TQTXYPfsXAE/9GB9y0nfnjQ7/I17G/1ihSVabpDxhy82ZyGjGMmFfv7IoVbo94w+3PEhlpTB0MNI84PxXSCJxI3MOWleKFk3lff0+q64/1BOho9G2Vy2uu49/cfnOo2i76Xr6EeLJ2aAG32R2fNRM49qBjHNksdHVaHqwHe24e8VLfq+fO0FYidXpouKCqK3sIkSk0V60Y/SUWbFrz4Uf8pkI3Ds5o1eKQ3qFE+M7Gj7zP3piQ1mNGMeAa6 x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 29090e50-e41d-487f-8f40-08d61d5f186a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7193020); SRVR:HE1PR07MB1465; x-ms-traffictypediagnostic: HE1PR07MB1465: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231355)(11241501184)(806099)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(201708071742011)(7699050)(76991041); SRVR:HE1PR07MB1465; BCL:0; PCL:0; RULEID:; SRVR:HE1PR07MB1465; x-forefront-prvs: 0799B1B2D7 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(396003)(136003)(376002)(39860400002)(346002)(61684003)(199004)(189003)(82746002)(26005)(8936002)(66066001)(99286004)(36756003)(81166006)(81156014)(6246003)(6346003)(186003)(105586002)(6506007)(106356001)(14454004)(478600001)(33656002)(102836004)(76176011)(3846002)(6116002)(305945005)(57306001)(476003)(8676002)(486006)(68736007)(4326008)(53936002)(7736002)(6916009)(5250100002)(2900100001)(25786009)(6512007)(6436002)(2616005)(50226002)(446003)(11346002)(5660300001)(316002)(229853002)(14444005)(6486002)(256004)(86362001)(97736004)(83716003)(54906003)(2906002); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR07MB1465; H:HE1PR07MB3193.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=matias.elo@nokia.com; x-microsoft-antispam-message-info: L7BysOnMzS+QFgN0aa8UlXDcuAwadCtZH8JV1Ce9A7vIW1VfkVYSfkDUtLWvcq8ZjUEjErfA/Ea+UIkqsmKmaGr27vgbY6MMn/LEnkRdccxefwIdwfLjOH1vVPNWNu7QrYSFeRCX1nljSNQ+tKA8LSCxqOBcxqeQJpNGISZ9e0lEL+0hJeNrdCtbux/w+w2+ATJ9RE2oNMGWT5dTaWGZMkeSpD3ayImZ6tywFXwgJlf9s+cv7RStiLngzUnp7MLjIvtIme+T+RDD7olQOVV3bwXK33ZhkX4t/G2c6pcRfbOsmIVo/5hwlBKWx/sPrOx1dCcySfNFzxlH3wQVkZCJH6dWFNK2RRKB7s7ZLb0mBSmGjvlH+eOgPlzifNKnBuG0bXCG88BSfmcc1ViIbX2QcQ== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: <7A6A77FC6C7F4844B6A85087B4CF4CF2@eurprd07.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nokia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 29090e50-e41d-487f-8f40-08d61d5f186a X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Sep 2018 12:05:58.6507 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB1465 Subject: Re: [dpdk-dev] [PATCH 1/3] event: add function for reading unlink in progress 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, 18 Sep 2018 12:06:01 -0000 >=20 > +/** > + * Returns the number of unlinks in progress. > + * > + * This function provides the application with a method to detect when a= n > + * unlink has been completed by the implementation. See *rte_event_port_= unlink* > + * on how to issue unlink requests. > + * > + * @param dev_id > + * The indentifier of the device. > + * > + * @param port_id > + * Event port identifier to select port to check for unlinks in progre= ss. > + * > + * @return > + * The number of unlinks that are in progress. A return of zero indicate= s that > + * there are no outstanding unlink requests. A positive return value ind= icates > + * the number of unlinks that are in progress, but are not yet complete. > + * A negative return value indicates an error, -EINVAL indicates an inva= lid > + * parameter passed for *dev_id* or *port_id*. > + */ > +int __rte_experimental > +rte_event_port_unlinks_in_progress(uint8_t dev_id, uint8_t port_id); > + Sorry for slow response (been out of office for the past week). This looks = good to me and should solve my original problem.