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 9328A4567A for ; Sun, 21 Jul 2024 23:25:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 87FC640687; Sun, 21 Jul 2024 23:25:08 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2067.outbound.protection.outlook.com [40.107.220.67]) by mails.dpdk.org (Postfix) with ESMTP id CF0C640270; Sun, 21 Jul 2024 23:25:05 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=CYZmu2uk9/K5Fltfu35YKtiPcIUTn6NaL5YWTZ4WbQpr29okVrlQ+IJyTtpkTW+/SYLPR4/ZWt8X6WPPyztUFnUrH/jbJlqpinNdKHhhg2kJ23ScotU33H1I8pj0I4bONFtAHAjJslUWISC+rn9dpw3LecIUWwx6+GzghLk25qXpej8jQlgc4MxJhuWtqufKuxzxuuTkaLBj7gMPcp8pMntUvG5aYdaavINwVTKRPAZrA83wvGh+P/c7oyCDTcc+GUj1QUVHj2DG0WaT3im83nZuR1Pf7fyccgXLovK7OdannMPUMRNZ+LCK1/yczC3CGP7Z6dDb0qZhEtOkUJ6jxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=ZGd6ddlwId5rR2cEMbPmbfjtYhZ+38WorxqYHnRn5i4=; b=i1VDSJDYsw1g50ejC2YR0Q42lNzuJQsyM4m7xprMzCwknSP/nsEMbo4eEGRHaZojFOKQm3hTjBSu5ZjQdWtIm5Ho0wKzSlgIlBWgVsLu3n9VICc1AcdsbtRtRJj/g/yLQ6oAtkPQn/t5zBH3bY+lXA9NUHw71BihfGNSc6TCrXBoA7bgKp05fzpYmpjOjlynak1dvxjeCCvm4utnICm+kuQdL1eEySGDa/STQRKXPI4QkIFBt8R1TGywnqN3yCOAUC9bc4U3QPDoIbnIRQvJDjE8zOceKED4Osc1m2VMrSBH+fxumu2aMXN255XnYqMhdwC41RcUZAIad2Gut5ezdA== 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=ZGd6ddlwId5rR2cEMbPmbfjtYhZ+38WorxqYHnRn5i4=; b=PKZ2UyGgF3SIWlvrj9JY9O5dF6xhG+MwG0VoEttBVYPuadyFbHmilaLIQfzQNhwtVfArML2fxo1S5he1W8er4SJCkmvItTjY9kYSb1bM5RoNPkAAnExSGTEiRb6pMCjX57DbZ3lQApOdeSQ24gWRI8plysriKEUEJo3jUhmnhjU= 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 LV3PR12MB9215.namprd12.prod.outlook.com (2603:10b6:408:1a0::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.16; Sun, 21 Jul 2024 21:25:01 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd%4]) with mapi id 15.20.7784.017; Sun, 21 Jul 2024 21:25:01 +0000 Message-ID: <8ae269f7-4af7-4c4f-bc76-aedbab944d88@amd.com> Date: Sun, 21 Jul 2024 22:24:54 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] net/netvsc: use rte_eth_dev_set_mtu to set VF MTU To: Stephen Hemminger Cc: longli@linuxonhyperv.com, Andrew Rybchenko , Wei Hu , dev@dpdk.org, stable@dpdk.org, Long Li References: <1721331316-8821-1-git-send-email-longli@linuxonhyperv.com> <9c0c9e2e-3179-419e-9f0c-bd24984ee45f@amd.com> <20240719142059.5f3e6cf6@hermes.local> Content-Language: en-US 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 aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgA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3qwV7i9VrseA8c4VIZewdIjkzAhmmbxl+8rM/LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20240719142059.5f3e6cf6@hermes.local> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR4P281CA0433.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:d1::15) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|LV3PR12MB9215:EE_ X-MS-Office365-Filtering-Correlation-Id: ed0cb30f-58c1-478b-6c41-08dca9cb9410 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?B?S2crdVpjM0syQVAwamhMa1RqaEgrL2h0dHBOS0xWbW9jZHVsQzkwb0hwUlFu?= =?utf-8?B?Wm5BcDlhWUJQaHkyMHJaZTIwcEovbnJ1ZS9kb2MzTEpUZ01EaTJac3pZRnUy?= =?utf-8?B?c1gydC9qUjlXUmVQU1loaWIzN0ZRcEtqbm9OUHlrTkxURFFMOVU4dVFmbjFN?= =?utf-8?B?Slk4YU9yaDlPckx2WWxvalNqaFZuNm1hWlBjMFdrN3hvVUo0bUJZRGxnd2dB?= =?utf-8?B?TUtySm9kbUVtMEZtQisxbWxPNzBCRGZ4OWUwTG9FU2hDSWpOaGt1U05SL1Zu?= =?utf-8?B?TUp0TkZBaU1qQ1l1dlVmdTE1dEpXaEVYdDk0S05EQW9QcHhCVFlvNk15alhv?= =?utf-8?B?NXBxdlB1dUdaOEp0V04yME9Ebi9RekxUQjRqaXJLeDhsYmR6REs1OWRhYitO?= =?utf-8?B?MlBDS24rb2MveUtVRlpTQVFFW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?utf-8?B?VzJSOFlNVWdWWTJDYk50T055bWxKNTFWRE1XamwwTlhPUGFCci9hSW9ISlpD?= =?utf-8?B?RmNuZCtqanUzWjI5NFFKOWtnUXQ2YWFJczFsWFpkaTZvUmczNXZWOXc5ZXRI?= =?utf-8?B?SkhrQW0yMXZMUkMwTWl5czdzSmRNWnp4M2xXSW4wQlRabkljY1dQUEdyb2xv?= =?utf-8?B?cUxKZWd3c25QblhlWTFOOEtSVXh4VUl4Ni9UT1pFbm9naHNsQ3FiQlhXOWJW?= =?utf-8?B?bjRDc0RsMFZwNDArVHViYnRObCtkb3M5NXFRR21ybmtNbG1CRkZoS0hUNjlx?= =?utf-8?B?N1hVd3NNWXFPZEZQNjhkaXFGV0MvdkFkM0tIWjZpZEQ5VG4zZjdUd3Q1R2xx?= =?utf-8?B?YjhLY0laRitIQUxWTTN1My93R1pSMjdIOHQzc2x3TFZDazdnSHdEWndUTVRy?= =?utf-8?B?OWdnZmVJWFVaRXhuRjd1cndXaVpUSXJ4SFMxM0xBSGdRZCs2QjBQTU9BSTRL?= =?utf-8?B?RE8rZkpuWWd6bEVWSk5VUT09?= 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:(13230040)(1800799024)(376014)(366016); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VWlxZU9lVHZSVEZDVnJGNDJiYnJYZXB4dEk3Rm9qSlFzVnRDajdGbU5LMDBu?= =?utf-8?B?ZTFtbzVJRS9HK1BLQVN6MGVhczZLYWhjL0hvSU8zRU5aejNCUnlRbDhXekw3?= =?utf-8?B?YkEyKzZhc1BmaFJ6OGFuaURCZ3Q3TlJlY2R4L2htWlZaVndrSnduNmN4aW5l?= =?utf-8?B?RVNzVWtkWklmN09PcFdLeURy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E?= =?utf-8?B?eERoSlFZcktJZ3l2ZFJUS0JQSG5DdWlKWkkzcXI5bVdQNi9YaHd5cHdZVDVm?= =?utf-8?B?TERHeUM2MWNSTGdzMTJCZkdHdHkrV2pkRkVCd2tLWTdtRUlUUWF4ODVFaTM4?= =?utf-8?Q?89cA=3D?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: ed0cb30f-58c1-478b-6c41-08dca9cb9410 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jul 2024 21:25:01.0111 (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: aDIj4ehBGH9TYQOMLd3LEk4Ly4l7yfBW5ErQLCGSI6D/3USClr6qh9jDP3MjeDU6 X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR12MB9215 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 On 7/19/2024 10:20 PM, Stephen Hemminger wrote: > On Fri, 19 Jul 2024 21:39:04 +0100 > Ferruh Yigit wrote: > >>> --- a/drivers/net/netvsc/hn_vf.c >>> +++ b/drivers/net/netvsc/hn_vf.c >>> @@ -264,7 +264,7 @@ int hn_vf_add(struct rte_eth_dev *dev, struct hn_data *hv) >>> goto exit; >>> } >>> >>> - ret = hn_vf_mtu_set(dev, dev->data->mtu); >>> + ret = rte_eth_dev_set_mtu(port, dev->data->mtu); >>> >> >> As 'rte_eth_dev_set_mtu()' calls 'hn_vf_mtu_set()' in the call chain, >> won't it cause same problem? > > The port is the vf so it will call the set_mtu on the VF not the netvsc > device so it is not in the call chain. > ack >> >> Does it help to make unlocked version of 'hn_vf_mtu_set()': >> ``` >> _hn_vf_mtu_set() >> // set mtu without lock >> >> hn_vf_mtu_set() >> lock() >> _hn_vf_mtu_set() >> unlock() >> ``` > > That was original proposal, but using rte_eth_dev_set_mtu() on the VF > port has more error checking.