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 7B85942360; Wed, 11 Oct 2023 13:03:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4D1A840279; Wed, 11 Oct 2023 13:03:37 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2081.outbound.protection.outlook.com [40.107.92.81]) by mails.dpdk.org (Postfix) with ESMTP id 9F1F240266 for ; Wed, 11 Oct 2023 13:03:35 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MGBdUHg1bpv/QWN74n1mz4oLGYUdzP7XAJJZAgvPWUfKNiZF9wbXs6IxeUsQ7AqvsgBCxDYuRMXexGJpvQDoLlFVGIbqus5JQCYzECDYVr+KmYWpBXJ430MvE7gdbW0r3yv09XrgXfEZaIfITh1j9kXQuP9mmB1YLz1i0sgvag8nOOLyAB6sIPzKnvyM0d1XZigwOCl1044dMXo1p/uOBQwHubgqw3cI1VE3A70u1trCt1Njybg9QgdVD1kJo6VQpG2dUGrXt0p2xhxRcVHQruwL6eaaxx76NilgPxvk0IzKnJ5y2YZeQYoLng4yobXv4Ea2ugk5LP7PBo0XO5APbg== 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=KdswL6t7177dtRtLEorpK7yU1luuBtHQlxiVyd3OR94=; b=WJF/5yr54sZ7eMjkBPJOYbmcILsuaaZAZ/fOb6QNEeljmfqOgzKBXvg3zhrtXbOCz/N2IKzzTabAqVGvmJ0PHoDlpWFcZSmowUP8WCsHoVruu/7c2a+MRC9IYnE/Q43N8ixEBDcTRqX4SSd//V6G8IVN+hH8b3OmHdtmpgVCA5YOFBn9xHZxfkitL+eYs4xWC7Ak8J5Dp9xEg1YUBuF/XYfni5BXEsBeTAfip/qglc11a8Ea+/CBk3qZoTg//CvyoHvDHoO98uDqiLMp6FYA+1zFhLgc7tBYu1HOeVTvLrsTIr+UvRxVIekpbJnRwg3YXg7zO9DDwzBWexMxSe0rOg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KdswL6t7177dtRtLEorpK7yU1luuBtHQlxiVyd3OR94=; b=bj7JWp4puB0iCWoKq9jyof6PsSpwijLryrVszXqovlHL6aHGRAe5YYaGwDu+kbXe/lY3YfkYaCHyAHvHS4mBAoKsg1/oSqle4/HFcwqqBD3oUE5+cvuLsJ+q7+IPpsOfs/WHh39wrGQJnCa/tdAfixs0fFc0qtQOI4ur6aIZPN0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by DS7PR12MB8274.namprd12.prod.outlook.com (2603:10b6:8:da::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.38; Wed, 11 Oct 2023 11:03:33 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::102f:c69b:d3e5:7fe8]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::102f:c69b:d3e5:7fe8%4]) with mapi id 15.20.6863.032; Wed, 11 Oct 2023 11:03:33 +0000 Message-ID: Date: Wed, 11 Oct 2023 12:03:26 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3] net/netvsc: add support for mtu_set Content-Language: en-US To: Long Li , Sam Andrew , "andrew.rybchenko@oktetlabs.ru" References: Cc: "dev@dpdk.org" From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJjb9DJBQkC+3/YAAoJEFRTPtCK Km/6d94P/irGq3mPa7LamXMIioQ8i6ppMSjpr8g+SxH9RnzbmoUjUY6hVzCpXY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er-Encoding: 7bit X-ClientProxiedBy: PR3PR09CA0008.eurprd09.prod.outlook.com (2603:10a6:102:b7::13) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DS7PR12MB8274:EE_ X-MS-Office365-Filtering-Correlation-Id: 6c30f435-b141-4540-9078-08dbca49b53c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EJa1GViQXI3LZncY1EtIncKWBA7Pcma/Oek3v0TVojmAEDtOegkSfU/35nqnCVtF9Ay2OnySlwMBGXLjm7coGTfEGeCeCSDGKTedvD64YuI03JrCjtOuyPtWxDFYdhLMSt/hfEhDlxR4bEGXFdUKZkSe6hc/jAc3fcZPM363yxyTZRZ6TwWAKJ16OejQ4za1wlb2x19trYhAyYepSx3Gkq8FdJPSdQ2oSicvVOSm5i1p9q3mTS7Nn2xu9trAGvM1lH/2YLuMdorO5yPLGKH1B1eyalklCyqyU0aaaiJYNfa0P9lcYjsvZvzp4Eqq/jjimm/47+eGUNLZvpYWGB/XecdXkF10rD7XF2P/5tHwk5xUIlvWzqqiYoRkh4Ofvg12TN9Wez4CtJ4zwYxi4oZ0q/udprNIpYGed+ewevhmwy1PGpSi5ABBWk2VXimGTQjHvF9/EMS/Gz5cNIuTnr4unbEVSRW9Qt6y4hky4pprrqDFSRGnT20D0Tgb/+JjBeD9DESwWTPVbYHYzhFyQigMHu8/XYrxUIgngENR+e+Cp8sb6eeRJ0P3uo+/Wj95iLNisso98oE6PMby7zRwfZWP9em6IRK/L9RYBPn2PLRyM2ao2cAyczqXMALzrMVj5peDS8QajLYrmI1LVoCxjTp1Uw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(376002)(39860400002)(366004)(346002)(396003)(230922051799003)(1800799009)(64100799003)(451199024)(186009)(31696002)(86362001)(36756003)(31686004)(478600001)(26005)(110136005)(53546011)(6666004)(6512007)(66476007)(2616005)(4744005)(2906002)(41300700001)(44832011)(6506007)(45080400002)(316002)(66556008)(66946007)(5660300002)(4326008)(6486002)(8936002)(8676002)(38100700002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RGdYeFg1MFdJdEF2NjU3Rm1hN0tTQkpBeXZtWXhjM0E4YmplK0V0S2lrL3Q0?= =?utf-8?B?aWNtb3R4a3dhQlZBNlh4R1J2RDNmaEdibG5RKzhQQmJhM080ZGgwQjJrcENP?= =?utf-8?B?ZEJQMjFON1ZvbTZ3eFN4VFJIUkpjTDRyekcrWUhoM2RCRGdpQjFCa05Jd3ow?= =?utf-8?B?S1VhSk5LSGN5d0VGYVZ5ZnBpNllHeGJ3ektVRmwwalFSQnp1SThhRksrMytC?= =?utf-8?B?a1p2Y1IyQjFyQjkxZnNnRVlUZ3lwemw1TDBkVmp5bG8waG9aV3h3djlOeFd3?= =?utf-8?B?cmRLaG9NK09lS0J0SVB3TkowaDN1T2YvRFA1SUxERk5ZQjdObFVLakJsekwv?= =?utf-8?B?ZjVFcEpiSlNLWkJnejZNMksrd0ZIWVZXSnlGSW85YUhjQ1c4ZjJIZDNnMG45?= =?utf-8?B?ZEU4dCtzYy9QV01ySWEwQXZ5RjBFV0xFNFB5M1p2Q2VQNS9GeDJJeE5HamxO?= =?utf-8?B?WnhVNlM5REdFVDIxR1J2b0hPVWpPTXpTY2pNV0J0Yi8zMGpESElvT3FKODFS?= =?utf-8?B?WDQvWjBEeXlaQlBteUtIYmhzNnJSYVVHRE8wYWtzdlkyTCtLMlJZNGc0bmkx?= =?utf-8?B?RDdXbUV6UDU0b2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MEdZU2RMUXAwTkVDS0xEQTVtT0d1RWQ5emszVmx3c0R0V0dOS3pCbGlSMzdZ?= =?utf-8?B?QkF1QU44MFhaU0s5V0NFL3UyUDVkSnBmMlVaa3lMMThYTVp0Vi9XeW9adG5S?= =?utf-8?B?NHF1dVNnMU93OXNzZWJPa3VFUFJuekkzalVlQWNpcE5CZGlKeStya2I1Q1hV?= =?utf-8?B?N2xZdWhQb2pIOGU1WUt6aFBpSXEzMzRUU1QvdjdTMDArMHhzTVdaSGgwTVl3?= =?utf-8?B?MGR3dTBtNHBLOCtZRjI0SlU5elNRazJjejM2UTdMZ1JZUXUwVVNabFYzb0Va?= =?utf-8?B?SHlsRG5IaUQ1bjByeGhqNGpzZk9UOFgyYWZzMXkzcVJIaHB5eFFES1B1YVVH?= =?utf-8?B?VHQxL2IybXlZR1RZOXM4MDQwWkdqOGxEMlVNNWVtWWJteHllVzFXbGw1L2Vx?= =?utf-8?B?THlaNXJtaUh1TlhaN29GV3dvdklubE80TnZPaDZtM2w2SG5GemU5YjVCSm1a?= =?utf-8?B?SnQ4d0NLNTZQLzZJRGZDazY2SFlzLzMyQ0JPSnhVK1k4LzBMTW84cHZuLzRF?= =?utf-8?B?dXRKbVR1Q2xVbkVlbUdNS2RoS0xSajU5VkJQOTBoRjBRR3U0WHhVV2JqdVN0?= =?utf-8?Q?p4IBVZfeDYkXW5xqlcgk5qrkh?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6c30f435-b141-4540-9078-08dbca49b53c X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2023 11:03:32.9680 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: CiED4CJGLJfsc9aMi8xVC3lePQMzd5oSEjlc7e7k2by3tHzbqPFlo2jC/pJByjIf X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB8274 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 On 10/10/2023 8:08 PM, Long Li wrote: >> Subject: [PATCH v3] net/netvsc: add support for mtu_set >> >> Add support for changing the netvsc MTU. The MTU can only be set at nvs >> initialization, therefore to change the MTU the underlying vmbus >> channel(s) are torn down and the vmbus device unmapped and remapped. The >> existing rx and tx queue(s) are reconnected to the new vmbus channel(s). >> >> Signed-off-by: Sam Andrew >> Acked-by: Stephen Hemminger > > Acked-by: Long Li > Applied to dpdk-next-net/main, thanks.