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 07EBCA0093; Fri, 22 Apr 2022 04:05:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7757F410D5; Fri, 22 Apr 2022 04:05:03 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 5982340040 for ; Fri, 22 Apr 2022 04:05:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650593100; x=1682129100; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=xHHJDQKWBloUiEnsalhNCZ5A5ZGrB/Alzytl//IO4OA=; b=GB9KwUSu8BOkRxg5ltid3H9FoEIipEVjllA1GbVMH5gglN7VY98Y4b++ LNx2Og6/VQOYGSN9qX5lYj0zRxMGNJ/Cf5AXVSed+WnK1RaGz5+COPJCz eI80T476BpWrHTzJjsRd9ptx0u7luhMNQIs/5mtIjyRjVge3D2WXPhKhU IzWBoj0sC62RdbVik6E8TdAzRuL77ocUp85HpsX5IV1d03b8avZNkJYdP pUd+LmfRbO81TiesDSkxg5ArAekFQg2m/j6OwpVhKZoIQOrPzyoRjzWW3 mlRvBJW20yf7CMGAHVt5HWWf3NexEJKgVIcGz78ygfGjbd6CwUu5NtH1N w==; X-IronPort-AV: E=McAfee;i="6400,9594,10324"; a="251865593" X-IronPort-AV: E=Sophos;i="5.90,280,1643702400"; d="scan'208";a="251865593" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2022 19:04:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,280,1643702400"; d="scan'208";a="577596580" Received: from npg-wuwenjun-dpdk-01.sh.intel.com ([10.67.110.181]) by orsmga008.jf.intel.com with ESMTP; 21 Apr 2022 19:04:44 -0700 From: Wenjun Wu To: dev@dpdk.org, jingjing.wu@intel.com, beilei.xing@intel.com, qi.z.zhang@intel.com Subject: [PATCH v6 0/3] Enable queue rate limit and quanta size configuration Date: Fri, 22 Apr 2022 09:42:57 +0800 Message-Id: <20220422014300.2380259-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. v6: Merge the release note with the previous patch. 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 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