diff options
| author | Jesse Brandeburg <[email protected]> | 2020-05-16 00:55:00 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2020-05-31 10:49:00 +0000 |
| commit | 765dd7a1827c687b782e6ab3dd6daf4d13a4780f (patch) | |
| tree | bcaa683b58697b6ea738b9dea065b050cb966e29 /drivers/net/ethernet/intel/ice/ice_sched.c | |
| parent | ice: Always clear QRXFLXP_CNTXT before writing new value (diff) | |
| download | kernel-765dd7a1827c687b782e6ab3dd6daf4d13a4780f.tar.gz kernel-765dd7a1827c687b782e6ab3dd6daf4d13a4780f.zip | |
ice: Fix inability to set channels when down
Currently the driver prevents a user from doing
modprobe ice
ethtool -L eth0 combined 5
ip link set eth0 up
The ethtool command fails, because the driver is checking to see if the
interface is down before allowing the get_channels to proceed (even for
a set_channels).
Remove this check and allow the user to configure the interface
before bringing it up, which is a much better usability case.
Fixes: 87324e747fde ("ice: Implement ethtool ops for channels")
Signed-off-by: Jesse Brandeburg <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_sched.c')
0 files changed, 0 insertions, 0 deletions
