diff options
| author | Huazhong Tan <[email protected]> | 2019-05-28 17:02:56 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-05-28 17:39:01 -0700 |
| commit | 25d1817c4e5020b850b8bc383401ceff3cbc6e31 (patch) | |
| tree | 653380706af2f01f91956b0ceee08f15ade50dc4 /tools/perf/scripts/python | |
| parent | 2a0bfc36183cb4eb5f1212faafbc93876a9a2088 (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 <[email protected]>
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions