diff options
author | 2018-09-03 11:21:48 +0100 | |
---|---|---|
committer | 2018-09-03 22:04:45 -0700 | |
commit | 54e97d117bafa161b08c6ade243a335d92890d94 (patch) | |
tree | ee6338e125ccecf52050a4612e176446bc996c2d /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | net: hns3: Fix for multicast failure (diff) | |
download | wireguard-linux-54e97d117bafa161b08c6ade243a335d92890d94.tar.xz wireguard-linux-54e97d117bafa161b08c6ade243a335d92890d94.zip |
net: hns3: Fix error of checking used vlan id
PF uses hdev->vlan_table to manage the port vlan table. In function
hclge_set_vlan_filter_hw(), it checks whether a vlan id has been used,
by foreach all the vport bits. It should use macro HCLGE_VPORT_NUM,
not VLAN_N_VID as the foreach condition.
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: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions