]> git.ipfire.org Git - thirdparty/iproute2.git/commit
tc/mqprio: add support for preemptible traffic classes
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 18 Apr 2023 11:39:52 +0000 (14:39 +0300)
committerDavid Ahern <dsahern@kernel.org>
Tue, 25 Apr 2023 01:42:33 +0000 (19:42 -0600)
commit1dedc6d8cff41aa6c21939050e7fcbede2aac5cb
tree505ce2aabb1d1f0cb6a6a404692ce3a7d58abf9a
parent1865a60871fb44b842fb758172648b24dfc37394
tc/mqprio: add support for preemptible traffic classes

Add support for the "fp" argument in tc-mqprio, which takes an array
of letters "E" (for express) or "P" (for preemptible), one per traffic
class, and transforms them into TCA_MQPRIO_TC_ENTRY_FP u32 attributes of
the TCA_MQPRIO_TC_ENTRY nest. We also dump these new netlink attributes
when they come from the kernel.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
man/man8/tc-mqprio.8
tc/q_mqprio.c