net/ice: redirect switch rule to new VSI
authorBeilei Xing <beilei.xing@intel.com>
Fri, 3 Apr 2020 04:46:09 +0000 (12:46 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:06 +0000 (13:57 +0200)
commitc8183dd8e059aa22488b9c7ebda6a33941befdd9
tree4dadb5b3fcd6c5d9229344e99484c669dd5b3558
parent397b4b3c509574a55c58ae161f5a01cc8a4da56a
net/ice: redirect switch rule to new VSI

After VF reset, VF's VSI number may be changed,
the switch rule which forwards packet to the old
VSI number should be redirected to the new VSI
number.

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_dcf_parent.c