Searched hist:"88 c4015fda6d014392f76d3b1688347950d7a12d" (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/infiniband/ulp/isert/ |
H A D | ib_isert.h | diff 88c4015fda6d014392f76d3b1688347950d7a12d Mon May 19 16:44:24 CEST 2014 Sagi Grimberg <sagig@mellanox.com> Target/iser: Improve cm events handling
There are 4 RDMA_CM events that all basically mean that the user should teardown the IB connection: - DISCONNECTED - ADDR_CHANGE - DEVICE_REMOVAL - TIMEWAIT_EXIT
Only in DISCONNECTED/ADDR_CHANGE it makes sense to call rdma_disconnect (send DREQ/DREP to our initiator). So we keep the same teardown handler for all of them but only indicate calling rdma_disconnect for the relevant events.
This patch also removes redundant debug prints for each single event.
v2 changes: - Call isert_disconnected_handler() for DEVICE_REMOVAL (Or + Sag)
Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Cc: stable@vger.kernel.org # 3.10+ Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
|
H A D | ib_isert.c | diff 88c4015fda6d014392f76d3b1688347950d7a12d Mon May 19 16:44:24 CEST 2014 Sagi Grimberg <sagig@mellanox.com> Target/iser: Improve cm events handling
There are 4 RDMA_CM events that all basically mean that the user should teardown the IB connection: - DISCONNECTED - ADDR_CHANGE - DEVICE_REMOVAL - TIMEWAIT_EXIT
Only in DISCONNECTED/ADDR_CHANGE it makes sense to call rdma_disconnect (send DREQ/DREP to our initiator). So we keep the same teardown handler for all of them but only indicate calling rdma_disconnect for the relevant events.
This patch also removes redundant debug prints for each single event.
v2 changes: - Call isert_disconnected_handler() for DEVICE_REMOVAL (Or + Sag)
Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Cc: stable@vger.kernel.org # 3.10+ Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
|