From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3DCB8A0C4B; Fri, 15 Oct 2021 11:13:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1F71C40692; Fri, 15 Oct 2021 11:13:35 +0200 (CEST) Received: from AZHDRRW-EX01.nvidia.com (azhdrrw-ex01.nvidia.com [20.51.104.162]) by mails.dpdk.org (Postfix) with ESMTP id B56B540041 for ; Fri, 15 Oct 2021 11:13:33 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.172) by mxs.oss.nvidia.com (10.13.234.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.858.15; Fri, 15 Oct 2021 02:13:32 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MLLX4a3pBWG74hhoiAz3PAvw5MdttP963vlBGMzPdPMlu83W2n9aJMNnbD+Ku3JJNkEW3C68iqLnDVnoZ+bF7RBRBu/jgtM81IcXBgLgra18GaEFoATDjZxRM+0/12HrzsA7nqU0KB/+OilFhGYswYL+fVuBq9Fvmh2i4tAZ6+aUmkAbN6nxei1D2J0BNtAE4Z9mK/xCfmguHFPmjzpvgEcob+U8UdeYDUj9A0lpgylOR3gC0vTdncyRfUVXJP8zf1FHQLT4J1RiCCI2gYDab9EH6aoTytCKlBCEW91ofph//oGPalPrKid16CzlZdou7vfRyMXHtrw6ya0E18trTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=hRHzwiWcsBXstKsRx1CdQoFMOwFOOxpdgvjxhIQFgl4=; b=aw5U/BWMZJ+1BSUeBfCDqWxumaRMLKmrE58sn901jWhd7NrO21ahhOOJ1tcBamTMu7t6HQtzBfGpzo9FP3UzhSKPDS/r+EqiTChtHgkqTFibZOq2bUM9kOD4LzAtNYBKxBySGY+w1TvgrsKtHi2nCKJsAVNDB26toSD2Y8DTbj9/v32QhXoBEBNkuk9e2kZU+cB0S2x1Qs+bMEJfqkxzBcwW/lvnML05BeMK5P/ryc/6jeWYwbWfK73KolnislVgu5F2XWoBB0ilkqLlqDy4G30HbaraoI62xzFFKAA9Kik4A51bUEZjcfTSydkxolPcIWxc7EwO6CgQh/gE6QEaKg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hRHzwiWcsBXstKsRx1CdQoFMOwFOOxpdgvjxhIQFgl4=; b=jhl2Tj0lYAubwbFHVIrkF6TNplKjIuLk6ubQ1DgaZHisSkkUHgq2OKvv/rjK6TBL+I0lkcWbdEOV2SXjldnIiVdHnpM7Ub1X4K9o2CAvYRuVOA57YWpPkvU6vyFpgff+grSUNfmU0hTCPYfZKcW/kCRHpN4DxxuOjCUwMclMPLy/3Y9kB/n/SZUPjKt9gif53+hS3g1xGLD9NZc+gUOm+AlS78TImte5R05ACqhsM2lEvUPRyVUQfPkD2GdVqo4SbWwoPuXS3SEIALr24vx6rd7phk8KTGa5a2F7fTg/NpjIFzVjAnf4WR+FbBk7p5Mh3uzk/vxzeNw0x5EcQlMubQ== Received: from CH0PR12MB5091.namprd12.prod.outlook.com (2603:10b6:610:be::10) by CH0PR12MB5219.namprd12.prod.outlook.com (2603:10b6:610:d2::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16; Fri, 15 Oct 2021 09:13:31 +0000 Received: from CH0PR12MB5091.namprd12.prod.outlook.com ([fe80::59bf:640f:7140:ab97]) by CH0PR12MB5091.namprd12.prod.outlook.com ([fe80::59bf:640f:7140:ab97%9]) with mapi id 15.20.4587.032; Fri, 15 Oct 2021 09:13:31 +0000 From: Dmitry Kozlyuk To: Andrew Rybchenko , "dev@dpdk.org" CC: Matan Azrad , Olivier Matz , "Ray Kinsella" , Anatoly Burakov Thread-Topic: [PATCH v4 1/4] mempool: add event callbacks Thread-Index: AQHXwaICLSOO6LtDc0+odw1KMrV72avTxHmQ Date: Fri, 15 Oct 2021 09:13:31 +0000 Message-ID: References: <20211012000409.2751908-1-dkozlyuk@nvidia.com> <20211013110131.2909604-1-dkozlyuk@nvidia.com> <20211013110131.2909604-2-dkozlyuk@nvidia.com> <1dd0b17c-0009-46e7-0f14-c88ce2b58540@oktetlabs.ru> In-Reply-To: <1dd0b17c-0009-46e7-0f14-c88ce2b58540@oktetlabs.ru> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: oktetlabs.ru; dkim=none (message not signed) header.d=none;oktetlabs.ru; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fe3ca83b-4fe8-42d0-7e70-08d98fbc0ef0 x-ms-traffictypediagnostic: CH0PR12MB5219: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: FQrY/Ot9Ic8SFOdjQxazs9Md2AyOjocS3sZ5sjRtc2XKab0ARWimK8PEVQMOfENshEuqTUrFhVMOHXtVX6dLu0JGSvt7KjFbxniZlKS20Y7huKBrT4tAEsIs2DE04X+EAz772Yv1D3wUHMOOvhOM5FPMu3r7nK1OkF52xMcSv0seqAUI4eYFFEmnSJK5nzTAoCgI9o6xLYonVQ+LJA6ZvS2ohClabEVoKnVioI6sBXVqJjFMNszGyTHOcfPiUav+kYhYrezrWAn+UKMp35swKSQxAwg6AVxIQCc45aQLdvX/LfI+5M/gx67+2LSs4pWYDVf0OUd+54sC35u8iiaDXKVQMwhDw0VJhtk+f4WM7Tbuc+RQatA/1U8/VMjOLdnTZhAw7ayTF3ZpOQXcBx4G6jN5AbDKiMjtTDmedXZ16Q35wsHwRo3kk8EB1+rAfSOx2UUvImkvM7uYG4uNJlfSMZ5F5uz+SCi5TU8eC4WtAo0C8au8bbp5C7cruUEVHmrwCD92Q/V9BPEAUuFT5LLg8v/XgPYwe6zRHTTLmpeTrtA4mnvirwERkDClL2d02HgPnlDZuMiV5wJF8ONsLiC+4rQdpl8Qovw/nrOEIkzbhRwTPg5OCxjQLSqnddd0Kk/XjFifTl+NOBzFnGrixthhFf/G51/8yUY3N7PY9he0AYOjf/1sFJCHT921FeFTStQ2c6Wh6jDjfaANd/9riEiQXg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH0PR12MB5091.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(83380400001)(4326008)(66476007)(66556008)(64756008)(54906003)(7696005)(66446008)(66946007)(76116006)(508600001)(6506007)(2906002)(110136005)(55016002)(316002)(9686003)(52536014)(26005)(5660300002)(8676002)(86362001)(33656002)(122000001)(71200400001)(38100700002)(38070700005)(186003)(107886003)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?ekk3MnZmV1oyS3FwalNyMUViT290dzZUeGkzUkRmUHJZSW9MVEJMdE1hN1pC?= =?utf-8?B?U0FUa0xSYitTU01ZWEZUNWJyRFp4NEZ6WXQ5bHF2SkNnWnRzLzUxOF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Uk2U1c2T3dwYmZtUjhkUndE?= =?utf-8?B?ZXNHNld5VGw3bHhzM3d6ZE5yR0VOeHQraTFjTTBEaE55eU90UlJndHVUVlVn?= =?utf-8?B?cTRINm8yRXgvUFRZNlZOR3JzRlZSZk1hRXRVZ1F6YTlmSVYwQnNYYitzVXRV?= =?utf-8?B?WFdoR05ZQzdDb0xnai9aWU0xbCsyb3A1a3RsSjNhNGtSL2ltVnZUcWV4KzFj?= =?utf-8?B?d282NUNSZFZTTWZUMzZOaklpaE5kbFgvV2pZNXFCSUJ3dzFqUEJHaHF2WUlB?= =?utf-8?B?T0cxOXlIajIzd0tURk9TVHUyRE9YM21PSXRZaUlLZ1Q2LzVYakNyVEc1MTJG?= =?utf-8?B?Q1Z1WnAwVFdjdFQ5bHNnNW54Nm5MQWFBUTE3VXVLVThPd0czYmNJYU5TcU9s?= =?utf-8?B?RDVCb1gvclROTjZYK3FidkRPVEl3ZmlmeGdWSkw3dmR5TmRSakVtWURMbUdK?= =?utf-8?B?TWRibVVxNEZBTkd1bzIyR0dxRW9QbjJJZW5QZWhSNUtSYjRNcjdicGw2b3Qz?= =?utf-8?B?bk9uUFNacnRuOW9GR2dzSzZmbys2U1JSSmtKNUpCTzJzVzkxb2RUYWprZXBK?= =?utf-8?B?YXlnRGgwZUhXTVBLUlExRWE4TTZHV1N0NDV3QUdLSVY2bFhUMzA3YmFZUDJQ?= =?utf-8?B?VXozUHY2dkVIQS82dHQ4dUJFUnJHLzUwaGtSdVlJL1JZUTR6RFNSSEt6VHVC?= =?utf-8?B?OFdTanhvTUJLMFNGWXE1eGpUSllpc3lQZ25QbitsY0lNdGI5QUdKQVBSSHVG?= =?utf-8?Q?S3B8nnn5TFbNe/ZkHM=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH0PR12MB5091.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fe3ca83b-4fe8-42d0-7e70-08d98fbc0ef0 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Oct 2021 09:13:31.6154 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: nKBMwNLIAOoygKyg4rHVgUXPhBxLlBy7y4Xps6rMnEUCc+6Be8H6hBdMvgSYlk3weCaZVbGd1B4ImL/WjK9mtA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5219 Subject: Re: [dpdk-dev] [PATCH v4 1/4] mempool: add event callbacks X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBBbmRyZXcgUnliY2hlbmtvIDxh bmRyZXcucnliY2hlbmtvQG9rdGV0bGFicy5ydT4NCj4gWy4uLl0NCj4gV2l0aCBiZWxvdyByZXZp ZXcgbm90ZXMgcHJvY2Vzc2VkDQo+IA0KPiBSZXZpZXdlZC1ieTogQW5kcmV3IFJ5YmNoZW5rbyA8 YW5kcmV3LnJ5YmNoZW5rb0Bva3RldGxhYnMucnU+DQo+IA0KDQpUaGFua3MgZm9yIHRoZSBjb21t ZW50cywgSSdsbCBmaXggdGhlbSBhbGwsIGp1c3QgYSBzbWFsbCBub3RlIGJlbG93IEZZSS4NCg0K PiA+ICsgICAgIHJ0ZV9tY2ZnX21lbXBvb2xfcmVhZF9sb2NrKCk7DQo+ID4gKyAgICAgcnRlX21j ZmdfdGFpbHFfd3JpdGVfbG9jaygpOw0KPiA+ICsgICAgIHJldCA9IC1FTk9FTlQ7DQo+ID4gKyAg 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