net: hns3: fix vlan filter mismatch issue
driver inclusion category: bugfix bugzilla: NA CVE: NA When hw is resetting, firmware is unable to handle commands from driver. So if remove vlan device from stack at this time, it will fail to remove the vlan id from from hw vlan filter, then the vlan filter status is unsynced with stack. This patch fixes it by recording the vlan id delete failed, and remove them again when reset complete. Signed-off-by: Nshenjian (K) <shenjian15@huawei.com> Reviewed-by: Nlipeng <lipeng321@huawei.com> Reviewed-by: NYang Yingliang <yangyingliang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录