diff options
| author | Huazhong Tan <[email protected]> | 2019-05-28 17:02:55 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-05-28 17:39:01 -0700 |
| commit | 2a0bfc36183cb4eb5f1212faafbc93876a9a2088 (patch) | |
| tree | 04ca49c3ae05ce4b77e79ed8247ea8fc3a2b8814 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | bd9109c9b1f3c34529fe43a4ede46e72d237361b (diff) | |
net: hns3: use HCLGE_STATE_ROCE_REGISTERED to indicate PF ROCE client has registered
When PF ROCE client's init_instance() succeeds, it means this client
has been registered successfully, so we use HCLGE_STATE_ROCE_REGISTERED
to indicate that. And before calling PF ROCE client's uninit_instance(),
we clear this state.
So any operation of the ROCE client from HCLGE 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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions