aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_sched.c
diff options
context:
space:
mode:
authorPaul M Stillwell Jr <paul.m.stillwell.jr@intel.com>2020-07-13 13:53:09 -0700
committerTony Nguyen <anthony.l.nguyen@intel.com>2020-07-29 08:38:55 -0700
commita02016de00f84a9e8a1a8ab1d8b9720c97fb3fdc (patch)
tree01c8db3b529ec16783fbe84677b06e01108de13a /drivers/net/ethernet/intel/ice/ice_sched.c
parentca1fdb885e5fe794a2f6171f9b7c7c064a461486 (diff)
downloadlinux-a02016de00f84a9e8a1a8ab1d8b9720c97fb3fdc.tar.gz
linux-a02016de00f84a9e8a1a8ab1d8b9720c97fb3fdc.tar.bz2
linux-a02016de00f84a9e8a1a8ab1d8b9720c97fb3fdc.zip
ice: fix overwriting TX/RX descriptor values when rebuilding VSI
If a user sets the value of the TX or RX descriptors to some non-default value using 'ethtool -G' then we need to not overwrite the values when we rebuild the VSI. The VSI rebuild could happen as a result of a user setting the number of queues via the 'ethtool -L' command. Fix this by checking to see if the value we have stored is non-zero and if it is then don't change the value. Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_sched.c')
0 files changed, 0 insertions, 0 deletions