Re: [PATCH] net: ethernet: ti: cpsw_ethtool: fix ethtool ring param set

2019-05-30 Thread David Miller
From: Ivan Khoronzhuk Date: Thu, 30 May 2019 00:47:53 +0300 > Fixes: 37e2d99b59c4765112533a1d38174fea58d28a51 ("ethtool: Ensure new > ring parameters are within bounds during SRINGPARAM") > > Signed-off-by: Ivan Khoronzhuk Please do not chop up Fixes: tags into multiple lines. Please do not p

[PATCH] net: ethernet: ti: cpsw_ethtool: fix ethtool ring param set

2019-05-29 Thread Ivan Khoronzhuk
After adding ethtool ring param sanity check patch: commit 37e2d99b59c4765112533a1d38174fea58d28a51 ("ethtool: Ensure new ring parameters are within bounds during SRINGPARAM") cpsw has no ability to change rx descriptor numbers. But the reason - initially "tx_max_pending" was not correctly set wh