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 2B01DA00C3; Tue, 19 Apr 2022 04:27:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 80DE64068E; Tue, 19 Apr 2022 04:27:19 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 534E040150 for ; Tue, 19 Apr 2022 04:27:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650335237; x=1681871237; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=z9BY/cqwciqDCVk2ki9cc7BHAJ1pvpwB0UWrmra+APs=; b=AdS6u7nFIWNleAR4sKKE0BHFRiIhOdCI5OnQbmpSGSiXNIKXZApUv0WK q3gJ2CGDUBfmYUtoniOXUpYcMJ81u7HV55nFoouiPh9rptab7Iw9F0ZwH 9UWNL2CzbZDxw4b2YqIvYT9nX+JLdWzb9isRGHBFOLcj2hsyO5Zj5bNj4 P5XsVWmAUUvwtCPIfopYzacmCNvLEXbhgmZFYQL9U3XvoIPPfjyZbcLJt V/hUgOVSHLJzWl4h6FfRiRRHWXC3BuL3hsvZ19FsRlUkbQxNQMnspEBnf 0tVs6v8zgCqVE/OjlbW1lVoZ0Hkwrg/5jGvezUiSwfRRXHYI20+GkVcK3 Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10321"; a="244241297" X-IronPort-AV: E=Sophos;i="5.90,271,1643702400"; d="scan'208";a="244241297" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Apr 2022 19:27:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,271,1643702400"; d="scan'208";a="554503610" Received: from npg-wuwenjun-dpdk-01.sh.intel.com ([10.67.110.181]) by orsmga007.jf.intel.com with ESMTP; 18 Apr 2022 19:27:13 -0700 From: Wenjun Wu To: dev@dpdk.org, jingjing.wu@intel.com, beilei.xing@intel.com, qi.z.zhang@intel.com Subject: [PATCH v5 0/4] Enable queue rate limit and quanta size configuration Date: Tue, 19 Apr 2022 10:05:36 +0800 Message-Id: <20220419020540.1975653-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. v4: Quanta size configuration will block device init if PF does not support. Fix this issue. v5: Update driver guide. 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: update IAVF driver guide and 22.07 release notes doc/guides/nics/intel_vf.rst | 4 + 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 | 38 +++++ drivers/net/iavf/iavf_tm.c | 190 +++++++++++++++++++++++-- drivers/net/iavf/iavf_vchnl.c | 54 +++++++ 7 files changed, 348 insertions(+), 8 deletions(-) -- 2.25.1