summaryrefslogtreecommitdiffstats
path: root/include/linux/qed
diff options
context:
space:
mode:
authorKalderon, Michal2017-07-02 09:29:29 +0200
committerDavid S. Miller2017-07-03 10:43:45 +0200
commitfc4c6065e661224df3db50780219ac53fee56e2b (patch)
treeeb0f41a5b5c24265643753ba2965f36971bd38cd /include/linux/qed
parentqed: iWARP CM add active side connect (diff)
downloadkernel-qcow2-linux-fc4c6065e661224df3db50780219ac53fee56e2b.tar.gz
kernel-qcow2-linux-fc4c6065e661224df3db50780219ac53fee56e2b.tar.xz
kernel-qcow2-linux-fc4c6065e661224df3db50780219ac53fee56e2b.zip
qed: iWARP implement disconnect flows
This patch takes care of active/passive disconnect flows. Disconnect flows can be initiated remotely, in which case a async event will arrive from peer and indicated to qedr driver. These are referred to as exceptions. When a QP is destroyed, it needs to check that it's associated ep has been closed. Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/qed')
-rw-r--r--include/linux/qed/qed_rdma_if.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/qed/qed_rdma_if.h b/include/linux/qed/qed_rdma_if.h
index e9514a69b03f..01966c3a3e5d 100644
--- a/include/linux/qed/qed_rdma_if.h
+++ b/include/linux/qed/qed_rdma_if.h
@@ -474,6 +474,8 @@ enum qed_iwarp_event_type {
QED_IWARP_EVENT_MPA_REQUEST, /* Passive side request received */
QED_IWARP_EVENT_PASSIVE_COMPLETE, /* ack on mpa response */
QED_IWARP_EVENT_ACTIVE_COMPLETE, /* Active side reply received */
+ QED_IWARP_EVENT_DISCONNECT,
+ QED_IWARP_EVENT_CLOSE,
QED_IWARP_EVENT_ACTIVE_MPA_REPLY,
};