aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorVasundhara Volam <[email protected]>2019-10-31 05:07:49 +0000
committerDavid S. Miller <[email protected]>2019-10-31 21:48:20 +0000
commitaa46dffff452f7c6d907c4e6a0062e2c53a87fc0 (patch)
tree0b32c230a65db078215650847dfba32e65185d71 /net/unix/af_unix.c
parentbnxt_en: flow_offload: offload tunnel decap rules via indirect callbacks (diff)
downloadkernel-aa46dffff452f7c6d907c4e6a0062e2c53a87fc0.tar.gz
kernel-aa46dffff452f7c6d907c4e6a0062e2c53a87fc0.zip
bnxt_en: Improve bnxt_ulp_stop()/bnxt_ulp_start() call sequence.
We call bnxt_ulp_stop() to notify the RDMA driver that some error or imminent reset is about to happen. After that we always call some variants of bnxt_close(). In the next patch, we will integrate the recently added error recovery with the RDMA driver. In response to ulp_stop, the RDMA driver may free MSIX vectors and that will also trigger bnxt_close(). To avoid bnxt_close() from being called twice, we set a new flag after ulp_stop is called. If the RDMA driver frees MSIX vectors while the new flag is set, we will not call bnxt_close(), knowing that it will happen in due course. With this change, we must make sure that the bnxt_close() call after ulp_stop will reset IRQ. Modify bnxt_reset_task() accordingly if we call ulp_stop. Signed-off-by: Vasundhara Volam <[email protected]> Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions