From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DF3FFA04DB for ; Thu, 10 Dec 2020 20:45:05 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D899DBC86; Thu, 10 Dec 2020 20:45:04 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2134.outbound.protection.outlook.com [40.107.220.134]) by dpdk.org (Postfix) with ESMTP id 1833CBC86 for ; Thu, 10 Dec 2020 20:45:03 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SJ63mKDG6vCGUwsI45ptBwm3C/sb5h1RtLsnLS1JVb/qTqfbQgyt1GbdTCZavFTvphFNoDS52zRzIx4QVjuYzBKI//iF/E8UQHXYE3gV5vTtuOeSCI8k9/jcJ8WMN0UbFk7yMMWZQ9TYn1W6w+DT0WLV6gxPSFDssYRJ19L1BKeX0O61ZZrY2xoWrAxxdggvPBSB6S41g9eKvj1DeXWXzX65eaVXCwvYcXDypCukOJYc7K3IHfDCT0ahmydYOf/msh2+tHLYOwyEgUmv2tlaboNOV538WNPpuArx8Vgmzajok3aUhVsvZFcWUMJUY5SBV3qzY7wCYWX+xsMu7GmJcw== 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-SenderADCheck; bh=DNNFZxfYB4c1xv2nGfs7uq3D3zbORjN1OlkEs+qa6bE=; b=Rukac1tckmVtyNSwTVn05yDs0khK1kSFvqojjaBPbAf3uxmAeIOGjtRrJcgw4pCN1T2psMx+EjxD/x2V3+oVjvX4u6dEF+yQ90t2ig5HMnbeaXpvW6K5zZoH6ITPHo3WKGT9BICnIO/diwSztdDlMY0Hi8iRkc167t1NNqixuxKfd471LEU/7VBoc0vdV+TYd+7UlHqbusqb4cbg+eh/TdPuOVL7/7Y3B1zU5gG0VcU5pGkdhNrX4hbI1ZDnhYXGtUnFq+WpZmsmJ9qd1GOHhHkeAdyEd4R77TzCbaG1HoE9IYVoDcl2b+XcIy6uc2Uaau/a3v+ABtyM663WcEhjGA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DNNFZxfYB4c1xv2nGfs7uq3D3zbORjN1OlkEs+qa6bE=; b=RSd/1UrE2e/TgwH0k83SGQMJ23mGuL/eyMxo8jyvkbKZTIGdWoaL46fYTBIViPWZRQ0hH39AfA/obbvg0ahjkMwRoP2cTd1bz4u7n+uZFvGir9oiPuFZGS/hSRltW5uFJSxSbzhRze13cQdGDtMJLFAui3Ie+fN2HbTCjSx05cg= Received: from (2603:10b6:408:73::10) by BN8PR21MB1364.namprd21.prod.outlook.com (2603:10b6:408:aa::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.5; Thu, 10 Dec 2020 19:45:00 +0000 Received: from BN8PR21MB1155.namprd21.prod.outlook.com ([fe80::113b:feec:27f5:5ef0]) by BN8PR21MB1155.namprd21.prod.outlook.com ([fe80::113b:feec:27f5:5ef0%9]) with mapi id 15.20.3654.014; Thu, 10 Dec 2020 19:45:00 +0000 From: Long Li To: Luca Boccassi , Long Li , "stable@dpdk.org" CC: Stephen Hemminger Thread-Topic: [dpdk-stable] [PATCH 19.11 2/2] net/netvsc: control use of external mbuf on Rx Thread-Index: AQHWzotC3rvQJSssaE+A2CA9hZQ8Wanwp4UAgAAUnYA= Date: Thu, 10 Dec 2020 19:44:59 +0000 Message-ID: References: <1607560037-30478-1-git-send-email-longli@linuxonhyperv.com> <1607560037-30478-2-git-send-email-longli@linuxonhyperv.com> <8a602c1ef8439139feb88d3f0b90db5d7a98a8ae.camel@debian.org> In-Reply-To: <8a602c1ef8439139feb88d3f0b90db5d7a98a8ae.camel@debian.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=46c79844-ba40-4e63-a3ab-eb10cea2aab5; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2020-12-10T19:42:36Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: debian.org; dkim=none (message not signed) header.d=none;debian.org; dmarc=none action=none header.from=microsoft.com; x-originating-ip: [67.168.111.68] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: f5540c8d-7ea9-4d43-2f62-08d89d441488 x-ms-traffictypediagnostic: BN8PR21MB1364: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WWCKnIRfc+G1Ha1dY5IufrCKoPdTDw3yA2O8WWVNozi2YQnPHzq2Wh15IIlEfExP6A88f/rl2GGXcC9TkWZeLNk+qcyjnIYqVYBkZaE968548eVZ/0rBdo6g44cve+xFD4huPt7gaVw8N5+QHXrt85324udkndxkHAi6DDGxD2OMz5A9wQmw6X1ayakxZHjp1T1czeqUagcuKLGoE3bT3fhP6R8PTZEU9B2jQXuELAI0xG5ab677kPuUj6d4o4JbRwqTK3lLOTejCI+IljbxGR/y8xcli2bTwbIiGeFZj1LMtlacQh8OPNf1Qtr9Povhj/0oW0I+4xJ/811u9P/6k3V0XU/rfNUji/I/Awx4PBcHSr+ARFrDFfkcUW+SeSxZ+5MyCwkmVXn9tG3klvbOs/19/c1TLZZ7FCdmRS8W+m2SsgkQ6Dl2ZfmCyUHVRLG8 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR21MB1155.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(136003)(366004)(376002)(8936002)(9686003)(55016002)(8676002)(2906002)(66476007)(76116006)(66446008)(66556008)(64756008)(4326008)(26005)(186003)(71200400001)(508600001)(86362001)(52536014)(110136005)(10290500003)(7696005)(5660300002)(33656002)(66946007)(82950400001)(82960400001)(8990500004)(6506007)(83380400001)(83323001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?Rm9iclRkeG94Z3BON0FQdjVRN1BVa0psc3E5dy9vQ3pFbU1mck04S2hOaFo2?= =?utf-8?B?NG9JVWNCOVZGUzBXVlNaL0ZjaG9TUE9XbWhrOVg0cGsreUNpK0hjNkhLQmVy?= =?utf-8?B?RElYd3Qza0w0L05zcVZlamkyVkxMeHRWUFNzTzRuZlpmaFowNkI5VDF6U01a?= =?utf-8?B?TlBIa3hsaDd5TTV5dUxyL2ZYZWw3aFpIaHQ3SWptMjErTDZQTWdDcC82N3Z2?= =?utf-8?B?MDBkdlBLOUovb2FKVnQ2NXgzVWd3Y0kxRVFKYndJemJrSnJnWkR0aU1ra05l?= =?utf-8?B?MmpTRUVjbW9xc2JmRDVMTUloNXhmeXFTWVRUVmhtUXk0L3c1b0lQSFl6Slha?= =?utf-8?B?dU5ZdTJaa3JUT3RoVzBDL2wwaURHMHhxQ1BhUFV1MnI2Y0I5OFNUOUxDeHVY?= =?utf-8?B?QUpZW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Q?h+MlFwW6Gowsk=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN8PR21MB1155.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f5540c8d-7ea9-4d43-2f62-08d89d441488 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Dec 2020 19:44:59.9512 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: kZ9uLCEfSt/7/JzcMt3fShUQQ4z1kVeccOwozkcF4vB6ZO0UZsTF1Do5pJMxx4a3Mxyc/wR2qpzPmLOpwPMOsA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR21MB1364 Subject: Re: [dpdk-stable] [PATCH 19.11 2/2] net/netvsc: control use of external mbuf on Rx X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "stable" PiBTdWJqZWN0OiBSZTogW2RwZGstc3RhYmxlXSBbUEFUQ0ggMTkuMTEgMi8yXSBuZXQvbmV0dnNj OiBjb250cm9sIHVzZSBvZg0KPiBleHRlcm5hbCBtYnVmIG9uIFJ4DQo+IA0KPiBPbiBXZWQsIDIw MjAtMTItMDkgYXQgMTY6MjcgLTA4MDAsIExvbmcgTGkgd3JvdGU6DQo+ID4gRnJvbTogTG9uZyBM aSA8bG9uZ2xpQG1pY3Jvc29mdC5jb20+DQo+ID4NCj4gPiBbIHVwc3RyZWFtIGNvbW1pdCAwOTZi MzFmYzBkOGM5ODljYzQ1NWMzNWY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