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 05ACB45E30; Wed, 4 Dec 2024 17:00:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B6E0B40A87; Wed, 4 Dec 2024 17:00:56 +0100 (CET) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mails.dpdk.org (Postfix) with ESMTP id B2DDD40DD3 for ; Wed, 4 Dec 2024 17:00:54 +0100 (CET) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-724ffe64923so7421232b3a.2 for ; Wed, 04 Dec 2024 08:00:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1733328054; x=1733932854; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=2QhBQSA32fSIDisVst5pBpV1BQ5gSdNK/MaYIxcx7Tk=; b=yHr7qkdQCIiN0owdzOsuCny950OCMqXoRbU16e5rxdlJKuqBzjuwgDt8NtugjgcOW9 Z6LlKOIeriGw65fVvIK1atJL2n8LioOSCP7mKK3pSyRan80A3cuxGQqPqdo/3QZI97Cp 9iJveq+trewqn9RNnvBtUfGwhFNnTWdE3nCjjUWKpkVl9G16T0oIE8ptqK+ChDkFlNNg YVFbP0Ecd1O4lulbHNnk7VLBJbfp9fHYsRpWGezZq7foJ2HoMnIrnvYGbHewXtrMC1ro 8IySt4qlm+W+yZDqSctkaYg95pAoV0CpMyil1nctEsotFFCa5tzUfxfTEUl/gdBkovwm tPxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733328054; x=1733932854; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2QhBQSA32fSIDisVst5pBpV1BQ5gSdNK/MaYIxcx7Tk=; b=Q0w4Z3BjoVevxFlYw7LQaLWUZYDVMZ0TOAro+5vRBuKJj0CiRWuM1/3XuzmcH7lbeI +HVBD4fWAHIymzqR2+9gtZUx0fD8k/nDLUg/CJmpxyV5Uy71TeTG7xHA2MMhIBiUhYTI AsFR64boYLhXZwXZ/1y96iPt5UIgqhLX2Ea1Z1Mj5gZwHYu8wuD/3vOt1ARbFFrTCb9q OYlyVFhtInwXlt0tqrnSizjqGWHXBbusjgKAslb+u0PYu0YneHAqZZbg/qio6FBgf8MK D7GQixeeTtAqt80ztE+qjz4jrYulh3EsxD06wGcy4hkqnX2T2EnMoSzYfGu4tPsa+/Ds Tw/g== X-Gm-Message-State: AOJu0YxMdpoucRmoNyqupZuztQVc8B3Yv4zEPWQ2Hf4bBe52QUC3pvBG LRultQI9Od5EIs4HeUaluUHJF6D/zCA7armVrhQo9KAi2jfgPzyC2VeSGtiiVXk= X-Gm-Gg: ASbGncsX5wrZIF9xB0lCp96RFykF+sOC+X9iRpucZINwhhOgGSxMJe9bADz/CaAEIuG puNhAvWey/Cs9JsYBKzoBGgw7wuk+1KHtaiOZE+mp915Dyklisyx1GtfkZJ0UL2ySuDujcz93/i cUkZ3z2SR3F2cg5Wv9wR4T6NhN9zNV8bKUbC0l3DEBQ83NG4+jCYMZaWZXg28tGVAxA/dmBBhru VCWjRufLFwQSUSi3J8bzzlPZhYjMRndJuBqXieLU6pSP0fR0XVOLnxKFiHwGnj9QCUbx3yWehJu BrpZVEN3eqGyZ3I5nwvDMCoe/mY= X-Google-Smtp-Source: AGHT+IG2JX+RKF4TfPyQ3HdqEesk9C73mr4uUzt0hqd8AwomFeIEVAOcC/BJ1SI+UeXBn7c27Fc3vw== X-Received: by 2002:a05:6a00:4988:b0:725:936d:4187 with SMTP id d2e1a72fcca58-725936d4333mr2041332b3a.17.1733328053562; Wed, 04 Dec 2024 08:00:53 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-725417fc048sm12522932b3a.92.2024.12.04.08.00.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Dec 2024 08:00:53 -0800 (PST) Date: Wed, 4 Dec 2024 08:00:43 -0800 From: Stephen Hemminger To: Chaoyong He 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 Message-ID: <20241204080043.2aa5e239@hermes.local> In-Reply-To: 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> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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