From: Jakub Kicinski Date: Mon, 7 Apr 2025 18:00:04 +0000 (-0700) Subject: Merge branch 'fix-wrong-hds-thresh-value-setting' X-Git-Tag: v6.15-rc2~22^2~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cf46e18efdd55107315ce874f4638591aabbab6b;p=thirdparty%2Flinux.git Merge branch 'fix-wrong-hds-thresh-value-setting' Taehee Yoo says: ==================== fix wrong hds-thresh value setting A hds-thresh value is not set correctly if input value is 0. The cause is that ethtool_ringparam_get_cfg(), which is a internal function that returns ringparameters from both ->get_ringparam() and dev->cfg can't return a correct hds-thresh value. The first patch fixes ethtool_ringparam_get_cfg() to set hds-thresh value correcltly. The second patch adds random test for hds-thresh value. So that we can test 0 value for a hds-thresh properly. ==================== Link: https://patch.msgid.link/20250404122126.1555648-1-ap420073@gmail.com Signed-off-by: Jakub Kicinski --- cf46e18efdd55107315ce874f4638591aabbab6b