General Resources
DPDK Programmer's guide on QoS
Token Bucket algorithm which is used in the subport and pipe shapers.
Discussion of the Token Bucket and Leaky Bucket algorithms
IEEE_802.1Q aka VLANs this is where the PCP field will live
Random Early Detection (RED) a method for signalling congestion early
RFCs
RFC 3290 - An Informal Management Model for Diffserv Routers
RFC 2983 - Differentiated Services and Tunneling
RFC 2597 - Assured Forwarding PHB Group
RFC 2474 - Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Header
RFC 3168 - The Addition of Explicit Congestion Notification (ECN) to IP