]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c556c695021bce72d29d566673c000ec4431f2e
tree459cd509ccc1d5d3f2d000665084393cffbae106
parentf2c1d9ba445773b69342e775e36288ff1259d543
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