This patch set introduces an ethdev-based abstraction layer for Quality of Service (QoS) hierarchical scheduler. 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 hierarchical scheduler). 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 hierarchical scheduler 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_scheddev.c | 790 ++++++++++++++++++++ lib/librte_ether/rte_scheddev.h | 1273 ++++++++++++++++++++++++++++++++ lib/librte_ether/rte_scheddev_driver.h | 374 ++++++++++ 8 files changed, 2524 insertions(+), 1 deletion(-) create mode 100644 lib/librte_ether/rte_scheddev.c create mode 100644 lib/librte_ether/rte_scheddev.h create mode 100644 lib/librte_ether/rte_scheddev_driver.h -- 2.5.0