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 DB7ECA0093 for ; Fri, 18 Mar 2022 10:22:17 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B1D8840DF7; Fri, 18 Mar 2022 10:22:17 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2067.outbound.protection.outlook.com [40.107.236.67]) by mails.dpdk.org (Postfix) with ESMTP id E031C40DF7 for ; Fri, 18 Mar 2022 10:22:16 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XMYLoJtN+mUQRzi9F12nHUPR19/pFNjJFrLkOtNmJzuiPSxUIoAJSCQhQ49D+jjdupXBDtJZgeUtHMqWhQ96h6gHebzIDU4UEG4zkmt9GsLmvXpWIWet3bwEVwOIyhXrpY1evTtIWYOScIa9P+BD1Np4luVSmwuh3R2MG7CBnHYrA5tYarxWeXtdMjZ7uAFPtmsOOS6bw+aiGUA5ATolKYY0W6q1uSkpm2VrzyKLATScpcyJ1UHWDxDMhwwtp6n6r7MVFJm29+pFOL4WNYGWVYQj8XRWQlPnq5OQj53r8lDek+BtLc7TtT7FrGKYIkN3DP+U3Af++0INg14E8SOsIA== 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=IQhw0k6YALif4pfj6XrE5AvHSxSCs1UwilZipIG/g94=; b=NMJpKms7bv13sjtk2zBXSFRKbkYGdTqVluIgy4ZhVsA0tpSDeK5xc2Ql+TOs75U5tWciqbdCwIMlX4Fb4PRc0SCamtgwLks/T+8bjmIs74CvZUUYcy1issNdbLkB4p/ulObmPyh9wuBfh1j3BghM2J6PybTwXz04c8tqYdUxHV8PjKwa54EwGb1uUMXIWjg9crstlTAxg53AwZtK3OM6eI4YE5nofzqkntoR9TQgvDpPJe0WZV3xegTA6zrPsOE1bICuSBK84+7JASqkzmMTEkdNEHyAO3MND+csSrTSJl5/630yr1BxxXLv1hwtCmE8KNb7w4O3sJRK+2f/4Ai0Uw== 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=IQhw0k6YALif4pfj6XrE5AvHSxSCs1UwilZipIG/g94=; b=naiBCXiFMHKNILh5zfuo7mRBJlPCALwXVGkLwnils2/z5EOSZgHRFPY8yVrXHVJeMXUQvoj8MifRJXLngv+wUsrJ7XHHkI9RI/Jhai8oCF1NTLNto8/L8xBxsONvY8ZE1JDcRtI91eaeaGYx6AQ1PT1GMruBon9bbXTBHkGj4FpqZVMCsAEf1u1+XS48fbx325wsCIN0i2RAGdENVINVYpzI5wP2UqWl+Sk9reggfuKGH2wbboxA5Fmm4mAbgTrio+q5kEOoStILlvItYXixVPdJlWXC2fGjN6fA9CXNHaYLg0umdg57En2HNDwGVaFOSNAZ6HWQQIzljsPv0ghp4g== Received: from CO6PR12MB5490.namprd12.prod.outlook.com (2603:10b6:303:13d::9) by MWHPR12MB1902.namprd12.prod.outlook.com (2603:10b6:300:10d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.17; Fri, 18 Mar 2022 09:22:15 +0000 Received: from CO6PR12MB5490.namprd12.prod.outlook.com ([fe80::34d5:96ab:b325:7d01]) by CO6PR12MB5490.namprd12.prod.outlook.com ([fe80::34d5:96ab:b325:7d01%7]) with mapi id 15.20.5081.018; Fri, 18 Mar 2022 09:22:15 +0000 From: Ophir Munk To: Harold Huang CC: "stable@dpdk.org" , Keith Wiles , Raslan Darawsheh , "jiayu.hu@intel.com" , Ferruh Yigit Subject: RE: [PATCH] net/tap: do not include l2 header in gso size when compared with mtu Thread-Topic: [PATCH] net/tap: do not include l2 header in gso size when compared with mtu Thread-Index: AQHYLH0aO97fJgKM1EiVhQ1juDNnJqy1mnwAgA9WeVA= Date: Fri, 18 Mar 2022 09:22:15 +0000 Message-ID: References: <20220228082724.1646930-1-baymaxhuang@gmail.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=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 00654e6d-e9ad-4a00-8d02-08da08c0cab5 x-ms-traffictypediagnostic: MWHPR12MB1902: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: HeySxBWyw3vFT8icNWxKBlCByDyxC5TEUXKamrFnUTu5+vpXWqm0yFw3556UnDLsgNZmgYPZPJ122KGK8fgt78J6IHx56Em9q4qYg+g22fGOp9XwLsZpNEKu9HkhkzhNvYc/TEs7rTNFytbOAUFDN3YZUKPgXqVFApYo7W5S9Oez1avu5l2pwdn1gS06PW6HnJqgNKp0S54gWS7f3z8oef2bYfXJUazitg3mFhWm7QmrwrDEWbwf67AKfjfmX9gYvexiRnYRkGp8WO4wAK7n7662UY2fzo8tpudmaM5/mHPYPaM80CcePAJo9M8PtWq7+f6VVuGf/hTGyaE/HUowll+s8arAA0X6zQ2UOOeg1Ibuvv89RV1O5S4ZERu3xufjmxISLn3yACtbrKgNlnyECp3HxylZX7si18kAxYvROfTsN7D1uhCRFIQjJbdAKyaJU6Y9iUwn0eXU2wW/9Grrg4N99SynYDcWbxqPhnDLPQFlD37HluBnuFXSsw7o+pC5+Zv+U2Unipw869gFeMUIPyxOo6qWMH54rybP3WEzke3vR/HGQG7E4hqsbV23BSkemtvZ67e433OEahfOgapz4kU8jDBto9QxCQeddMMUt7Naqc3OYXz+61nZjtxu6RUnMa8jQ3DCVXZocMx4ewnVlN7ym+IXPXxpyvT5PtOi1kfJiyj9ArSsWCM3+XfnVLWlXUYVH7t/sEhD5gDnML7qaA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR12MB5490.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(508600001)(186003)(26005)(54906003)(6916009)(86362001)(2906002)(33656002)(38100700002)(316002)(83380400001)(9686003)(66946007)(55016003)(52536014)(4326008)(64756008)(66446008)(66476007)(66556008)(71200400001)(8936002)(8676002)(53546011)(6506007)(7696005)(122000001)(38070700005)(76116006)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?MEVmYmpqZzJ3QkN5WHMwa0J2Z21CeEpab0tUazB0VmZhbXYzNUxOZjlVMWJi?= =?utf-8?B?MHZ6WWZQSlU1NVExRk8zTEFaN0NPWWg3NEFmekowa0xKYUVybTBoeC9PdEtK?= =?utf-8?B?N1NBQjVxVkdDOTNqOTdxRnQzMHFRdHY2eFljRk5sNHRzRkUyYzdTUjI4QklU?= =?utf-8?B?Q1lVcW1aaWlFcndMMEIrdlhCay9LRTBKS0ExUnZVNDVKbzZmN0hyOCtoMXBH?= =?utf-8?B?SFZvaVJvL3gwZjNqQnk3NEhJU3luaTNvVGFJei9tamxtbURYdE8yWDd6d1Np?= =?utf-8?B?KytuUWZYY0hNMTRBZTE5bFN6RW55SHQvRnpEMGI4UWlvYWZpaFJPYm5pUUdT?= =?utf-8?B?NGRDcjFIVEFZQlB3NE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c0poU0dzZ2pSV0hoQk1LTkNZOUdqSXlPSWwzQ01qbWRNOWwxSnRvSStT?= =?utf-8?B?NUszVndJbis4Wmt3MG1DOVpsTFNYVzlpTFRsV2hmUU5OT2IvN2FCVXhJTzhM?= =?utf-8?B?YUxPT2U4Y0NFQ2x6Tmk1T2Y1NGdrY3h2N3dFQVdNQ3VEM1daTVEwWm4vdjE3?= =?utf-8?B?K0lJR0JSMUVnNmFFRjdMa2YzZllBN3JIU2hDQS9ZWjJtY1hsdzU2RU9KYXl4?= =?utf-8?B?ZUlucmd2enA0YURPMWJLLzdTQkRIeis2MEZBRE0ybktKbUhCVG9lUlQ0Zmda?= =?utf-8?B?N3pMTVVSZDBsVWh6cEUzSkdpeVZVWXloUmJISVJScDlqbmwreVEwRDNFamht?= =?utf-8?B?c2RiRlhRMllDZE42MG81Tm90VTE1dFh6ck5KamZHMVpiRFNvVVJER3h6c3ho?= =?utf-8?B?WXZLd3lvMDlwbjJGNGxucWEzdHV2UGNTa2VHcWVWaVNCYzc5bStVdDB4aUlD?= =?utf-8?B?SFF3OUtxRVhqZ2JFaXEvaVdHMFAyQjJkTmhTWUJNQUcySlFkQlBkZUcyN1d0?= =?utf-8?B?VXhaNW1pNVQzOTlyMytOQkFCbWtHU1hGeDJINGJXQVdEcStlWXNlWmZOa3cx?= =?utf-8?B?VFNyMHE4K3VIWVZZWk9SZkFROW1vbGdFdHdxRHZ2cXlsNUFPVXRNUGFDZE4w?= =?utf-8?Q?+RNFDCegZAEVD5vO1qG3SmGjAt7YDQXG?= 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: CO6PR12MB5490.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 00654e6d-e9ad-4a00-8d02-08da08c0cab5 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Mar 2022 09:22:15.2593 (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: h9Yh59zO8DZNHZyImracUmjbPalEQkcZY+HpvySaB12DxrvEmaEmP1HfdSVlMCY9GejSVMbObHXx8OjxMtq/Qw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1902 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 VGhlIGVmZmVjdGl2ZSBsaW1pdCBpbiBUeCBpcyB0aGUgbWF4aW11bSBwYWNrZXQgc2l6ZSBhbmQg bm90IHRoZSBNVFUuDQpPbiBteSBFdGhlcm5ldCBOSUMgdGhlIE1UVSBzaXplIGlzIDE1MDAgYnl0 ZXMuIEFzIGxvbmcgYXMgSSBzZW5kIHBhY2tldHMNCnVwIHRvIDE1MTQgYnl0ZXMgc2l6ZSAoaW5j bHVkaW5nIGFuIEV0aGVybmV0IGhlYWRlciBvZiAxNCBieXRlcykgLSBUWCBzdWNjZWVkcy4NCkNv bnZlcnNlbHksIGlmIEkgYWRkIHRvIHRoZSBwYWNrZXQgVkxBTiwgUS1pbi1RLCBWWExBWCBvciBh bnkgb3RoZXIgTDIgaGVhZGVycyAtIFRYIGZhaWxzDQpUaGlzIGlzIGJlY2F1c2UgdGhlIE5JQydz IG1heGltdW0gcGFja2V0IHNpemUgaXMgMTUxNCBieXRlcywgcmVnYXJkbGVzcyBvZiB0aGUgTDIg aGVhZGVyIHNpemUuDQooUmVtYXJrOiBOSUMgbWF4IHNpemUgbWF5IGluY2x1ZGUgNCBieXRlcyBD UkMgYXMgd2VsbCkuDQpIYXZpbmcgc2FpZCB0aGF0IC0gSSBzdWdnZXN0IHNldHRpbmc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AgICAgICAg ICB0c29fc2Vnc3ogPiAqdHhxLT5tdHUpIHsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIHRzb19zZWdzeiA+ICp0eHEtPm10dSArDQo+ID4gKyBtYnVmX2luLT5sMl9sZW4pIHsN Cj4gPiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR4cS0+c3RhdHMuZXJycysrOw0K PiA+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7DQo+ID4gICAgICAgICAg ICAgICAgICAgICAgICAgfQ0KPiA+IC0tDQo+ID4gMi4yNy4wDQo+ID4NCj4gDQo+IEhpLCBKaWF5 dSwNCj4gDQo+IFRoaXMgaXMgdGhlIG9ubHkgZXhhbXBsZSBpbiB0aGUgZHJpdmVyIHRvIHVzZSBH U08uIEkgdGhpbmsgaXQgaXMgaW1wb3J0YW50IGZvciB1cw0KPiB0byBjYWxjdWxhdGUgYSBjb3Jy ZWN0IEdTTyBzaXplLiBJIHNlZSB5b3UgYXJlIHRoZSBHU08gbGliIG1haW50YWluZXIsIGNvdWxk DQo+IHlvdSBwbGVhc2UgaGVscCByZXZpZXcgdGhpcyBwYXRjaD8NCg==