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 8D082A00BE; Tue, 17 May 2022 07:22:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3A8FB41109; Tue, 17 May 2022 07:22:31 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 7E13C4068B for ; Tue, 17 May 2022 07:22:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652764949; x=1684300949; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=3ZwTWPuElbpJFQeJsGcwha65esqqvKqL/bQ9/gVgXOU=; b=RkSl0AImW4qEwSELQSSHR7JarXpWD/zyw3INDjwN60mo4aJtm8tEJQUP AvtinkYKN6waGDsUaY9qizlkppvXmlbqb5tmJ7yzgUXfAsd2jllOffYqc FxN5r1gP0evTG/waNqanL7i+CYR5Lck1fnr/CEGqslm+V2WkyQLUKSoo5 r1W1J2v+QHJzoe2EHRQyqtu9v3WLv8Z2k54epMSGpG/DsT/cmONULD2w8 7OLKrX5H9nKr5RezugigAMx3xRUMxSO5GwowbWhYt1XIUSYAGvIEJ1w0F gdtNcxZY63q5gryxfBBiO/1KvVj+HtwCbSZn/N6zEYQf10RP+yGriPeJ5 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10349"; a="253114293" X-IronPort-AV: E=Sophos;i="5.91,231,1647327600"; d="scan'208";a="253114293" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 May 2022 22:22:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,231,1647327600"; d="scan'208";a="568698754" Received: from npg-wuwenjun-dpdk-01.sh.intel.com ([10.67.110.181]) by orsmga007.jf.intel.com with ESMTP; 16 May 2022 22:22:27 -0700 From: Wenjun Wu To: dev@dpdk.org, qiming.yang@intel.com, qi.z.zhang@intel.com Subject: [PATCH v10 0/7] Enable ETS-based TX QoS on PF Date: Tue, 17 May 2022 12:59:09 +0800 Message-Id: <20220517045916.4073904-1-wenjun1.wu@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220329014813.1092054-1-wenjun1.wu@intel.com> References: <20220329014813.1092054-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 enables ETS-based TX QoS on PF. It is supported to configure bandwidth and priority in both queue and queue group level, and weight only in queue level. v2: fix code style issue. v3: fix uninitialization issue. v4: fix logical issue. v5: fix CI testing issue. Add explicit cast. v6: add release note. v7: merge the release note with the previous patch. v8: rework shared code patch. v9: rebase the code. v10: rebase the code and rework the release note. Ting Xu (1): net/ice: support queue and queue group bandwidth limit Wenjun Wu (6): net/ice/base: fix dead lock issue when getting node from ID type net/ice/base: support queue BW allocation configuration net/ice/base: support priority configuration of the exact node net/ice: support queue and queue group priority configuration net/ice: support queue weight configuration net/ice: add warning log for unsupported configuration doc/guides/rel_notes/release_22_07.rst | 3 + drivers/net/ice/base/ice_sched.c | 90 ++- drivers/net/ice/base/ice_sched.h | 6 + drivers/net/ice/ice_ethdev.c | 19 + drivers/net/ice/ice_ethdev.h | 55 ++ drivers/net/ice/ice_tm.c | 845 +++++++++++++++++++++++++ drivers/net/ice/meson.build | 1 + 7 files changed, 1017 insertions(+), 2 deletions(-) create mode 100644 drivers/net/ice/ice_tm.c -- 2.25.1