net/ice/base: introduce Tx rate limiting on port level
authorQi Zhang <qi.z.zhang@intel.com>
Wed, 26 Aug 2020 10:30:23 +0000 (18:30 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:09 +0000 (18:55 +0200)
commit24b38f1ea57de82b207d29c2117d684161a4abe9
tree10613ef37b47d2645be113dba857f4580fd00627
parent3cd364d84bfe8ee8370f5ed75adc0509a8de5e8a
net/ice/base: introduce Tx rate limiting on port level

The PSM Configuration has a Rate Limiter for each associated
switch port based on its relative speed from the total BW of
switch ports connected to LAN controller. The rate limiters
will be dynamic get readjusted if switch port speeds are
changed at the root node layer of the scheduler tree. Adding
a function to directly modify the EIR of root node.

Signed-off-by: Shibin Koikkara Reeny <shibin.koikkara.reeny@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_common.c
drivers/net/ice/base/ice_common.h
drivers/net/ice/base/ice_sched.c
drivers/net/ice/base/ice_type.h