net/ice/base: support removing VSI from flow profile
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 13 Apr 2021 05:06:28 +0000 (13:06 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 13 Apr 2021 14:25:24 +0000 (16:25 +0200)
commit03ed3e8b785c84629a301d9bd5329926bfc7f333
tree6a44f04c52188ba215931223f173060ff269d2a6
parent8ae24eff3ef873515e5d2000ad852adc77f568cf
net/ice/base: support removing VSI from flow profile

Adding a function ice_flow_rem_vsi_prof() to remove flow entries
associated to the SW VSI handle. Once complete, clear the vsi index from
the flow profile bitmap. This will ensure that a VSI once removed
can be re-added and the package block rules will be added again.

Signed-off-by: Vignesh Sridhar <vignesh.sridhar@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_flow.c
drivers/net/ice/base/ice_flow.h