summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2020-03-12 15:11:04 +0800
committerDavid S. Miller <davem@davemloft.net>2020-03-12 11:38:26 -0700
commit23b4201dead410c4a5108a8e723240419ab75257 (patch)
tree789a441c13be18fa341f90af7500c6b714d7c46e /scripts
parent5eb01ddfcfb25e6ebc404a41deae946bde776731 (diff)
downloadlinux-23b4201dead410c4a5108a8e723240419ab75257.tar.bz2
net: hns3: fix VF VLAN table entries inconsistent issue
Currently, if VF is loaded on the host side, the host doesn't clear the VF's VLAN table entries when VF removing. In this case, when doing reset and disabling sriov at the same time the VLAN device over VF will be removed, but the VLAN table entries in hardware are remained. This patch fixes it by asking PF to clear the VLAN table entries for VF when VF is removing. It also clears the VLAN table full bit after VF VLAN table entries being cleared. Fixes: c6075b193462 ("net: hns3: Record VF vlan tables") Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions