commit | 9091367037d3e6db590d9f8cd9a163336665ef27 | [log] [tgz] |
---|---|---|
author | Yonglong Liu <liuyonglong@huawei.com> | Sat Mar 07 11:42:46 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 09 19:36:13 2020 -0700 |
tree | b46c7279110eed8cd9057a533eb01feb56d08980 | |
parent | 01c45c521a5aa2e3a077b27d090f05a20012dd65 [diff] |
net: hns3: add a check before PF inform VF to reset When setting VF's MAC from PF, if the VF driver not loaded, the firmware will return error to PF. So PF should check whether VF is alive before sending message to VF when setting VF's MAC. Signed-off-by: Yonglong Liu <liuyonglong@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>