diff options
author | David S. Miller <davem@davemloft.net> | 2018-01-09 11:54:50 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-09 11:54:50 -0500 |
commit | a67c01e209356590f5ceaa8be454c6ab4b99c95b (patch) | |
tree | 8cded4b9519635f9c91fe78641256b4919494519 /net/tipc/group.c | |
parent | 709af180eed51042eeae6c232d109d4c18e88c8e (diff) | |
parent | bacc7943311e7536a9ef25f06a6cfdea9d228d88 (diff) | |
download | linux-a67c01e209356590f5ceaa8be454c6ab4b99c95b.tar.bz2 |
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 <davem@davemloft.net>
Diffstat (limited to 'net/tipc/group.c')
0 files changed, 0 insertions, 0 deletions