]> www.infradead.org Git - users/hch/misc.git/commit
selftest: net-drv: hds: add test for HDS feature
authorTaehee Yoo <ap420073@gmail.com>
Tue, 14 Jan 2025 14:28:52 +0000 (14:28 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 15 Jan 2025 22:42:12 +0000 (14:42 -0800)
commitcfd70e3eba2b68aa230d431e3c6ca0a1566e8d2e
tree651dd1e0f714f84d16cbeea5f6308dc2768277a5
parentf394d07b192b67a895dbed76253ce95dcbb5d17c
selftest: net-drv: hds: add test for HDS feature

HDS/HDS-thresh features were updated/implemented. so add some tests for
these features.

HDS tests are the same with `ethtool -G eth0 tcp-data-split <on | off |
auto >` but `auto` depends on driver specification.
So, it doesn't include `auto` case.

HDS-thresh tests are same with `ethtool -G eth0 hds-thresh <0 - MAX>`
It includes both 0 and MAX cases. It also includes exceed case, MAX + 1.

Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Link: https://patch.msgid.link/20250114142852.3364986-11-ap420073@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/Makefile
tools/testing/selftests/drivers/net/hds.py [new file with mode: 0755]