]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: introduce TxQueueLength= setting 18170/head
authorUlrich Ölmann <u.oelmann@pengutronix.de>
Wed, 6 Jan 2021 17:43:06 +0000 (18:43 +0100)
committerUlrich Ölmann <u.oelmann@pengutronix.de>
Wed, 13 Jan 2021 05:41:06 +0000 (06:41 +0100)
commitef4a91a7e8d8337a9d65177b09eb7580b25b8f5d
treeda8d956db0aa74f1072a9444ed9b699017221908
parent42e15a6f1ad4164501912c15e6b440ab6cc8e874
udev: introduce TxQueueLength= setting

Enable udev to set the transmit queue length of a device via a new directive to
be used in link files. The kernel stores this parameter as an unsigned 32 bit
integer. As typical values currently range in the order of 10 to a few 10,000
packets reduce the domain of valid values for this directive to 0..4294967294
and take the excluded 4294967295 == UINT32_MAX to indicate that the directive
is unset.
man/systemd.link.xml
src/libsystemd/sd-netlink/netlink-util.c
src/libsystemd/sd-netlink/netlink-util.h
src/udev/net/link-config-gperf.gperf
src/udev/net/link-config.c
src/udev/net/link-config.h
test/fuzz/fuzz-link-parser/directives.link