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 D861045EF4; Fri, 20 Dec 2024 06:25:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C291840267; Fri, 20 Dec 2024 06:25:35 +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 3412240144 for ; Fri, 20 Dec 2024 06:25:35 +0100 (CET) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-725f3594965so1285160b3a.3 for ; Thu, 19 Dec 2024 21:25:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1734672334; x=1735277134; 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=wVbXvBQzGPs0SI/O7EYTw3gws4O2HUiPP5jVg7DegdA=; b=ygeNoVD94sS8EsiqN1JzAmppMRV2g+/UOVuS2cXZSEwSKXMzj8M2edJ+tYUzdaolqp aWvgodjamoPzONx+7/cwd9qsn3nxOylgJfjwt3zBynEnHbEWhyeXMwGZDpU+pSv88f4i GOQZzY+rzWQrvyfGtQwafE1dM1xTyW4fXGOOK7SJMiradX4tQo4059BRYXCHWQQKrYqx 5en0FSc5Hk1C74Euawrr4qQ0do8VsoM2N3bO726vLfcA5HyZpQWqVyjmvBB8ejflXaR4 OCC5WqQcXCXv1TcPW71aHZQviVGP5NaJ5wWJGa3Wnim70TBk2ys9awqbFW/5JxHTYlXJ Cm6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734672334; x=1735277134; 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=wVbXvBQzGPs0SI/O7EYTw3gws4O2HUiPP5jVg7DegdA=; b=NV8CMQrR1bfuA6t0lvjoY3Dls6zXt15A8emv4dgTx3WfhbD7mCmSrFcDv7aeZ7bcMB qYy+cE6r6w3BnSSuM9ZUQZz1HWQhI9y6d63QgBa69a/JeROpfuMP8RrTNo/YZlYbjbUH 9kH1SURleItlgERINz3mdOUAp+xII4Y4a3TsuDa909RGXeG7oCvpMR19kWlAMzATHhCi X/VzHblwkCG2Aqw3IlARFqhmDmKIcRaJc2EGIw6QcjHgxd4kg9qtwFOPHOep+q5/n4bd /sd6mIAwAMnNVxN4QxtsDINH8ddhoADX4m7Sj5keSlqmPPFpiG11l2SBhO9Yi4Eo7L6a U+CQ== X-Gm-Message-State: AOJu0Yy+02qrSPCT3wr2TKUN/YwE53YqPTiJC2fLakjUa6TQ5R483/Uq qceQH49Srnzs6Yz/DyiHQGwkRba5CMTxHVDoEDOrzP2jCsUsVXloF39nsks+T6w= X-Gm-Gg: ASbGncuzGWasEKQqqxbxvY6F0wgeax+yC963m7OZ+bqfvPCR+b3f6RNKetPQzy/NyAt yoKPZawPXgzQs8chdYPdPv1iu3Batq80EsU/eQ5lC43tlLhGGWrf/eY9EqLPHj0WjIJdUA6urGR eXqiJtY+bPpHYFOe5SljfN+yskL4v6NfkZzuB7ruNezg3ByQPXdq5V38/d3DVHacyxz8d3rKF6r hKH7Hwyl/wbAWBSeqh9LBGNLqLZ2fkw7T60z4jUCq8UyQ0SumDF3HEVy00voZbl/idSFgJT1Uvp CNu7tJl12jGHsdi3QObXqCIH9udy8fDAGQ== X-Google-Smtp-Source: AGHT+IH4qcOLnPyQL5OPxKQv06pLhXnS3S6+QanaCrTQ6AMpYTZ98xhy0MjgDE+74wzApf0IhQpHOA== X-Received: by 2002:a05:6a20:9f93:b0:1e1:a211:bb4b with SMTP id adf61e73a8af0-1e5e0802b2fmr3323983637.31.1734672334393; Thu, 19 Dec 2024 21:25:34 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-842e36caf84sm2054855a12.74.2024.12.19.21.25.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2024 21:25:34 -0800 (PST) Date: Thu, 19 Dec 2024 21:25:32 -0800 From: Stephen Hemminger To: Chaoyong He Cc: dev@dpdk.org, oss-drivers@corigine.com, Long Wu , Peng Zhang Subject: Re: [PATCH v2 2/2] net/bonding: add command to set dedicated queue size Message-ID: <20241219212532.5f56e924@hermes.local> In-Reply-To: <20241011032412.3672788-3-chaoyong.he@corigine.com> References: <20240624020355.3712965-1-chaoyong.he@corigine.com> <20241011032412.3672788-1-chaoyong.he@corigine.com> <20241011032412.3672788-3-chaoyong.he@corigine.com> 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 Fri, 11 Oct 2024 11:24:12 +0800 Chaoyong He wrote: > From: Long Wu > > The testpmd application can not modify the value of > dedicated hardware Rx/Tx queue size, and hardcoded > them as (128/512). This will cause the bonding port > start fail if some NIC requires more Rx/Tx descriptors > than the hardcoded number. > > Therefore, add a command into testpmd application to > support the modification of the size of the dedicated > hardware Rx/Tx queue. Also export an external interface > to also let other applications can change it. > > Signed-off-by: Long Wu > Reviewed-by: Peng Zhang > Reviewed-by: Chaoyong He > --- Seems this could just be a devarg to the bonding driver rather than all the added cruft of making it a real API.