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 3C674A0C49; Wed, 7 Jul 2021 14:03:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 27899414ED; Wed, 7 Jul 2021 14:03:38 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 2369241391 for ; Wed, 7 Jul 2021 14:03:35 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10037"; a="188970192" X-IronPort-AV: E=Sophos;i="5.83,331,1616482800"; d="scan'208";a="188970192" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jul 2021 05:03:35 -0700 X-IronPort-AV: E=Sophos;i="5.83,331,1616482800"; d="scan'208";a="482145480" Received: from dhunt5-mobl5.ger.corp.intel.com (HELO [10.252.24.114]) ([10.252.24.114]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jul 2021 05:03:34 -0700 To: Anatoly Burakov , dev@dpdk.org Cc: konstantin.ananyev@intel.com, ciara.loftus@intel.com References: From: David Hunt Message-ID: <0c06194d-7ca4-c781-4d18-c6f12b90a022@intel.com> Date: Wed, 7 Jul 2021 13:03:33 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Subject: Re: [dpdk-dev] [PATCH v7 7/7] l3fwd-power: support multiqueue in PMD pmgmt modes 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 Sender: "dev" On 7/7/2021 11:48 AM, Anatoly Burakov wrote: > Currently, l3fwd-power enforces the limitation of having one queue per > lcore. This is no longer necessary, so remove the limitation. > > Signed-off-by: Anatoly Burakov > --- > examples/l3fwd-power/main.c | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c > index f8dfed1634..52f56dc405 100644 > --- a/examples/l3fwd-power/main.c > +++ b/examples/l3fwd-power/main.c > @@ -2723,12 +2723,6 @@ main(int argc, char **argv) > printf("\nInitializing rx queues on lcore %u ... ", lcore_id ); > fflush(stdout); > > - /* PMD power management mode can only do 1 queue per core */ > - if (app_mode == APP_MODE_PMD_MGMT && qconf->n_rx_queue > 1) { > - rte_exit(EXIT_FAILURE, > - "In PMD power management mode, only one queue per lcore is allowed\n"); > - } > - > /* init RX queues */ > for(queue = 0; queue < qconf->n_rx_queue; ++queue) { > struct rte_eth_rxconf rxq_conf; Tested-by: David Hunt