From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 54CCB2952 for ; Sat, 4 Mar 2017 02:10:24 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP; 03 Mar 2017 17:10:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,239,1484035200"; d="scan'208";a="55722543" Received: from silpixa00382659.ir.intel.com ([10.237.223.208]) by orsmga002.jf.intel.com with ESMTP; 03 Mar 2017 17:10:21 -0800 From: Cristian Dumitrescu To: dev@dpdk.org Cc: thomas.monjalon@6wind.com, jerin.jacob@caviumnetworks.com, balasubramanian.manoharan@cavium.com, hemant.agrawal@nxp.com, shreyansh.jain@nxp.com Date: Sat, 4 Mar 2017 01:10:18 +0000 Message-Id: <1488589820-206947-1-git-send-email-cristian.dumitrescu@intel.com> X-Mailer: git-send-email 2.5.0 Subject: [dpdk-dev] [PATCH v3 0/2] ethdev: abstraction layer for QoS hierarchical scheduler X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Mar 2017 01:10:24 -0000 This patch set introduces an ethdev-based abstraction layer for Quality of Service (QoS) Traffic Manager, which includes: hierarchical scheduling, traffic shaping, congestion management, packet marking. The goal is to provide a simple generic API that is agnostic of the underlying HW, SW or mixed HW-SW implementation. Patch 1 builds on the mechanism introduced by rte_flow in DPDK and generalizes it to make it available for other ethdev features/capabilities (such as the traffic manager). The goal is to define a plugin-like mechanism to extend the ethdev functionality in a modular way as opposed to the current monolithic approach. Patch 2 introduces the generic ethdev API for traffic manager using the above plugin-like mechanism for ethdev. Cristian Dumitrescu (2): ethdev: add capability control API ethdev: add hierarchical scheduler API MAINTAINERS | 4 + lib/librte_ether/Makefile | 5 +- lib/librte_ether/rte_ethdev.c | 13 + lib/librte_ether/rte_ethdev.h | 29 + lib/librte_ether/rte_ether_version.map | 37 + lib/librte_ether/rte_tm.c | 436 ++++++++++ lib/librte_ether/rte_tm.h | 1466 ++++++++++++++++++++++++++++++++ lib/librte_ether/rte_tm_driver.h | 365 ++++++++ 8 files changed, 2354 insertions(+), 1 deletion(-) create mode 100644 lib/librte_ether/rte_tm.c create mode 100644 lib/librte_ether/rte_tm.h create mode 100644 lib/librte_ether/rte_tm_driver.h -- 2.5.0