net/ice/base: save queue bandwidth for replay after reset
authorLeyi Rong <leyi.rong@intel.com>
Wed, 19 Jun 2019 15:17:46 +0000 (23:17 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Jun 2019 18:31:48 +0000 (20:31 +0200)
commit1b969112dc626a93943fdd677992c8b5315b2d38
tree6ad03828581e88928577907d7029638ea0de5935
parentf89aa3affa9e5280aa9d9f70f94bc04fa855689c
net/ice/base: save queue bandwidth for replay after reset

Added code to save the queue bandwidth information when it is applied
and it is replayed when queue is re-enabled again. Earlier saved value
is used for replay purpose.
Added vsi_handle, tc, and q_handle argument to the ice_cfg_q_bw_lmt,
ice_cfg_q_bw_dflt_lmt.

Signed-off-by: Tarun Singh <tarun.k.singh@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@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_sched.h
drivers/net/ice/base/ice_switch.h
drivers/net/ice/base/ice_type.h