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 7C2F845EE6; Thu, 19 Dec 2024 06:52:45 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 44B8840144; Thu, 19 Dec 2024 06:52:45 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2137.outbound.protection.outlook.com [40.107.243.137]) by mails.dpdk.org (Postfix) with ESMTP id DEE86400EF for ; Thu, 19 Dec 2024 06:52:43 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pmhuOYtue5dZKlAYsPH8EyF36cTapqfx7Qgzuw+/lGabnCRN13PIXqPSIIARjj7qCuIofC/wAlciF0z5IL35mTMeOd4LYqHQaxB44C0FblF1+ThDWv+PWZ8vMNhk2srfr8G/CPqwF3+fYX1SW2DpWlwczv423NGO3Yfxfic+Q/G5e+CLSlKsiduVy1r3TBXppFl+I+kgmEwhk+HiSHf5Z8/5R5NACbe5AmLtaRVv4T9aZ9uS8aE8qtQ3B5XCbg2dY4QoHnoQIAlWVYpYfob8n0xCrtLusckAb35VZEDIJuo6J8WqKfbbmX8+REJMAvc60uz45lI9LKW7R2QnE0zoKA== 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=TdjH7NPMPIWeIcV7UkBLxl9pKlvcWIf3uWv+m1wFcOc=; b=lICfEQPVsxuEJMoArHg4KOFVgpLHWJfleqIr49rwuwVCvtaMKjkfgqwRvbjuV/M0hEpOwZwmfayDOTbK7GCZvEw1g12uxVTaXimP2aGVDRH+6KxEBIoQPVNxU2qF+FKQBbuRlpVJhpVTh+qPn+6R59CWEXCnsMzJ1mY6NpzX9ndgI1Sd7nlndJVzbWlJUIjiijqjEy2pIsq3/8EqeVQpY3CkgSf1u+VrF4fP8ywZrDxVLGHUd/ecZW2xK2J/0eVBOuuC8RPmj1gqyBk9YXHJF+jm+f0qFo16AvgsyyzyHSvla2sThGXnlnVkdI4P1FXmCqYHQ/k2m/VdguoP+fxeSQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TdjH7NPMPIWeIcV7UkBLxl9pKlvcWIf3uWv+m1wFcOc=; b=ErMI09FOF3bh4P/C/P2UT325FV3e2TZGWqGWcLFIFBPZFJfe32IGW+IKGRgHE4RmEu1z1saz5YqWtdv5sBeC35SxaNK0Si9U5m7QZw73qD8awK6XUxjWfjiq2dLq+gPP+HG2oacXRbkWnuEZG5kx6SlRA+TFjxRbYjr/9dVG/xo= Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by MN0PR13MB6719.namprd13.prod.outlook.com (2603:10b6:208:4c6::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8272.13; Thu, 19 Dec 2024 05:52:40 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::b900:5f05:766f:833]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::b900:5f05:766f:833%6]) with mapi id 15.20.8251.008; Thu, 19 Dec 2024 05:52:40 +0000 From: Chaoyong He To: Stephen Hemminger CC: "dev@dpdk.org" , oss-drivers , Long Wu , Nole Zhang Subject: RE: [PATCH v2 2/2] net/bonding: add command to set dedicated queue size Thread-Topic: [PATCH v2 2/2] net/bonding: add command to set dedicated queue size Thread-Index: AQHbG40XSb6lQwFNg0u+VEUxhVrKQbLVRDIAgACtrICAAKJfgIAAtdLAgBYzGJA= Date: Thu, 19 Dec 2024 05:52:40 +0000 Message-ID: References: <20240624020355.3712965-1-chaoyong.he@corigine.com> <20241011032412.3672788-1-chaoyong.he@corigine.com> <20241011032412.3672788-3-chaoyong.he@corigine.com> <20241203115758.7a74ebcf@hermes.local> <20241204080043.2aa5e239@hermes.local> 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=corigine.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR13MB5545:EE_|MN0PR13MB6719:EE_ x-ms-office365-filtering-correlation-id: d666c394-9dc2-4c8b-9c3c-08dd1ff159a3 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|376014|1800799024|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?XhltoY+GP2tNJ87wRozfxE7YDsPh/5lnLCL1r8s0Nyr18m8NlOVqPk57IzsA?= =?us-ascii?Q?r2DHtm33S+Ejqisk/HFQ1TYQEM3PVVrzaWSvpbjljfy//ObNxd5O4o42s8vX?= =?us-ascii?Q?U2yRZQfNvrEGH5FGjnxt07dsaMNjyWpdwJYsjfO5I2GBLzY6NfulCo+f82dn?= =?us-ascii?Q?kO7P9eN+qr4Gq8qa7rJ4q7oDCSRkyaWGaUGtLMCFEFAwAc5GRfhKl9uVTjyr?= =?us-ascii?Q?+4Vy9a0jg0NxIAC3CP6ulDbqRSmK4COCXgzF6P9c2pyL+A8GuyCPM6ajA9G8?= =?us-ascii?Q?BsC6HYW5Gf/UfXTc7ngFGbGqLERH/uGyGhge5svqnA+1b3YHbBwWMiLu/sZ0?= =?us-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wLZir2tHXpz81lzK3pPKPNdb?= =?us-ascii?Q?nC8nKdt0hMaWiulZMepbP9cC3SPofG17i6srp63E31zOL7vT1zdvRnkSzOC0?= =?us-ascii?Q?Z+C+7A0EKLy7gponLsGdEEQadBoZvkXNK4DkGeFwe/bOEeJsUtrCG51uwBuw?= =?us-ascii?Q?9A/0Z2y32WkUum0A2Kq6cRfLPe0O4EhNuCd0YIbbcOz/F5QFQRl3Wi+huo3R?= =?us-ascii?Q?R9xxZd8SxdRbKPaD+v+R3E0n7UzgkOnI?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?p0EBFT2a0bIithKlRq2a1KzcTZ9yS0UMFMMBHdw844B/tSsOGEvZS2snhxPC?= =?us-ascii?Q?DOkK6iVMXbb77HCJg7REbWfenGL4/cZubrHWRBCc0Nfg3+VcAwM5zxuClis/?= =?us-ascii?Q?OlfLbEL4b6mUE8ZBB75f2VqNrSUpooTdLGLmxL/OzEfU8KBa/R+7dg3w3bec?= =?us-ascii?Q?mHzuAmU8KHXtWQb2X4kOlJs25HIHQcDG75MrbIr/g+vyy2+BYOVVl1L7r185?= =?us-ascii?Q?Anw0U5fZkdHhiHD2JVMn1ZBZqjJo/Ag3VIgyV2XanXG2uWhuAqi8IRkBTh31?= =?us-ascii?Q?kIfr2UWtaAurGdZcK86tyrRanAAcYUq8Ko+qab+qzuRpgRmSv5tegYAMt7Xx?= =?us-ascii?Q?eY9WEVMTmQNjVQAdiDX2l/bVDKJKNGa+co7OP6bSkN+uAPWoJHve/CZ1Kuj3?= =?us-ascii?Q?Y0qEF6iyKkTrBTbVVRNpJtG56N49WCBR2koHO7VraTfiIz6hX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B5lMgDvGCgXJBZ0282vHKgRYnPYylPMd01bv9YUp?= =?us-ascii?Q?rzENYrMy+WrxJoaEILkUdNWhbjqBlLOKdQflfG2Zmdto4mX9M0wuG9ZBdKDR?= =?us-ascii?Q?8KvMHFqOy0N9Di6gwF3gaaNOJg8SRqoSh3sQHoaPaxPOkTQ55TXAWehaFzwi?= =?us-ascii?Q?ptdCgiRuSpEQ85ZRD02PGQOyNSBHpPlSAFQSYXSXoZXFUTso3uXr/DA+ME86?= =?us-ascii?Q?Uku4HiujSVkJkOP0piuQRmtbVurEZ1xQcEV/gYPp?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d666c394-9dc2-4c8b-9c3c-08dd1ff159a3 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Dec 2024 05:52:40.7872 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: oAqo+hUdgzllGQEkFUbg6nZtqH71zILxzOZufbPoXmyqnqjuUpTD0fSivXnaTS5ubgQMZfpLZOtp8s+PdGBdY2CNPc3I0x+Uz5qJmY1Za90= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR13MB6719 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 Wed, 4 Dec 2024 06:21:00 +0000 > > Chaoyong He wrote: > > > > > > The definition of what a "dedicated queue" is a bit confusing. > > > > If it is only for LACP packets, it should never need to be very big= . > > > > Only under a mis-configuration and DoS kind of flood should there > > > > ever be many packets. > > > > > > Yes, the dedicated queue is only for LACP packets now and it doesn't > > > need be > > set very big. > > > > > > But if we use a hardware queue as the "dedicated queue", we must > > > consider the hardware capability. The minimum queue size of some > > > NICs may be larger than the hardcode dedicated queue size. In this > > > case, I think it > > is better to add an interface to set the dedicated queue size. > > > > How about using the existing descriptor queue limits api for that? > > It is reported by info get >=20 > Using existing descriptor queue limits api is good enough for current > problem(hardware capability), but I think it is not very flexible. > Now we use a macro as a default value for dedicated queue size, but we ca= n > replace the macro with queue limit while still retaining the interface fo= r > modifying queue size. > What do you think of this? A gentle ping ~