From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80090.outbound.protection.outlook.com [40.107.8.90]) by dpdk.org (Postfix) with ESMTP id CE9FD374E for ; Mon, 30 Jul 2018 08:39:46 +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=xbPw6z7i1AjNfpn63mk0E47argG/9kYZx0PNbp74C1k=; b=afYj7605nSue4Is19tMAw3C9Vl6ZNUrM/rtCOHU3XRw4XltsbZZurVM4K5z2+bvQGgKnvpFv0QpAHsc5qxP8/maho4nYKH7WWI8vENvyqMMAFVpdFOmhaJZJclbA3TJdmXkEtoeUMz61C8S9Nda2HsFWkiaNpKLDZSy8TESTzHc= Received: from DB7PR07MB4556.eurprd07.prod.outlook.com (52.135.141.14) by DB7PR07MB3931.eurprd07.prod.outlook.com (52.134.100.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.11; Mon, 30 Jul 2018 06:39:45 +0000 Received: from DB7PR07MB4556.eurprd07.prod.outlook.com ([fe80::10fa:ae08:1e34:67ac]) by DB7PR07MB4556.eurprd07.prod.outlook.com ([fe80::10fa:ae08:1e34:67ac%4]) with mapi id 15.20.1017.010; Mon, 30 Jul 2018 06:39:45 +0000 From: "Elo, Matias (Nokia - FI/Espoo)" To: "dev@dpdk.org" CC: "Van Haaren, Harry" Thread-Topic: eventdev: method for finding out unlink status Thread-Index: AQHUJ9Aasi5EGf77JEeq3+fzpPRPXA== Date: Mon, 30 Jul 2018 06:39:45 +0000 Message-ID: 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.32.171] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR07MB3931; 6:YAwbsAtQH59dlR4pdn0B7HIwSrIu9tLsWcodfFdUsnHQaO1yk6vbctDYC6z1oOUB1v7P4xZ8bEu5LCnxee09442tlypaZHf5rtk3Sp8J0fAK61BXl70g1MiUQkOpXX/m1oJVS495Ub8+Tu3vYsS6X2tixiinIXWOVx9wGpwvoCQwqvSmR7ch/so+HU4l7P3meSaa7PEnyKu6cU7ZY2Ucj/MkF3qqZemmayfTDgyKvuW6Jk6Yf2iCqkRKlHwKvUbnp11feM7HGHJA4kBCdT6dNjO3fbEaP0ohC0TGGDY9+IHUiJPe+opKLn2erYpgEblIBKfncvg8Tk6X5UbhloKstm/E7tm19drits81oIkMcOBBDyiqRkL6IMJIOTF+JZ2rwxN28MYrZPn0z1okuQunOm2NUNJ3guqt7hXOeaf20e9lvaZPWz4WL6TKLRVuY68eb9t+mbmxObJ0R3brccNbiQ==; 5:Rff1vMjHoiztcbVKZcIgsHyPFxscLANFCFydBG616wQQktyRFtIWDCgKfVSw9eHyhBNSXZfvMjYATw4KUMyzsHJ6FRylphAhKU589OqePBtxHboTzCRSqHoI34uNb/TK3UmqhAk37/HJh2738tXNx7DtackJUhYl+GRGDmM71uQ=; 7:Y12dKqqG0NVsVgtBGSLhrZAnRfSmg02Ox4DcRx7WWlrcEHNYGdK4wtIHQ1044uNmL0OCHJrgGiI2Z7s4TrLy8uu++XvR+MW/Q4BEimucQ3+M5nMirNkO9Onvcro+uZbq3PRx+cb4OxlBxkRpPhut/wt4kk0hCqmq4KTHgmnJmwKUaS4RqE834Y1HiAbophU944YhV7ITTb0/kLR4/zG5rdRRmHRRmSBTBnummhKNRhvpQWhGfb30pRYIqI9RDkyc x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 6f1709f4-782e-41bb-711e-08d5f5e73d1e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600074)(711020)(4618075)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7193020); SRVR:DB7PR07MB3931; x-ms-traffictypediagnostic: DB7PR07MB3931: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matias.elo@nokia.com; 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:(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231311)(11241501184)(806099)(944501410)(52105095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:DB7PR07MB3931; BCL:0; PCL:0; RULEID:; SRVR:DB7PR07MB3931; x-forefront-prvs: 0749DC2CE6 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(136003)(39860400002)(396003)(366004)(199004)(189003)(6486002)(57306001)(53936002)(36756003)(6436002)(25786009)(2900100001)(97736004)(50226002)(99286004)(4326008)(6506007)(86362001)(102836004)(26005)(5640700003)(6306002)(6512007)(186003)(2501003)(6116002)(5250100002)(316002)(105586002)(7736002)(6916009)(2906002)(478600001)(2616005)(83716003)(106356001)(305945005)(5660300001)(486006)(8936002)(68736007)(476003)(966005)(82746002)(3846002)(66066001)(256004)(14454004)(81156014)(8676002)(81166006)(1730700003)(2351001)(33656002); DIR:OUT; SFP:1102; SCL:1; SRVR:DB7PR07MB3931; H:DB7PR07MB4556.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) x-microsoft-antispam-message-info: VtBC/3Md1cDGOovFg/HoTNhYWRK1zbxu10h9IZ2Hl2gJhZCD5Zb5ZtpB0txMEYYPW1HiKynhAZxzsKu++FJ0tNRAl+3fgHP/+bTfP1YM0hEgd2jiG8YFQqawcs4pZksTvY+MLP+J9Q6yQno1lYMl/dSQrE+HCGGyOg8q5FaSHuLMBFuOsgAOcc5xis73sDBH4Q6vcRaXoKzU8XNw9C6OoM2gS5HSIDtoVikfnKHJJ+zVFoQDF/ZktC4E2uWzbY7Fw2K7aPGk5bN11s7sM7mkAygHNYS5fE/kXTfei/0lZc9e7zHfDlvMmWVGTEkTEmNvk7EL9TvAvzneVw2pI3hIpE9RzWceMpyZBT18UoDb2SNZjkzd4lcnL+nO/b4O1LIrnQ5wUSp4IBz4k6yLAwpH+A== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: <7A04317182630243BEBC02E17CF14A9A@eurprd07.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nokia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6f1709f4-782e-41bb-711e-08d5f5e73d1e X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2018 06:39:45.3558 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB3931 Subject: [dpdk-dev] eventdev: method for finding out unlink status 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: Mon, 30 Jul 2018 06:39:47 -0000 Hi, In bug report https://bugs.dpdk.org/show_bug.cgi?id=3D60 we have been discu= ssing issues related to events ending up in wrong ports after calling rte_event_port_unlink(). In addition of finding few bugs we have identified= a need for a new API call (or documentation extension) for an application to = be able to find out when an unlink() call has finished and no new events are scheduled anymore to the particular event port. This is required e.g. when = doing clean-up after an application thread stops processing events. The bug report discussion provides more background on the subject and Harry= has already proposed a new 'int32_t rte_event_unlinks_in_progress()' API as one possible solution. -Matias