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 A203CA0501; Fri, 8 Apr 2022 11:06:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5BFF6410E7; Fri, 8 Apr 2022 11:06:45 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 2846C4067E for ; Fri, 8 Apr 2022 11:06:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649408803; x=1680944803; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=GyGDH9rrhDoKl+LQ2icPSv7rXg1ksSOYWkknfTJOguE=; b=jh6u8fc6kbJ0azBpVBiRx1jV+uEWn59iigKVq28pfFzhchc4TKz0zTLE /ZEcc4JKXwdmaaJbhn8LTNlOtJvJg7ZkbGBKXDMB6Jk/9OwDThspl1xGd jTasRmd4V1CWkSL6EhfnqpJlM+lF6z07YRBgVuGPHQgd+u1wk3PzyLxHi zG8EFXt3E/zcWgti5aX1qbG8pUUwmRA5hxphTySphamFwC2r2n6QQ4Skz 8pZ46JH3hYgVs+xQ//K5I+9GKDc39LOjHpoIIagOKUxmGn6YqmsMBOn+F knXpd/SWV3A9SPquQHBwpAm8s+4jeIacPSaJ4U/oIGmh0PMyLN5nk9YtH g==; X-IronPort-AV: E=McAfee;i="6400,9594,10310"; a="261726094" X-IronPort-AV: E=Sophos;i="5.90,244,1643702400"; d="scan'208";a="261726094" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2022 02:06:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,244,1643702400"; d="scan'208";a="659417816" Received: from npg-wuwenjun-dpdk-01.sh.intel.com ([10.67.110.181]) by orsmga004.jf.intel.com with ESMTP; 08 Apr 2022 02:06:34 -0700 From: Wenjun Wu To: dev@dpdk.org, qi.z.zhang@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com Subject: [PATCH v4 0/4] Enable queue rate limit and quanta size configuration Date: Fri, 8 Apr 2022 16:45:33 +0800 Message-Id: <20220408084537.920685-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. 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 | 38 +++++ drivers/net/iavf/iavf_tm.c | 190 +++++++++++++++++++++++-- drivers/net/iavf/iavf_vchnl.c | 54 +++++++ 6 files changed, 344 insertions(+), 8 deletions(-) -- 2.25.1