Skip to content
Commit 37e2d99b authored by Eugenia Emantayev's avatar Eugenia Emantayev Committed by David S. Miller
Browse files

ethtool: Ensure new ring parameters are within bounds during SRINGPARAM



Add a sanity check to ensure that all requested ring parameters
are within bounds, which should reduce errors in driver implementation.

Signed-off-by: default avatarEugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: default avatarTariq Toukan <tariqt@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 709af180
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment