net/ice/base: implement shared rate limiter
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 20 Oct 2020 00:52:03 +0000 (08:52 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:03 +0000 (23:35 +0100)
commitb54a1781d267bd52812eb79ab43b34a452578632
treee132f0e268dbc8989394428c54fa59b32fecffb6
parent8bdcabf4c193f9d8ec74b656eb618e4e964384f9
net/ice/base: implement shared rate limiter

Implemented shared bandwidth rate limit functionality to account for
dedicated bandwidth and minimum bandwidth. It requires non default
profile be programmed for CIR, EIR/PIR, and SRL.

Signed-off-by: Tarun Singh <tarun.k.singh@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_sched.c
drivers/net/ice/base/ice_sched.h