DSCP vs Linux socket priorities
I received some encouraging comments on G+ from Jesper Dangaard Brouer about my previous post on DSCP, Linux and VLAN priorities. Those comments and the work linked to (here) points to a few long-standing (but minor) issues with the way DSCP priorities are handled in Linux.
- Some DSCP values, like Expedited Forwarding, are not currently (3.17 and earlier) handled correctly.
- Linux Priorities, defined in include/uapi/linux/pkt_sched.h, are not documented particularly well, but forms part of the stable interface with userspace. Working with traffic classification (tc), queuing disciplines (qdisc) or VLANs requires at least a basic understanding of Linux socket priorities.