ice: Adjust scheduler default BW weight
authorTarun Singh <tarun.k.singh@intel.com>
Mon, 13 Jul 2020 20:53:11 +0000 (13:53 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 29 Jul 2020 15:38:55 +0000 (08:38 -0700)
commit984824a210d4b21868d2f96219637587bdb37719
tree459cd509ccc1d5d3f2d000665084393cffbae106
parentb3b93d6ce1bd5f42c49dd8e0b059e1dca7fa8f61
ice: Adjust scheduler default BW weight

By default the queues are configured in legacy mode. The default
BW settings for legacy/advanced modes are different. The existing
code was using the advanced mode default value of 1 which was
incorrect. This caused the unbalanced BW sharing among siblings.
The recommended default value is applied.

Signed-off-by: Tarun Singh <tarun.k.singh@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_common.c
drivers/net/ethernet/intel/ice/ice_type.h