diff options
| author | 2019-05-28 17:02:56 +0800 | |
|---|---|---|
| committer | 2019-05-28 17:39:01 -0700 | |
| commit | 25d1817c4e5020b850b8bc383401ceff3cbc6e31 (patch) | |
| tree | 653380706af2f01f91956b0ceee08f15ade50dc4 /include | |
| parent | net: hns3: use HCLGE_STATE_ROCE_REGISTERED to indicate PF ROCE client has registered (diff) | |
net: hns3: use HCLGEVF_STATE_NIC_REGISTERED to indicate VF NIC client has registered
When VF NIC client's init_instance() succeeds, it means this client
has been registered successfully, so we use HCLGEVF_STATE_NIC_REGISTERED
to indicate that. And before calling VF NIC client's uninit_instance(),
we clear this state.
So any operation of VF NIC client from HCLGEVF is not allowed if this
state is not set.
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
