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 19638A0C46; Thu, 23 Sep 2021 04:40:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CDD51410D7; Thu, 23 Sep 2021 04:40:34 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 7B36640E64 for ; Thu, 23 Sep 2021 04:40:33 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10115"; a="223781312" X-IronPort-AV: E=Sophos;i="5.85,315,1624345200"; d="scan'208";a="223781312" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2021 19:40:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,315,1624345200"; d="scan'208";a="534061215" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga004.fm.intel.com with ESMTP; 22 Sep 2021 19:40:32 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 22 Sep 2021 19:40:31 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 22 Sep 2021 19:40:31 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.176) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 22 Sep 2021 19:40:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=naAJyzyHYh1hvPN+J1fhn1QBEyvAAZzy8d6Qs++xkq8Q0zl33LF1PG1M50atqrfWVovBD69NHFFed3PgJVcj3IEVjkc7gQ+OaRBBGhACIOOJ6eXOHpAupdww33s9TRmRQ3JCzGT/njoZ94aU7FzaDg3WMPHuaO2I66T5G5PmFiL20fdoy8CAIjkL9mCo0tHPYMWjvTvL8cG/NqGPCmsYFXfDYlYpGjbi1nh7M1Wnx+ovM54+Rl1uKWutJWdv1TkMw2sVvS1Aj/atGuPM+WzA9Vd1+GhcMpbhnRt7tOIMC1b0mhs8Vnncd4dwAKRdNNj4bKqVplr/s+NuTeB3fwKq9g== 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; bh=KJ1H5G7lvb3xFVJMnWWA2rNGvM2vOZGNi0aodurv7s4=; b=Cfm9lyMA/Lp6Yzwz1e9KJWn4+70NNJEjPmIUOdTLAXZZ0PSnQG+53bXjsKiRo0QprAAnNTGWXkGlC03p084XWpX5IccWusmzHgeF9gvRZ5gLhf2xBtB7G41Tsi0hbZvplZ6eAziv2Uvwe+IEiKRrG1ILE1jJwOSYNv6eb8rppWnCDd+Idz742bW2OYX+TZpBNunqgg6X3VsNdO1LOVoFcmjekVN2fLd1pEAW9SwEbuhUljre6kjC5MBevfZXo8CZrFljcwJYcpdlzruNeVqOZWUt7yHHeir1oVsVv3u4+JYMhKdOnuCGrg0yJkk2THoXkXkjftXBP/at3U6H290jWg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KJ1H5G7lvb3xFVJMnWWA2rNGvM2vOZGNi0aodurv7s4=; b=E0nflsyV/AQjqi4P2/UrtFSalGImVvftMStE+283evE5Tn0nKt2nu70JQNlhkunGAD3Up51m2Q9Q/KGzGojY6UgkRdKHYyA9vI0bzlKjV9bLurb82VXC8YdhWby5l7C9amTLUxF81E8r/QpbAncf+yz2mXNJSbZ6z2GzfQ9knnA= Received: from BN9PR11MB5513.namprd11.prod.outlook.com (2603:10b6:408:102::11) by BN6PR1101MB2114.namprd11.prod.outlook.com (2603:10b6:405:57::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.17; Thu, 23 Sep 2021 02:40:28 +0000 Received: from BN9PR11MB5513.namprd11.prod.outlook.com ([fe80::99b5:c482:4da6:799e]) by BN9PR11MB5513.namprd11.prod.outlook.com ([fe80::99b5:c482:4da6:799e%8]) with mapi id 15.20.4523.021; Thu, 23 Sep 2021 02:40:28 +0000 From: "Ding, Xuan" To: Kevin Traynor , "dev@dpdk.org" , "maxime.coquelin@redhat.com" , "Xia, Chenbo" CC: "Hu, Jiayu" , "Jiang, Cheng1" , "Richardson, Bruce" , "Pai G, Sunil" , "Yang, YvonneX" Thread-Topic: [dpdk-dev] [PATCH v3] vhost: add unsafe API to check inflight packets Thread-Index: AQHXqqbZrHhWrr6PEEayB/YJcFtbDquuxqIAgAIsbCA= Date: Thu, 23 Sep 2021 02:40:28 +0000 Message-ID: References: <20210909055758.106588-1-xuan.ding@intel.com> <20210916025807.72941-1-xuan.ding@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8864d68c-edcd-45d9-d4f0-08d97e3b813b x-ms-traffictypediagnostic: BN6PR1101MB2114: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: qbxfr56VIceNE7s2juTjWlLZXwALOGyetzhnw0uS+HCqC1ozviGoSFwLssprRTn5+EVl8gO5bEZTao/HMV5Py+tycBoTgqKXmdIcBJzIghrqV3IDTczgQoNJdYF4/MSxK7cMfTP0zwxbyVWKm40VgteKlS0grcQTAEW8A7u1P+HA6UcnEKynsT6PkG00tVbih8ZijoKq+bX5BWcb9HpKwWfyifvTJiWq240LY0f20fGcP9j0vWJoTAR6IQleLKkhEVR9baSRbgSL+xldKOgWsM/y1YhfpFObLM7mudZcgFco1Fff7GyMQOM0JCdyyl19Vy62MLdBv29vfFnbwu6x/W9EnSi6j4mQSvNhq3bzvSqFscNSw/7n09nR8KI3/AW1HQbkGgiFAUYXCRXz669ykEpSN716YV4JXDjsiB/b6ok/+odBz1FyW4qX9rlPtrV54UkGqb8YSO0ctOqWylqXQVmsjDmZkv6otUkfhKF9sfvZSm9tvP30dYf7RHBH6xEINOuSaNmOFIJvJm8aJux7sdF0yySAvRh9M0xP+bv2imuEoLBack3eS/79Fvo4qb41hGCrMzbENi0gb7hv8+Ld5GgifHqA7iwOW/AbZswT7QnZGHDZCSQ3QFd6NXQdnVUirrm1/94o2g+6VM8GOUaSgiJLC7b7WvOyObb5NyggJ4Tjd6dVovv2a6pJbckGLJYndgAxRGgNU6+hGuBiUhJikQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN9PR11MB5513.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(83380400001)(33656002)(6636002)(76116006)(8936002)(107886003)(26005)(7696005)(186003)(38100700002)(86362001)(55016002)(508600001)(66946007)(66446008)(5660300002)(6506007)(66476007)(66556008)(64756008)(38070700005)(316002)(53546011)(8676002)(9686003)(110136005)(4326008)(54906003)(71200400001)(122000001)(52536014)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?R3VVZE1mVTJ0cUpyWE44Q3FHM3NWY2trSUVkMXNZQ2dMS2EwRHp0ZXZlU052?= =?utf-8?B?SFF5alJlL2FpVklMNTgvc2p0M2gzbENRZGNNd0ovZ3E5cUxweU9aSmFhN2Z3?= =?utf-8?B?WkkzUTN0amtjWksyd1NtemJMTVhXT0RFcVB6R0VhNVlRbzllbzB3VGRCak1G?= =?utf-8?B?QnlydWR3cUlEUThBKzE0UUJ6ckFDSlJTWVNFUVZ6dmNXWW9qcGVCeTFYV2xM?= =?utf-8?B?b01hU0dINkZRSWNwSUZhRGE4OWVoZFlqZUFNYS9FaDFjbzRGem44UVV2NW80?= =?utf-8?B?YzJEYkhhMlludWMvZHE1b3lpMElYSVBBSit5VERjc3hwQmk4TEwyNlhjdHcx?= =?utf-8?B?MjhGRVI0SVExd3ZkM3Z0bkIxT2VSL3FvQkZpemQyVXpFeDk5QWdpYVlqLzE0?= =?utf-8?B?WG9QU21MT2VlVmYrWTZPR2JoSjVEK0t6REtPekZYT2xyZ25UY25DZmJ5Q2dU?= =?utf-8?B?dmJuTnJHcnZTU2I4NWFPelJneHRvZFlmTm15YUsvdEVZSFllSVBuc1JTUTU3?= =?utf-8?B?bHgxaDVMRU5GaDlBQkxqWFJPOU5odGE4UzdiRGcxTFpJWGp6K3FCZlRKTjdM?= =?utf-8?B?ZGh6TWRKTS83SklFcHgxM3NhYmpJS01ZT0EvWFNTL2VkdUFjY21sT1FNVm1s?= =?utf-8?B?L3c5aHdyVVRYcDdXaTNGKzZFV1BYQjc3L0NIR2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rWGJRRVNDMktoY2ZkbndjdkE5WHA1NWRnWVhO?= =?utf-8?B?TkJGS3llRTczdHJ5Vk9LVXNoZ3EyTnNtMjFpRHRhODRXZDc3RE1JclhVNmQ5?= =?utf-8?B?ZlBPeTJMRzVyWlNvQmpXdGtRYWlFcHpPWDVRZjYrWWp4QjFRd25xSGN3Mk96?= =?utf-8?Q?ZQKyIfZFjQ6nQ6MDBA=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: BN9PR11MB5513.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8864d68c-edcd-45d9-d4f0-08d97e3b813b X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Sep 2021 02:40:28.4673 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: /6v76o852Gczg9lhA7IFLMyCihnmq250gWptaG/6kW9nlTKDOSSoq9HTWf2mKzVuF8pqIJaCdp/z7xxX0bC6pg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1101MB2114 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3] vhost: add unsafe API to check inflight packets 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" SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogS2V2aW4gVHJheW5v ciA8a3RyYXlub3JAcmVkaGF0LmNvbT4NCj4gU2VudDogV2VkbmVzZGF5LCBTZXB0ZW1iZXIgMjIs IDIwMjEgMToyOCBBTQ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