net/ice: support QoS bandwidth config after VF reset in DCF
authorTing Xu <ting.xu@intel.com>
Thu, 8 Jul 2021 02:33:46 +0000 (10:33 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Fri, 9 Jul 2021 03:05:19 +0000 (05:05 +0200)
commit931ee54072b143e973d861509c30af8928f30324
treeb79a26905bf1348e2d6b2f4a4e1a9fb61d7a8fcb
parent3442a8d66a147eb64a0f348d0741f2a7830dfda6
net/ice: support QoS bandwidth config after VF reset in DCF

When VF reset happens, the QoS bandwidth configuration will be lost. If
the reset is not caused by DCB change, it is supposed to replay the
bandwidth configuration to VF by DCF. In this patch, when a vsi update
PF event is received from PF after VF reset, and it is confirmed that
DCB is not changed, bandwidth configuration will be replayed.

Signed-off-by: Ting Xu <ting.xu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_dcf.c
drivers/net/ice/ice_dcf.h
drivers/net/ice/ice_dcf_ethdev.c
drivers/net/ice/ice_dcf_parent.c
drivers/net/ice/ice_dcf_sched.c