diff options
author | 2015-10-08 10:08:23 +0530 | |
---|---|---|
committer | 2015-10-11 04:57:58 -0700 | |
commit | 21d11bd6f0f15c9c782d1f09557bb71f582a3f53 (patch) | |
tree | 0013a0032863a94a9957f3f3adcf6936e0d268fe /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | bpf: fix cb access in socket filter programs (diff) | |
download | wireguard-linux-21d11bd6f0f15c9c782d1f09557bb71f582a3f53.tar.xz wireguard-linux-21d11bd6f0f15c9c782d1f09557bb71f582a3f53.zip |
cxgb4: Enhance driver to update FW, when FW is too old
t4_check_fw_version() can return several error codes (-EINVAL, -EBUSY,
-EAGAIN). The present code sets the adapter state to UNINIT only if its
an EFAULT. In all the error cases set the adapter to uninitialized state.
In t4_check_fw_version() if call to t4_get_fw_version() fails, repeat the
operation a few times before returning failure.
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions