net: hns3: configure promisc mode for VF asynchronously
driver inclusion
category: bugfix
bugzilla: NA
CVE: NA
----------------------------
Currently, when host set VF untrusted, the driver will disable
the promisc mode of VF. It may be conflicted when the VF requests
the host to set promisc mode. So fix it by change promisc mode
for VF asynchronously. With this change, the promisc mode of VF
can be restored when the VF being trusted again.
Fixes: 5c1f0ff21058 ("net: hns3: add support for setting VF trust")
Signed-off-by:
Jian Shen <shenjian15@huawei.com>
Signed-off-by:
Yonglong Liu <liuyonglong@huawei.com>
Reviewed-by:
li yongxin <liyongxin1@huawei.com>
Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment