diff options
author | Felix Manlunas <felix.manlunas@cavium.com> | 2018-08-28 18:51:35 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-29 20:07:41 -0700 |
commit | 6870957ed5bc3a4c15fe556e3ebbb4e2f41d3eed (patch) | |
tree | 0f9544e453abf8c7ffac1547e564d011305f2b82 /drivers/net/ethernet/cavium/liquidio/octeon_nic.c | |
parent | liquidio: improve soft command handling (diff) | |
download | linux-dev-6870957ed5bc3a4c15fe556e3ebbb4e2f41d3eed.tar.xz linux-dev-6870957ed5bc3a4c15fe556e3ebbb4e2f41d3eed.zip |
liquidio: make soft command calls synchronous
1. Add wait_for_sc_completion_timeout() for waiting the response and
handling common response errors
2. Send sc's synchronously: remove unused callback function,
and context structure; use wait_for_sc_completion_timeout() to wait
its response.
Signed-off-by: Weilin Chang <weilin.chang@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium/liquidio/octeon_nic.c')
0 files changed, 0 insertions, 0 deletions