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 B091543EAC for ; Fri, 19 Apr 2024 10:35:34 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A9B53400D6; Fri, 19 Apr 2024 10:35:34 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2069.outbound.protection.outlook.com [40.107.244.69]) by mails.dpdk.org (Postfix) with ESMTP id 8997240042; Fri, 19 Apr 2024 10:35:33 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dPKM6SvkgoPo9j6aNXJAUmBkvhbbPLauYNBUjv2n61AwbEdT/4d4zSsw8V+frNdZ+SAVCAk5yr9TJqyb0goFJ3gjS/C/hEUu3fhn4Y2eLtwdls0z+ir4GkDo9ChZVcxs8VgZPTpDAvFq34XzLAniM9MU15WFykTXSjH3ZgjsWEBUAB4jxe25bkBtPMM0jKYsaFGOdsTmyOI3WLQssXo+T7X/kQVtFV7EbvyW7+/E+1Cl8mhnAjRgXc55wSooIJHvq8a9GjqN2UeIrL6Sn4ZaRY/33MfTv9CvPl0n1DwMF3QPn9KxhaP03DcYkb1CRanJMOaFueUeIsuMvfwvx6Eezg== 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=VW8VEKAC8tF/pDAXxKblPvTu+9XZn/wmFUyYji+EdoE=; b=ClbRYkW4krS8TeyqJC5A5SN5m/WcZLq97qHZ4qbGorTQ7YzK8L9InK40/ESgv2ZJKUlTrqooIIhswJqjarqtpYvBy4eJInGchPpVApMThgfClKk67UpRno3QTD1qXPGVtgJv/RnVhi9GGQEwEY/dByMo9an1zIBAErpOsH9OtuyMCbaC3/wLRJSxGV+w+OFvShGXlS6juepJjWvJov6gsP8INx/QPZ7bl3hy1pMEvRlTtjXwD84B2nYYUfcZb7EgdH8tNYk+zz132nhJvch5avvkEmCBklHLXPC6PwTzxGnlq/+Lv4RSFABH6ymQjBjdVn5zdseOXlFLKKSXIaY3ww== 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=VW8VEKAC8tF/pDAXxKblPvTu+9XZn/wmFUyYji+EdoE=; b=WuTi5vbGhzK/kIW6JMi35P+DY/4aehL4wX2oke3sjw1vWEs28AEZZrpwPMThOl+Cx3K5z+zLWyPOpRqLJ+NzLJ0DBudLq+tCVsjtAEVOLxlYsaEPZN1dGdeomCA5GZhlERRXyBofeuZqwwgpR6dGAkTj9J8PNAleBR3prNnV0qE= 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 SA1PR12MB9002.namprd12.prod.outlook.com (2603:10b6:806:38b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Fri, 19 Apr 2024 08:35:30 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::282f:29d3:cac1:cde3]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::282f:29d3:cac1:cde3%7]) with mapi id 15.20.7472.044; Fri, 19 Apr 2024 08:35:30 +0000 Message-ID: <8530ecbc-dafc-412b-aba4-553eeacbebdc@amd.com> Date: Fri, 19 Apr 2024 09:35:26 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] net/vmxnet3: fix a missing vmxnet3 register command To: Ronak Doshi , Jochen Behrens , Ronak Doshi Cc: dev@dpdk.org, stable@dpdk.org References: <20240418063644.24737-1-ronak.doshi@broadcom.com> 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 aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJkdyEEBQkE3meNAAoJEFRTPt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l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20240418063644.24737-1-ronak.doshi@broadcom.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LNXP123CA0011.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::23) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SA1PR12MB9002:EE_ X-MS-Office365-Filtering-Correlation-Id: bc71fd4d-fd9b-4875-dbbf-08dc604babb4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 70Bpvn+zIdbHUpofZsbyylmr/tSOyDgSKLSYoJ23IhLcZUhThIQdmm4RAKl5zYH7x20wUY2BtRQFeaw++nc/OkboZVtJjK3TpsDPkTsVdDFxv6M8nLrT3AdfIa7pR3+k8ZlwFBPGBSeC3xlhI9cdpMN6iQB5ay/CZTtZI5mnAJbrQ8AdSrrL40ELCdIZZFgGcOWn2MOK7GZtB0xFiN8XwdVCkFTc1Hppgscpda5CXPWOeT0rg7P5d0COrMkc3tZg2sr+IU9BIJsHJHAchFFBW6rxilOWx+tI/PfMWjdjVLDg1DjZmH1mDDciFzSQ0hJbVcoR4jMfiTUNivUlWQWjjNk7l89BjxHJMywqYajLtl58gjqJ9t+y2KRebwrM4gVaz71jMbOg6c7XEcdl6jP1GmJj1pKguuvPvOiHY2lCH15xjVYFbbFEVnKEXr0hnpZdpgHa7UXVCC1BI/gzDRDl0eWZpktB9+Mimx80KL/0YuikW0dg/qC3DmE9Vwy4q3NuP32mvdN5frg1GpEe4BRo0TLPQkrzmiWRh9/GT/Tk4rsUTQa0D6EsBTNCwJ2ff3TDvriPewiNDo1koAqiVXM1FtSIzWFqtVpj6mo++GOYP0ZYJ+B0zNgWNOy/Ngw5y2zy8BZj6q1WShWMn3Dco6DJgg== 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)(1800799015)(376005)(366007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YlhCbDM1R1U5Q21rd05YNm96YWhqS01sOCtKUHljS2hack0yMjl3TEVpMVlp?= =?utf-8?B?RVQ4OEdNS1N5UEFCQXBJcEUzN1NSQmhQS1Bpd201TG51QkdESlV0Q1R3TUZ0?= =?utf-8?B?SjUyUE5yMDgzTUNiOUF6VnkrNVJQMWVuQkhpa3ZYTVJXU2xwdklEUFVYUGYx?= =?utf-8?B?WXl4bVVMcHc0QXlFREdxc1p0ZXRBd3B0bGJ5aTU3dE9DaldNYk1icjZNN3RR?= =?utf-8?B?WG54RkdsOFhQWFd5NFJlS1E4RHZLVUNqTVRMNitNcEZBbElscnlsTGxQWXFl?= =?utf-8?B?bGl6SzJUY3pWci9wSjFhZ2NxK2xSVFVsMnFnUVUwREdmVk5ZUDJpVWxpbWZU?= =?utf-8?B?Z3c0VSsvQlhMU0lxNngxWjJtNUtVWVJ4SDRNZldHQ1VQU3BTVzFLbW42YkdV?= =?utf-8?B?QXVxL2hvdXJqY2xlVlk3aTI5Tm5PMWlrblMzdGwyNWY4S09KMzBJQWMwcU82?= =?utf-8?B?dEdJVGlFMG1ENWE5bTAxUENUUlQ1TXczL1dOSFJKeEZ5VG5kSkZlTjQ0L3pt?= =?utf-8?B?cVZ3dkpjblUrU2I2U3FFUjYvUlI5M3ByQlVuTlpIQTd5clZGYUZ0RmtXL09j?= =?utf-8?B?SkRkUlJvenZCNWlYKy9mcWJlS1ZIUmtOQVJYV1kxTjBGNjZzdGJMZzdoWjBQ?= =?utf-8?B?L2ZnTktwMDRvU21QNU1ENno4eis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FjY3F6M3huZ2FWQXRNQ1dqZVVxdEVhTjBmczRlNk1OL3A0THc1Q3ZI?= =?utf-8?B?dUV0TERkaGhJVVNNQmJaMmtNcW1mWmpuVWwwWGFWVTFMKzhURC9KSzNXQkRE?= =?utf-8?B?UGxQaEVkcmR2UDMrY3hKQnFJOUw1Qnc1cEd1NUlMRGlWdTlKNGs0V0ExNWJP?= =?utf-8?B?L3NranZKQ1RqajF5Z0E2cFhoNEFkMDBtOUtNVVJYcUg0NDZTTTBMNC82YWV1?= =?utf-8?B?dVVid3NCV2Uyc2t5RThWd21ZT2VHYVNGbm1EVVJlbnlNMzdiVURjengrWE9P?= =?utf-8?B?Nmx3U2IvbjFEOEFBNXBYV0xFSi91K3NsbGVXcDF2Q1phdTJuc1BUa1NiOHlF?= =?utf-8?B?dENtZUgwZzE0bDBSaHZHbWY4KzBzT1djamw1enlva3Z3OTVPKzk3VW9RK0lq?= =?utf-8?B?T3NTakw5OVgvV1NqaGEvY1ZBTmE4bDF2bFlEMHVwcVBWV2l1c21oUXBMYlcr?= =?utf-8?B?aHl4Qk0xYktvSTFqM3gvNEdFb2VSdGJsK2U1UGRRM0t0NU8yb2RqSTFkVzVz?= =?utf-8?Q?vSNNzByYKNukBasgl4w3Ldk5V?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: bc71fd4d-fd9b-4875-dbbf-08dc604babb4 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2024 08:35:30.1018 (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: CNQYnrzcqIJNcQ+HoeXOAv+RQZaXCivIQ/OcdG0e8ihhhkT4Bd31R3lGKhLMStrn X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB9002 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 4/18/2024 7:36 AM, Ronak Doshi wrote: > Vmxnet3 uses capability registers to advertise the supported > capabilities of UPT device. It uses DCR0_REG command register > for this purpose. However, the register command enum misses > one command which technically is not used by dpdk vmxnet3 > driver yet. This can cause issue for commands added later. > > This patch fixes this issue by adding a reserved > command in its place. > > Fixes: 5241d61bd865 ("net/vmxnet3: support capability registers") > Cc: stable@dpdk.org > > Signed-off-by: Ronak Doshi > -- > Change log > v2: fixed typo > --- > drivers/net/vmxnet3/base/vmxnet3_defs.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/vmxnet3/base/vmxnet3_defs.h b/drivers/net/vmxnet3/base/vmxnet3_defs.h > index 24c235876e..a6bb281d8d 100644 > --- a/drivers/net/vmxnet3/base/vmxnet3_defs.h > +++ b/drivers/net/vmxnet3/base/vmxnet3_defs.h > @@ -126,6 +126,7 @@ typedef enum { > VMXNET3_CMD_RESERVED7, > VMXNET3_CMD_RESERVED8, > VMXNET3_CMD_GET_MAX_QUEUES_CONF, > + VMXNET3_CMD_RESERVED11, > VMXNET3_CMD_GET_MAX_CAPABILITIES, > VMXNET3_CMD_GET_DCR0_REG, > } Vmxnet3_Cmd; Hi Ronak, Thank you for the patch. What is the fixed from user perspective, what is the impact. I can see two commands effected from missing enum, they are GET_DCR0_REG & GET_MAX_CAPABILITIES. Was user not able to read capabilities, or get random capabilities, from device up until now? If so what were these capabilities and how user impacted from missing them? Can you please detail the impact more in the commit log?