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 E950FA04A4 for ; Wed, 2 Mar 2022 09:59:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C7CF340141; Wed, 2 Mar 2022 09:59:03 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 1EE5140141; Wed, 2 Mar 2022 09:59:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646211541; x=1677747541; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=7+tzOqcZCb28NvXr5BYnwewuAxj/kAJzoblCRdfYmdU=; b=l/NWD+ke1eXamMlPIz47mxBF6s0PSDdbNweuOvaosnMZTXGohbxZSYno 5nN9kJrAsM0B3H9xRwlxheEccpZtPEuxRG29KjwyAzwAYg4kAdEFTD4tr l8EaOsf/T0/mzf+OTBxDkdNFKF0E8hNmEraDzgepqUS0+3PrAiAcVrG2T UsdM1EEzoAgYntfUrIeISO2Ym2HIwEsYDOqvSBhytNpUo8PuPrI9kUFu4 6PDunrowrfiinhbAruKWnKZuB+U919ZGhfKUCC5UKGOsv27XumRSJGv9q dZynhQWeHVk0V3PEF1vMZcqUm96RNb0SboqXIlQ8K1VxFNkgB7esjR6NF w==; X-IronPort-AV: E=McAfee;i="6200,9189,10273"; a="314070753" X-IronPort-AV: E=Sophos;i="5.90,148,1643702400"; d="scan'208";a="314070753" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Mar 2022 00:58:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,148,1643702400"; d="scan'208";a="493470584" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga003.jf.intel.com with ESMTP; 02 Mar 2022 00:58:52 -0800 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Wed, 2 Mar 2022 00:58:52 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21 via Frontend Transport; Wed, 2 Mar 2022 00:58:52 -0800 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.47) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.21; Wed, 2 Mar 2022 00:58:51 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ekIDnvTCdkgvurjz1xBQ5IlslR+GvzX/sH3uKm9Fg8YGhdBMsDIc7yP/vDe3zexpYoGBnFx3RHqzvGgz7b97DWGfeS82c1Rzuv7KSEmYYQHd6SW7pi9NplTVKuofj3Q0l87PSrvXz+QR6kS2nmpuq5mq1NAhep71haVKNXB2wrE5ub8yUz3W+NFBXDx6ItOc5A51nLJoFdyRYPIUEYHEw7ki9/3/qoOX2x05Qw9E2VvDIVmwbyamXVWdlMmP3cc1m6vurhwJtRi4yTFJaAOU1fo7VGJGFn1qDit9YCuvzXpYov7ueYk9KwlZK45rzrcxarmue7yqXPUh4I5FRF/sdw== 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=7+tzOqcZCb28NvXr5BYnwewuAxj/kAJzoblCRdfYmdU=; b=jBPxf8k/568TpLwUWNhZ4tPM0J2uszRkefGFDngDcmw+WlctKN8y3sVEkUjHlq6Q5tEhmeg287I6bIh5ZlsUh5bK2WiUjEeZCKDYwiPdpj5CuLAmLkikMw9fI7eV7wM+l8kPyVvxy98rgLJn9VIU1/pO0jY3+iLzOPCT60vrHRy7VZJ/FVACqh2r4vRBLCWp7gGhda0Rj3jN5LkHP3deibfBOSlKyBaJUt/cCsAyCM670J7vD50qwP/Q8Wn1EU6Hr4AyVlMXKPhUsuCJtVsf8pGjIszSPKNTN9wKVUFi0DfU9fGn/Dv95P4DmLMWUrbKkUthc5fgwK7lvKMuQDk3RQ== 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 Received: from DM6PR11MB3516.namprd11.prod.outlook.com (2603:10b6:5:72::13) by PH7PR11MB5765.namprd11.prod.outlook.com (2603:10b6:510:139::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Wed, 2 Mar 2022 08:58:49 +0000 Received: from DM6PR11MB3516.namprd11.prod.outlook.com ([fe80::1c27:af5d:3e9e:d172]) by DM6PR11MB3516.namprd11.prod.outlook.com ([fe80::1c27:af5d:3e9e:d172%4]) with mapi id 15.20.5017.027; Wed, 2 Mar 2022 08:58:49 +0000 From: "Zhang, Yuying" To: David Marchand CC: dev , Maxime Coquelin , "Xia, Chenbo" , dpdk stable , "stephen@networkplumber.org" Subject: RE: [PATCH v1] net/vhost: clear data of packet mbuf after sending pkts Thread-Topic: [PATCH v1] net/vhost: clear data of packet mbuf after sending pkts Thread-Index: AQHYLT4WEhXb78rRuUOqumjYyEVrSKyqNnoAgAACI5CAAA+lAIABgEPw Date: Wed, 2 Mar 2022 08:58:49 +0000 Message-ID: References: <20220301072802.1349736-1-yuying.zhang@intel.com> In-Reply-To: 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=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 06a7daa3-083f-4e45-6e58-08d9fc2ade23 x-ms-traffictypediagnostic: PH7PR11MB5765:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DsAWtxND8pnjpl2JByAXewfE/18BKkc07CN1YmJDeG3a/xM8U1vE8yf5dPO1p2j8DlqBX1R8FGCe2z1Yof8XbRdJ2XeTv3KeGtJcxUBoSaH8XBXL3Sn8c2ligh6LiNGEBNseKbOk2XzVhsyZdb+ypUPbVinIjFjGKCvPhkBBzVbhLG3T8K5X5ocw5SQTdVjw4ibPiXWA0GDnjr7RVuOTWaRgral+QqCeNX7PHWCndJQPF/Pnd7fc8J51eSg3SGkXIzwcaW7lJ2yEQ0IbM33lptOA8XCFPm3Opx8jlLRAz58ZJ/oZ6N6vPBXqrBeyC7wQBPrTFgayG/yKPf+SgcBw6xKgqygraLKolXzqXmPH4J70D0PpDHo/74ajkXcQILYGiEzAEQz/9FBUl/vJG43EdLOsnWn97WE9y7LWkV/zlRcUNl3dALZ1eEfVqyxg2TMG8SrblkhtaPtvkPUQuNvP1lb7Mvl11y7aJC8ice2VRaMv7X0pIHddVh0rKNtXc+BkgePFuj2tR8ZA/9HtyRy1mKjhXEtROY2ftkPJRdk/2DGJUXFCJ7S4rAlhx4WyKho7WQDYQJ/Gxg+/cIBwPSVaAz6WKjXU5AEbU8dRm7XHXnGHcP5WEspGxIKDEIc8T7kJSDMz/vOxn5j26gDaFHGE24IkZfOFGhTCVZM/qnxKRyjJC96GyssRVD77f/Hcy6PWaQu13FcxeDGNwpuI+QfeCzHvf/eHj6fzfng4CY8yT2+8wFJ545inD1iO6BGmminfc49NHzHBaUNGPx7nZl3BwNNYdky9/06EYV/kIP0X6Vw= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3516.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(186003)(26005)(38070700005)(9686003)(7696005)(2906002)(53546011)(6506007)(86362001)(55016003)(33656002)(38100700002)(83380400001)(82960400001)(122000001)(6916009)(54906003)(71200400001)(5660300002)(4326008)(8936002)(52536014)(64756008)(508600001)(66446008)(66946007)(66476007)(76116006)(66556008)(8676002)(316002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?Njg0MGRrVU1IYU5Ga1Z3b0hRaHBmUklySC9aTktxeWxsMGZQKzU0Zkd2dkFn?= =?utf-8?B?Tlg0SXhldStCcjlrVCtDRjBodDZMSm1TR3pVc2ZXSkY5a1FLS1dacVFUekFX?= =?utf-8?B?M2phNlBOd0ZlNG55TVAzUVFkM0VwY2FqdlpOZDRpU21EamlReFREUlpSNFhu?= =?utf-8?B?bXBBY3ZITy94TnVWVDhKdzJrbHg2dzVpMDhxRlFEczA3YWxwWDRwdjd5TzdP?= =?utf-8?B?bXFIZzExcS84MVUrTkZhclU2T0J0dGpUN0NIVlR5d1V5RHZIbU9HMFRaK0p5?= =?utf-8?B?QmVheXVJWFVKdU9pNkVLZE1LMkhHYkJFVVR0bjRXY0IwYXpwMDBNMzI4RjZ4?= =?utf-8?B?M1hyZDRpbkdpb2FycTZRRXZ6eWtiaDZrOG1YN0h5NEh0OVBLYm0zdDcrMDJ1?= =?utf-8?B?bTY2aXh1QTZqWkUwZVRETnJMRTVQMWtxVE4wdGtLQVBKWkRKc0tJSG4ySkhp?= =?utf-8?B?OXA0cnE4R281V1pPQmZZM3JWak9KNnB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OaWEvZGthelNlV2NIU0VkWWdzdTAwcnlIOEYvOXdxZjJp?= =?utf-8?B?V1dYUEpNNHZEQmFVTmJHOXdudCtselZKOHhzdCs1MWFTMWo1aU9NRUdGSTIw?= =?utf-8?B?SWliV2pLcGpMZnJXN0VPUzVkcitaWWdLbWVRUHJnTUtrSzhMckN6Y29PUXZR?= =?utf-8?B?ak50YWh0VHEzUkpCL3Q4bERsSy9CdlEydE1SQnpVUkwzQ3IySU90cS9QU29S?= =?utf-8?B?L2hQaVZDTDJtVFFmQjN3M3ByUC9zWks3Y2RPb1EvMzMwRlpZQWpUYzFSbjJB?= =?utf-8?B?cVQrWWczTGVIajE2SHdjWGpKaXNNb1VtWS85Z2QvYjliRDJyR2Zkdk9wRVFi?= =?utf-8?B?QXE3OWFVNEhqcEZJeVkvODRtZE1LbUpGZlN2c1QwSWx4akF6a3VKQ2M1OWNI?= =?utf-8?B?Yk44ekRIY3AyeldoYWpSanh2bDNFOXJRbFBMV014SDhrZUxNcjIvSWlYSHg3?= =?utf-8?B?bCs0Z21xMCtvbXBFY3BoTHA4ai9OeXpQa1JOVEFTMk9GcTVmM0phRmtNMUZp?= =?utf-8?B?ayt4TWI1dTUxc3JlZ0FuNzFRODY1YXRSdVZQU3pQWnJtZi83K09iNmdjNytV?= =?utf-8?B?Zm5IQkFCU09aa3hFc1Zpc0RXRGpkT2JpaFM5TEI5aWNjUWxhSFdDRWZQRjZT?= =?utf-8?B?U3gvS0VMZmZZdTFrMzZMNmdqSkVSak9SZ1RkVkJMVFRCMzVjYzZ3eVo0YktN?= =?utf-8?B?QXREWkMzcE91SDdDYTBpNmJsT2E2RnNsc0ZremhER1pKUTFoUEZaN0k5NEEz?= =?utf-8?Q?9VPtmPgjcE5sjxxfWYBSBv0=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: DM6PR11MB3516.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 06a7daa3-083f-4e45-6e58-08d9fc2ade23 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Mar 2022 08:58:49.4700 (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: GvOeIp+8MbEc3vQhJXnuBSKzoRy2tCgmnVOmNtSeeyjSjkrcIGRBMC0nMA2AXOl+2bhORj1KUNbh3UnPMerNPg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB5765 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org SGkgTWFyY2hhbmQsDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRGF2 aWQgTWFyY2hhbmQgPGRhdmlkLm1hcmNoYW5kQHJlZGhhdC5jb20+DQo+IFNlbnQ6IFR1ZXNkYXks IE1hcmNoIDEsIDIwMjIgNTo0OCBQTQ0KPiBUbzogWmhhbmcsIFl1eWluZyA8eXV5aW5nLnpoYW5n QGludGVsLmNvbT4NCj4gQ2M6IGRldiA8ZGV2QGRwZGsub3JnPjsgTWF4aW1lIENvcXVlbGluIDxt YXhpbWUuY29xdWVsaW5AcmVkaGF0LmNvbT47DQo+IFhpYSwgQ2hlbmJvIDxjaGVuYm8ueGlhQGlu dGVsLmNvbT47IGRwZGsgc3RhYmxlIDxzdGFibGVAZHBkay5vcmc+DQo+IFN1YmplY3Q6IFJlOiBb UEFUQ0ggdjFdIG5ldC92aG9zdDogY2xlYXIgZGF0YSBvZiBwYWNrZXQgbWJ1ZiBhZnRlciBzZW5k aW5nIHBrdHMNC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