Hi, This is the userspace side of the series proposing an interface via ethtool for configuring frame preemption, defined in IEEE 802.1Q-2018 (previously IEEE 802.1Qbu) and 802.3br.
Patch 1 of this RFC is only to help testing, and should not be considered. Patch 2, adds support for the ETHTOOL_GFP and ETHTOOL_SFP commands. Patch 2, adds support for the netlink messages ETHTOOL_MSG_PREEMPT_GET and ETHTOOL_MSG_PREEMPT_SET. Vinicius Costa Gomes (3): uapi: Update headers from the kernel [DO NOT APPLY] ethtool: Add support for configuring frame preemption ethtool: Add support for configuring frame preemption via netlink Makefile.am | 2 +- ethtool.c | 94 ++++++++++++ netlink/desc-ethtool.c | 13 ++ netlink/extapi.h | 4 + netlink/preempt.c | 148 +++++++++++++++++++ uapi/linux/ethtool.h | 49 ++++++- uapi/linux/ethtool_netlink.h | 267 +++++++++++++++++++++++++++++++++++ 7 files changed, 575 insertions(+), 2 deletions(-) create mode 100644 netlink/preempt.c -- 2.26.2