diff options
author | Thomas Falcon <tlfalcon@linux.vnet.ibm.com> | 2017-06-21 14:53:01 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-22 11:31:34 -0400 |
commit | f3be0cbc722c8de2f45c5d9f71f1b21da85554fd (patch) | |
tree | 70e34b48f7858b459ab4e4291452cde9ed4c958d /net/rds/tcp_connect.c | |
parent | 288ccb75b8fbf554d3fe21d1f91dbf489f10c6d4 (diff) | |
download | linux-f3be0cbc722c8de2f45c5d9f71f1b21da85554fd.tar.gz linux-f3be0cbc722c8de2f45c5d9f71f1b21da85554fd.tar.xz |
ibmvnic: Fix error handling when registering long-term-mapped buffers
The patch stores the return code of the REQUEST_MAP_RSP sub-CRQ command
in the private data structure, where it can be later checked during
device open or a reset.
In the case of a reset, the mapping request to the vNIC Server may fail,
especially in the case of a partition migration. The driver attempts to
handle this by re-allocating the buffer and re-sending the mapping request.
The original error handling implementation was removed. The separate
function handling the REQUEST_MAP response message was also removed,
since it is now simple enough to be handled in the ibmvnic_handle_crq
function.
Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/tcp_connect.c')
0 files changed, 0 insertions, 0 deletions