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 9067C41BAB; Thu, 2 Feb 2023 11:24:26 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C0F542D81; Thu, 2 Feb 2023 11:24:26 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2069.outbound.protection.outlook.com [40.107.223.69]) by mails.dpdk.org (Postfix) with ESMTP id 8DB8940689 for ; Thu, 2 Feb 2023 11:24:25 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DROyKbwMtyk57VtrnTwgKb9nWqZgklNM/akjKFGC9EIgKeuW7PXLjhnqBVxhhpYVQUn6KVaJ0kHcnjlb27KVzXI1B7ARylCKX1z7af0FhZX7npObuq1tzQIa+G9/RIH+nAl0C0WGqPytO4GQkWqk8pj1z1BWbTj04oKZfIgP+NZRrKHxW97kng1njiyk1mmmWkcchPBQVKkYwE+Z+I4qBQ6b0IcsUxCCwb0idMhnddStcBB4VPtiU7ejBI7wDAjbEdukj04TasZAIDEYtFjNn6qf0HBEeZywT+vA82tU3jCckk6wAO/cx9QEIH9fMBpIWRT4XNhkXq6gJt2PdNE8lg== 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=omp1697xNe6hU8wKvU+2uYLsysjnTwTU7oo5FHaHu9g=; b=Y4McOORPWjufCj/lz0c2wQF5F1KDfI4fZfUIQw1qwdVd9QQvCMtndeIwmxC5vj7fVQnZ335mFJdawl57QfhFgRief9rSFMytNIGpWqylzPBzih8h1ikFDQVMEcqqUlzLJynpPdKOUgnnpsC/Mmd2ilY+ekTRa1OvZq4sMuMzn9ds+8P4s7QFkpeL9jP/FyHYZkT39BVV6Fpq64sVSZAZj3WIKQifSrasSmSQ3yMvPNjKD3RPhU8J42EgHKxQ2GqfjXJW+ogBmq1bEBLau387Db8MwryHXeRJrZ2La6ffEme4W1RLjslxR8awcuHiD19ruZP4phfXkSlVUa4ZJe5k3A== 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=omp1697xNe6hU8wKvU+2uYLsysjnTwTU7oo5FHaHu9g=; b=iMetYwVxnfv1C+nnQmmfDmsVoj5mXmSu13qGgyjQRtYwkk3R/OT49gv1rUoq2t/AjtQ12K01ec0zfH2NOzzkQMi8gs6TwCHSmengsxIyOfrQVj3XyOTgJXpT3uAt+VmDz/e465N5HmJiGIVL+CFrDk5dqa7C1yD8L76Fps6rJ57J7C3y2BdJ0SmMdskR+rODG7mcnBxnDkhp5o5Kzq6l9a8Hdl0jE3eaMxbTfVR4CTlSqs41Fe5939l9FyrRjJCZJ5l41ekymxr7B31IkdL9sIw0BHLts2A4CVbDG/OFw9H7093hKXzKbB5w5UJAYlseFCPc90f0us3/6yOON1ZAKg== Received: from IA1PR12MB6332.namprd12.prod.outlook.com (2603:10b6:208:3e2::13) by BY5PR12MB4035.namprd12.prod.outlook.com (2603:10b6:a03:206::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.38; Thu, 2 Feb 2023 10:24:23 +0000 Received: from IA1PR12MB6332.namprd12.prod.outlook.com ([fe80::be18:9845:3676:784e]) by IA1PR12MB6332.namprd12.prod.outlook.com ([fe80::be18:9845:3676:784e%9]) with mapi id 15.20.6043.036; Thu, 2 Feb 2023 10:24:22 +0000 From: Gregory Etelson To: Andrew Rybchenko , "dev@dpdk.org" CC: Matan Azrad , Raslan Darawsheh , Ori Kam , "NBU-Contact-Thomas Monjalon (EXTERNAL)" , Ferruh Yigit Subject: RE: [PATCH v8 1/2] ethdev: add query_update sync and async function calls Thread-Topic: [PATCH v8 1/2] ethdev: add query_update sync and async function calls Thread-Index: AQHZNlBEdyO+ygry6EaEoxvN8rEnbq67YSOAgAAO1QA= Date: Thu, 2 Feb 2023 10:24:22 +0000 Message-ID: References: <20221221073547.988-1-getelson@nvidia.com> <20230201151646.3500-1-getelson@nvidia.com> <0a24a07c-6d36-2f5e-5f24-1501bcc41c1e@oktetlabs.ru> In-Reply-To: <0a24a07c-6d36-2f5e-5f24-1501bcc41c1e@oktetlabs.ru> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: IA1PR12MB6332:EE_|BY5PR12MB4035:EE_ x-ms-office365-filtering-correlation-id: cf3f26f3-0296-4b1d-9afc-08db0507a6c2 x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9qofI763hQGUGQ15cBoASrVAgzWdL6UNQISu8/+eVK0YnJpsOUMAy2osPncGjJfl/rP0B8FFoI+agXKwpmj+zI2qmsAbGJwqgj5MpFRJWxVZMKatdelp/owjiFaV0JUnCOPMNIxSx9H6n2rjDl2xvYDq+Ck+xaFIG0gEdIpodXNQ1XIYIi2N7rOHLkoihd6MvULmE3CKZHhLjW0jWc5dnxmOIt4zqe+Um7LvcNGJ4fOCcpWl84mgH8L6HK+M0T2vYSZ3cHjB49BrDpFZASXDGoNigj+cg360My/RNhtbaaRqPIsoPUqY6KbBPaAT5d1AUx0eAcY7NXfzCHFi/mwo4orJHCuVXM0ium0tiNCnFOralo45pp3hj+8MBBXsrJt9UsUqGHLa46xAcWsSyPm8wv5D+YnOjFR3HH1fuBZskRJcb1HKSrPAiy7wrV6eELOTmhS+2oNJ0T2u7YbsSPkZuLGUezhAb9L9pgLxxMLvFrUNfpGuM84NLglxGF8/kUuFjOKBphjuZBIbte0HkP6okA4yxKWERpU+OueRlNOltMnK6tbaw4SnLcjN4rZuZt4mM5Qr2jIMmH4Wv2pGzuXfE5H2/kqz5uMRLLzAO/7FCV9UvkXHL7GIvTSj9C1q1io/NsDt1LhyszWp8x7F6SsmPckrAO4RUvUlbyUZGGPqgwLYWPZddBGUcJ+yTYpEiMMxY41Ne6y4qEXj9Zx7dJPSew== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:IA1PR12MB6332.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(366004)(39860400002)(376002)(136003)(396003)(346002)(451199018)(122000001)(64756008)(316002)(8936002)(8676002)(66556008)(66446008)(4326008)(76116006)(66476007)(52536014)(110136005)(54906003)(66946007)(5660300002)(38100700002)(86362001)(33656002)(38070700005)(9686003)(53546011)(186003)(71200400001)(41300700001)(6506007)(2906002)(55016003)(478600001)(7696005)(83380400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?TnlOT3lLN3BvaGpteEMxdXowWTg5OW5oOEtaZTRRNFpaakZoWU9qWGI1K3Zr?= =?utf-8?B?V3FIQzlCUWdWRzRVZWhOK3dGbmVUSUZaZlhXQ1dULzIxM0IxbkV4KzAyZXRE?= =?utf-8?B?cXc5N0h3QWhPcFFxaUhHQTc5TmhCaStHVGlJNGxMRHNtZlIzKzF5SEFyeEg4?= =?utf-8?B?YUNyUCtQM2F6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pEWGJWWGMxVW1Y?= =?utf-8?B?YW1vVENURmhCbmtuSlMzUTdtQ2puOENYQmJYeXdydE1KUm5EZHdCK0lPUFo3?= =?utf-8?B?MjErQm9Ta25xVnZFOEs1Qkg0YlppNVNnTzkvZG9FZU52T3JDdEhLb2RINTdB?= =?utf-8?B?dWpPd3hVUk9NaVcwRkV1U3ZZNFVEdHIreWZsSE9OZ25JZUxXRER5eHhMbTIw?= =?utf-8?Q?S81R7Il+gHM2wcu2UTYvTISrXPywaC4VOY77NjyBPv3a?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: IA1PR12MB6332.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cf3f26f3-0296-4b1d-9afc-08db0507a6c2 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Feb 2023 10:24:22.3426 (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: ylCAEhSBYYSB7xT3RZQPG2lIYKYwSPC55fCPIj2LTVLH3BbwD7CNmUGZR/1qlC0IgDEFQgPl4ldAmW3fY6N3nQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4035 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 SGVsbG8gQW5kcmV3LA0KDQpQbGVhc2UgY2hlY2sgb3V0IG15IGNvbW1lbnRzIGJlbG93Lg0KDQpS ZWdhcmRzLA0KR3JlZ29yeQ0KDQo+IA0KPiANCj4gcXVlcnlfdXBkYXRlIGlzIGJhZCBmb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