diff options
author | Jian Shen <[email protected]> | 2018-09-19 18:29:57 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-09-19 21:20:22 -0700 |
commit | d9f28fc23d544f673d087b00a6c7132d972f89ea (patch) | |
tree | d570014730c8a3776f938b5106fec22f0f218573 /tools/perf/scripts/python/syscall-counts.py | |
parent | 49dd80541c75c2f21c28bbbdd958e993b55bf97b (diff) |
net: hns3: Fix client initialize state issue when roce client initialize failed
When roce is loaded before nic, the roce client will not be initialized
until nic client is initialized, but roce init flag is set before it.
Furthermore, in this case of nic initialized success and roce failed,
the nic init flag is not set, and roce init flag is not cleared.
This patch fixes it by set init flag only after the client is initialized
successfully.
Fixes: e2cb1dec9779 ("net: hns3: Add HNS3 VF HCL(Hardware Compatibility Layer) Support")
Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support")
Signed-off-by: Jian Shen <[email protected]>
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: Salil Mehta <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions