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 21919430AC; Sun, 20 Aug 2023 17:49:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 88D9540E25; Sun, 20 Aug 2023 17:49:24 +0200 (CEST) Received: from mail-oi1-f176.google.com (mail-oi1-f176.google.com [209.85.167.176]) by mails.dpdk.org (Postfix) with ESMTP id 7AB0440A80 for ; Sun, 20 Aug 2023 17:49:23 +0200 (CEST) Received: by mail-oi1-f176.google.com with SMTP id 5614622812f47-3a7f4f7a8easo1332407b6e.2 for ; Sun, 20 Aug 2023 08:49:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1692546562; x=1693151362; 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=jA1691UgvGoUWmvCdZ7EAm1ESR4+EAnE6yjk5FKQ7XY=; b=obGckR95YhD0RSpT3mKMmd38DQ15ZkT1etVdht2RAL5tKPPMjZIU5Cu8FfDpbc++7j k36h0GM0mP7GZt1rP7ucvnowTXtbEYhSvbMXjvLPcivXyn9uBRk6+9t+FJM3ANUYaEga axNKO9Tz1aGdFWJ6kw7o0jZ+Elam9HnJ2JsR4wQVm7ng3S5O9kIOTQxcjdVb3MjQPJsG fQp/Ui63/KwUJOKuGUL6UQiMc1O7yDhKhkcn/zMViYiEjpNIV0P267/dVByTlV9eiC8C 9G1/hpyyCP0GZFhUBhuQj51HsQ3ifV5zGtsd2XXshOcn45jcB3j2GreCMV07aExcxzuN 1Vzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692546562; x=1693151362; 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=jA1691UgvGoUWmvCdZ7EAm1ESR4+EAnE6yjk5FKQ7XY=; b=PMNRMm70+kvBk6jFDUf6pGnUYej9OYa5bFbWUV698+yjMQk1HlOmyiiYw4IY/b1RI4 nsWaHH/+a/rTeqtTlGC6ga1NSB6bO7xYio24vGXsvEFPOzWVJ8jPOr5uBgw7WVhll0M8 LSzK+8C1M/vGaNKaC0Mq6SvKDyi6CvQLyE4cqPYF11+AZIwQbTQB0IZlTW1lSOtFlBQJ Lyt7CHCx0yJxl6U7QlAZpxigwXdyZD9830GEgqfgFYhn6lamIN1+j3huPceiyMSbTe/U OdBKOwflZij88pw4kdTrhAPexludQWewOe8l3Jr+X+xaC8X0nAy6ccnt0G3xOLy8NQo6 lzfw== X-Gm-Message-State: AOJu0YwcvSS2JpLeWnAXf47oLweiY2ml6eDwQ0ihgNokRQ+MW/iEg2D9 c7I/Fb5tK1xYns8x5ocK51d8NQ== X-Google-Smtp-Source: AGHT+IEdY/s0hwPfJOpw28kYSrCTwrpDF2uY2PWFktPUyM+ajMajbv3WWK4C94syKRdDZD9xBtjhhQ== X-Received: by 2002:a05:6808:b0a:b0:3a4:1f0f:d108 with SMTP id s10-20020a0568080b0a00b003a41f0fd108mr5582172oij.46.1692546562513; Sun, 20 Aug 2023 08:49:22 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id v14-20020a63bf0e000000b0052c9d1533b6sm4438824pgf.56.2023.08.20.08.49.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Aug 2023 08:49:22 -0700 (PDT) Date: Sun, 20 Aug 2023 08:49:20 -0700 From: Stephen Hemminger To: Jerin Jacob Cc: "Ananyev, Konstantin" , Hemant Agrawal , "dev@dpdk.org" , Jun Yang Subject: Re: [dpdk-dev] [PATCH] app/testpmd: support unequal number of RXQ and TXQ Message-ID: <20230820084920.5722d06d@hermes.local> In-Reply-To: References: <20191211053009.14906-1-hemant.agrawal@nxp.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 Wed, 11 Dec 2019 15:56:17 +0530 Jerin Jacob wrote: > > > > > -----Original Message----- > > > From: dev On Behalf Of Hemant Agrawal > > > Sent: Wednesday, December 11, 2019 5:30 AM > > > To: dev@dpdk.org > > > Cc: Jun Yang > > > Subject: [dpdk-dev] [PATCH] app/testpmd: support unequal number of RXQ and TXQ > > > > > > From: Jun Yang > > > > > > The existing forwarding mode usages the total number of > > > queues as the minimum of rxq and txq. > > > It finds the txq as the same index as rxq. > > > However in some scenarios, specially for flow control > > > the number of rxq and txq can be different. > > > This patch maxes the txq and function of rxq for all such > > > scenario instead of keeping 1:1 relationship between the two. > > > > > > Now packets from all RXQs can be forwarded to TXQs > > Allow this feature only for DEV_TX_OFFLOAD_MT_LOCKFREE devices. > Please probe DEV_TX_OFFLOAD_MT_LOCKFREE() capability first to > avoid breaking contract on the other devices. > > > > Dropping this version of the patch. Please resubmit a new version with the lock free check.