summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2019-06-03 05:09:14 +0300
committerDavid S. Miller <davem@davemloft.net>2019-06-04 01:32:50 +0300
commit81a9255e476e556f9d3ed1b53d85904882c29555 (patch)
tree9cdb49ce6ee79ea37071ccab82d59ca66107d351 /tools/perf/scripts/python/stackcollapse.py
parent56b5866168f0b92173aadab4ac0f6d38696f7047 (diff)
downloadlinux-81a9255e476e556f9d3ed1b53d85904882c29555.tar.xz
net: hns3: don't configure new VLAN ID into VF VLAN table when it's full
VF VLAN table can only support no more than 256 VLANs. When user adds too many VLANs, the VF VLAN table will be full, and firmware will close the VF VLAN table for the function. When VF VLAN table is full, and user keeps adding new VLANs, it's unnecessary to configure the VF VLAN table, because it will always fail, and print warning message. The worst case is adding 4K VLANs, and doing reset, it will take much time to restore these VLANs, which may cause VF reset fail by timeout. Fixes: 6c251711b37f ("net: hns3: Disable vf vlan filter when vf vlan table is full") Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions