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 61C9F45B61; Fri, 18 Oct 2024 00:38:55 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8CB58402E2; Fri, 18 Oct 2024 00:38:54 +0200 (CEST) Received: from CY4PR05CU001.outbound.protection.outlook.com (mail-westcentralusazon11020107.outbound.protection.outlook.com [40.93.198.107]) by mails.dpdk.org (Postfix) with ESMTP id 4F22240268; Fri, 18 Oct 2024 00:38:52 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=kHbSauaX4oJWQGeIvuGKq2/XG3eXkohMiosP1xtRC4kb9Pln0GDSpid60O6eWanZAr7kapXXzuM1sdk018oHOnIY7ObcEEEHPMMqpqKja7h1oqJfyJpetKaJqlpms4zCnqfYdPF9siR0QW3epg56WQ3naqYa2fPvEXVUppDUidba0YXI6NmT51DICpBYt9ZujchHyTyLl66ieF9OURnUm+N0ARtKLrmtQfl2DfuBd7/PZJNwKJE6n9UM+3OE+YNoxRcRyBNydijr7jpH0G3JYE7gKB3xeb0kHtW63KwU57Y0fAf3kQj90jGaQQJ0eEeWSSqLdGNIaYjXNZrIKFW18w== 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=DBfVFjpxjpx3hPbxadS77EorgTpNYfnDUrpFpygEd74=; b=H30BDihRZFWtPrmlJhAUKdpnFGC0n/+bFkMntSVLD4fTKmA0dWcKJjL023XDSOBOoeW2AYB9BsWWZuYhtV9gCrUnYKwRuSYdwxJNdeeTMPG4bu1bJFbbAEkT8YmBW8mDTpQa+dcG5ERDJ2gE02OLicnvB2DWDUidBv2zTuntkhIjknb5lstcR559cfVYmePZlxSZqVOODonCetCLuMqCz0SCbz67Oqk4oH0ChiPaYHA0eduIX1mX/pgKTva3/pt2ef2HgIevZJtJU/huai/vvfs6t0S0fEG5yOcmE9OBGxJO4GjyplrZnWuRXmJjv8eZ2kgcHDl6wvLWO+WYFwbMDg== 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=DBfVFjpxjpx3hPbxadS77EorgTpNYfnDUrpFpygEd74=; b=bDIBSdTxUkXIMdadkThtpyZDECypPsh7WzGN/eEIcBi8Xql3f7SzGPGIywIIwS4eAG3qxyKqPfXhqpzPCYIhEPFJyHkqFCshB00/vLEudtc4rD+jjuSbPWUsG+CV9PmCfVJsPeDL5ynD7Q8EgprehB0IUa94aUv/fg6pwU238Us= Received: from CYYPR21MB4022.namprd21.prod.outlook.com (2603:10b6:930:bb::5) by CY5PR21MB3470.namprd21.prod.outlook.com (2603:10b6:930:d::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.8; Thu, 17 Oct 2024 22:38:50 +0000 Received: from CYYPR21MB4022.namprd21.prod.outlook.com ([fe80::4f9e:147d:82c:51e3]) by CYYPR21MB4022.namprd21.prod.outlook.com ([fe80::4f9e:147d:82c:51e3%6]) with mapi id 15.20.8069.001; Thu, 17 Oct 2024 22:38:49 +0000 From: Long Li To: Stephen Hemminger , "longli@linuxonhyperv.com" CC: Ferruh Yigit , Andrew Rybchenko , "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [Patch v5] net/netvsc: fix number Tx queues > Rx queues Thread-Topic: [Patch v5] net/netvsc: fix number Tx queues > Rx queues Thread-Index: AQHbIMmvdveaOmT1/kGujUUSBeJ6W7KLh9YAgAAAsMA= Date: Thu, 17 Oct 2024 22:38:49 +0000 Message-ID: References: <1729192829-30211-1-git-send-email-longli@linuxonhyperv.com> <20241017153420.7960ca92@hermes.local> In-Reply-To: <20241017153420.7960ca92@hermes.local> 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=be9ac145-0117-4bb9-9c10-f624e005e6fc; 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=2024-10-17T22:36:47Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CYYPR21MB4022:EE_|CY5PR21MB3470:EE_ x-ms-office365-filtering-correlation-id: 5489b948-f870-4d8e-358a-08dceefc784f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|366016|1800799024|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?xnHH1uBOodV/hU+zpJnCp7er865WODsNDc9WdvHD1Oxv+YqbSVmNM2s9ID7W?= =?us-ascii?Q?tMrnJbW6FpY6p+pC5MadG1hR+F7uOtvxXWosr70hwrU70Se/LuQYHjKH4dpw?= =?us-ascii?Q?wvRS5GJ7P3DanuXWYLhU6yhRfYSwmYRw2ItTZI52QPJjr37cq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yjuV+LT55yO1pe763uDDAvdcFTgDpnQwu47bZ0esnk4Kux1/RQhF?= =?us-ascii?Q?bsQ/E1JnJpkXHpsp+aC+lXwnItRsJAX7uWOOaC+ahnmEoP7UhOMKNB/Olly2?= =?us-ascii?Q?mq7YkLgQdirInxXVYtOuyl14Opy3/32yklCh83zAM0nxN96FUmK1rqacPWlS?= =?us-ascii?Q?oASrXE9QJHCc7zm5sd4hwsvlNvDz4WPUfBT+BzmvZ/Z5vTVMdQ37fFPVzkaB?= =?us-ascii?Q?7e6T5lxAcM0i8gR6cnf4TvT1V9kUQt/UOQaei01sVDFChMN2j8vKQLhFWjWJ?= =?us-ascii?Q?HBdUjfXIvRon+JETh2HY8cL98/4K+CiFoiZjKJwT0YApwVnSg7poIbGm9j59?= =?us-ascii?Q?eG6cRyA=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CYYPR21MB4022.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(366016)(1800799024)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?u2ZYHZo0c3uy+mtvosHaJrCxCldjD/zi0qjp1bgwlrHzSkV79cL9uwR+EZxx?= =?us-ascii?Q?8WNLI1XwDInmd4kWKrw5kn/sSfWgW9qvKlXm7VO2PoJW7Stldx2lv1f7h0hU?= =?us-ascii?Q?F5fxNZbji8e5YlVxLL05tkJBu9LbNzynm6MpwzTAtrKI/dADKS79uRiY8Llv?= =?us-ascii?Q?feI9hVL5dn3cEemkwniSHlpHO+V+WnuNs5rfxZpNE9ZjXzCZPwMoOQ1Laoud?= =?us-ascii?Q?w3cdcoErFyqyyqYghGJhttgM41KpJIrwjOQuYIZDQ7yul2pwMuKccXKVm4Ea?= =?us-ascii?Q?2wKHYsCoxez0JMwL/xUXVuO4motiDJsGExkeMQZma783V8fDt/gKc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D614ir5LJbact7HF/qNItLVjSjjCej1QhczYjxvE2FXj?= =?us-ascii?Q?ybiU+SFvBZJqQkUxf7YkgwErA4r1Ntq4mn0iVlKpuznIUhMfoFb3YP/KOcUj?= =?us-ascii?Q?OTlQ5LFeqx6UFxz/Cu7gXZcoP4uQwvk38NlZyUrwWxU/e9MrmK/BRzC1MSYd?= =?us-ascii?Q?eP5hRw6r6Rdw3EDvGI5TKxr/ZqFilPh4X56cA4KJ9jKf4Rhhyun4psSLHBTn?= =?us-ascii?Q?rCtYHX43aPxq/ItZKiJTr51YVdtcW99UPHJMZ8wZ23GdWTFDCSq0yER/PfjQ?= =?us-ascii?Q?V2YjOAThvkBh6AMmSlp+SzH6jBlq8pfr95+zQsJ3SgkkiOvG6DqIQ8aJwTPL?= =?us-ascii?Q?UPD8Y59mBhN1rTf1exDRdgOq4D2jHs8s5ydtWdOM?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CYYPR21MB4022.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5489b948-f870-4d8e-358a-08dceefc784f X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2024 22:38:49.6824 (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: o2UyGlYRooFvB+MI4KzQsLOw+CifyL15boLdlapuY4IWDbLvOx1hNjv8I1oJC8zQsgQW152RU7eDCjPKpYPvUA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR21MB3470 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 > Subject: Re: [Patch v5] net/netvsc: fix number Tx queues > Rx queues >=20 > On Thu, 17 Oct 2024 12:20:29 -0700 > longli@linuxonhyperv.com wrote: >=20 > > +static void > > +hn_rx_queue_free_common(struct hn_rx_queue *rxq) { > > + if (!rxq) > > + return; > > + > > + rte_free(rxq->rxbuf_info); > > + rte_free(rxq->event_buf); > > + rte_free(rxq); > > +} >=20 > Minor nit, DPDK style is for the bracket on the next line. > Checkpatch will complain about this. Is it okay to take the patch as is, or should I send a v6 to have it fixed?