diff options
author | David S. Miller <davem@davemloft.net> | 2020-05-16 13:56:30 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-16 13:56:30 -0700 |
commit | 1ab9b5eabbab5427d4b36ab70816358c790bb192 (patch) | |
tree | 1410fe5fb02e10ba1bd995ecc3cdfe4e9e91a8ee /drivers/net/ethernet/intel/igc/igc_main.c | |
parent | a0c1d0eafd1ef1ada3b588ea205e5bc37ae0d8d9 (diff) | |
parent | 75c36dbb1c3790eab909344b758decce6bb432da (diff) |
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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions