net: hns3: fix VF promisc mode not update when mac table full
authorJian Shen <shenjian15@huawei.com>
Thu, 22 Dec 2022 06:43:43 +0000 (14:43 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Dec 2022 20:00:08 +0000 (12:00 -0800)
commit8ee57c7b8406c7aa8ca31e014440c87c6383f429
tree4363696631a44d66beadcd978b6aef38b6362a2d
parent7d89b53cea1a702f97117fb4361523519bb1e52c
net: hns3: fix VF promisc mode not update when mac table full

Currently, it missed set HCLGE_VPORT_STATE_PROMISC_CHANGE
flag for VF when vport->overflow_promisc_flags changed.
So the VF won't check whether to update promisc mode in
this case. So add it.

Fixes: 1e6e76101fd9 ("net: hns3: configure promisc mode for VF asynchronously")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Hao Lan <lanhao@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c