Skip to content
Commit 1ab9b5ea authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'ethtool-set_channels-add-a-few-more-checks'



Jakub Kicinski says:

====================
ethtool: set_channels: add a few more checks

There seems to be a few more things we can check in the core before
we call drivers' ethtool_ops->set_channels. Adding the checks to
the core simplifies the drivers. This set only includes changes
to the NFP driver as an example.

There is a small risk in the first patch that someone actually
purposefully accepts a strange configuration without RX or TX
channels, but I couldn't find such a driver in the tree.
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents a0c1d0ea 75c36dbb
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