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 C3ADFA0503; Tue, 29 Mar 2022 04:29:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 600B642838; Tue, 29 Mar 2022 04:29:45 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 9339740691 for ; Tue, 29 Mar 2022 04:29:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648520983; x=1680056983; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=1sIyeNoQRUC+BLOgZvJ6beV7/OW35P9jeP5s3zMZnoM=; b=gwEt7xyjrqzevARbKJRk6owb7NohE4FFUr1LPudaCPHVxuPNADcjPZD9 6FfHrkcGBeUpe+heSCznz5vvtMrt2Yl2KRbsiwRJgCDXK2DCuZ0ORA2p8 UZPXCT8ODekA8MWMrZrdEgCeyeNnji/8V24PMKuEypevUTtPRaxvfhATD 0tJKUcI+sUBrbogr0hZg5ivXiaZsGuGoMAW5K+j8qf4bCJog6/HD62soq jRVFnKDAnklqKKTKVt7HeKCo1w1zFlwpJUut8G+u0XYwHm6SgjrWFZtP8 UAl6i3hq3u6yABsElzBpPE+7smBLT/jtMp9UXHouaS2R0DYe0mEi3FHk9 A==; X-IronPort-AV: E=McAfee;i="6200,9189,10300"; a="257973854" X-IronPort-AV: E=Sophos;i="5.90,219,1643702400"; d="scan'208";a="257973854" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Mar 2022 19:29:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,219,1643702400"; d="scan'208";a="546193893" Received: from npg-wuwenjun-dpdk-01.sh.intel.com ([10.67.110.181]) by orsmga007.jf.intel.com with ESMTP; 28 Mar 2022 19:29:41 -0700 From: Wenjun Wu To: dev@dpdk.org, jingjing.wu@intel.com, beilei.xing@intel.com, qi.z.zhang@intel.com Cc: Wenjun Wu Subject: [PATCH v1 0/3] Enable queue rate limit and quanta size configuration Date: Tue, 29 Mar 2022 10:07:14 +0800 Message-Id: <20220329020717.1101263-1-wenjun1.wu@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 This patch set adds queue rate limit and quanta size configuration. Quanta size can be changed by driver devarg quanta_size=xxx. Quanta size should be set to the value between 256 and 4096 and be the product of 64. Wenjun Wu (3): common/iavf: support queue rate limit and quanta size configuration net/iavf: support queue rate limit configuration net/iavf: support quanta size configuration drivers/common/iavf/virtchnl.h | 51 +++++++++ drivers/net/iavf/iavf.h | 16 +++ drivers/net/iavf/iavf_ethdev.c | 37 +++++++ drivers/net/iavf/iavf_tm.c | 189 +++++++++++++++++++++++++++++++-- drivers/net/iavf/iavf_vchnl.c | 51 +++++++++ 5 files changed, 336 insertions(+), 8 deletions(-) -- 2.25.1