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 9F818A0513; Fri, 8 Apr 2022 07:51:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 36A924067E; Fri, 8 Apr 2022 07:51:14 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 691324003F for ; Fri, 8 Apr 2022 07:51:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649397072; x=1680933072; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=mpIhnQXVAP5ugONDLdfysRDtf92wkqLgIqdnpTPv6vY=; b=hEEMe3OuLoi09rgP1fke/LLSnCJcrLWF7ci58wgxR53PRwkTZO8s7sjB qG4QwaZQaI/K92JRGZmGKVZWk95DnJbwPa8WyFroXi+uqXYCqCUVHv+yC PVUnuBbBEBAnczfnExP5l2s++VmAtiv4Qb5BybXzHS1jqOLGzEbvW9h1l qdAo2fJn2GY0uk8WVzEhe+HvbMd0G/kZW9AlR3JsCwc7bbw+7Fzg+SlZV oozZ4EsjHly8IZBiquru2tzZOgchzwY6OcHB/vcDNicKswR5m92q2ZoXK kkWOsZwqoxFnrg62z/VMRsl0uDXBl+KNpsF3uT+bU88pz1Mbxug8rpLSq Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10310"; a="260350928" X-IronPort-AV: E=Sophos;i="5.90,244,1643702400"; d="scan'208";a="260350928" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2022 22:51:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,244,1643702400"; d="scan'208";a="609619707" Received: from npg-wuwenjun-dpdk-01.sh.intel.com ([10.67.110.181]) by fmsmga008.fm.intel.com with ESMTP; 07 Apr 2022 22:51:10 -0700 From: Wenjun Wu To: dev@dpdk.org, qi.z.zhang@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com Subject: [PATCH v3 0/4] Enable queue rate limit and quanta size configuration Date: Fri, 8 Apr 2022 13:30:10 +0800 Message-Id: <20220408053014.846262-1-wenjun1.wu@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220329020717.1101263-1-wenjun1.wu@intel.com> References: <20220329020717.1101263-1-wenjun1.wu@intel.com> 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. v2: rework virtchnl v3: add release note Wenjun Wu (4): common/iavf: support queue rate limit and quanta size configuration net/iavf: support queue rate limit configuration net/iavf: support quanta size configuration doc: add release notes for 22.07 doc/guides/rel_notes/release_22_07.rst | 4 + drivers/common/iavf/virtchnl.h | 50 +++++++ drivers/net/iavf/iavf.h | 16 +++ drivers/net/iavf/iavf_ethdev.c | 40 ++++++ drivers/net/iavf/iavf_tm.c | 190 +++++++++++++++++++++++-- drivers/net/iavf/iavf_vchnl.c | 51 +++++++ 6 files changed, 343 insertions(+), 8 deletions(-) -- 2.25.1