From: David S. Miller Date: Tue, 9 Jan 2018 16:54:50 +0000 (-0500) Subject: Merge branch 'ethtool-ringparam-upper-bound' X-Git-Tag: v4.19~1702^2~205 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a67c01e209356590f5ceaa8be454c6ab4b99c95b;p=platform%2Fkernel%2Flinux-rpi3.git Merge branch 'ethtool-ringparam-upper-bound' Tariq Toukan says: ==================== ethtool ringparam upper bound This patchset by Jenny adds sanity checks in ethtool ringparam operation for input upper bounds, similarly to what's done in ethtool_set_channels. The checks are added in patch 1, using a call to get_ringparam prior to calling set_ringparam NDO. Patch 2 changes the function's behavior in mlx4_en, so that it returns an error for out-of-range input, instead of rounding it to closest valid, similar to mlx5e. Patch 3 removes the upper bound checks in mlx5e_ethtool_set_ringparam as it becomes redundant. Series generated against net-next commit: f66faae2f80a Merge branch 'ipv6-ipv4-nexthop-align' ==================== Signed-off-by: David S. Miller --- a67c01e209356590f5ceaa8be454c6ab4b99c95b