summaryrefslogtreecommitdiff
path: root/gpxe/src/include/gpxe/ib_cm.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2016-02-09 18:08:47 -0800
committerH. Peter Anvin <hpa@zytor.com>2016-02-09 18:08:47 -0800
commitf2f897a1762fab84d2905f32b1c15dd7b42abb56 (patch)
treea38f51d3f1fcbf44afddb4736d549c12eaf491be /gpxe/src/include/gpxe/ib_cm.h
parent72d2959272b4616f17a97667e6dfa9d06bf109a3 (diff)
downloadsyslinux-f2f897a1762fab84d2905f32b1c15dd7b42abb56.tar.gz
gpxe: delete long since obsolete snapshot of gPXE
gPXE has been deprecated in favor of iPXE for many, many years now. It is much better than users get it directly from the iPXE project, since we should no longer need any special modifications for Syslinux use. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'gpxe/src/include/gpxe/ib_cm.h')
-rw-r--r--gpxe/src/include/gpxe/ib_cm.h72
1 files changed, 0 insertions, 72 deletions
diff --git a/gpxe/src/include/gpxe/ib_cm.h b/gpxe/src/include/gpxe/ib_cm.h
deleted file mode 100644
index 670fffda..00000000
--- a/gpxe/src/include/gpxe/ib_cm.h
+++ /dev/null
@@ -1,72 +0,0 @@
-#ifndef _GPXE_IB_CM_H
-#define _GPXE_IB_CM_H
-
-/** @file
- *
- * Infiniband communication management
- *
- */
-
-FILE_LICENCE ( GPL2_OR_LATER );
-
-#include <gpxe/infiniband.h>
-#include <gpxe/retry.h>
-
-struct ib_mad_transaction;
-struct ib_connection;
-
-/** Infiniband connection operations */
-struct ib_connection_operations {
- /** Handle change of connection status
- *
- * @v ibdev Infiniband device
- * @v qp Queue pair
- * @v conn Connection
- * @v rc Connection status code
- * @v private_data Private data, if available
- * @v private_data_len Length of private data
- */
- void ( * changed ) ( struct ib_device *ibdev, struct ib_queue_pair *qp,
- struct ib_connection *conn, int rc,
- void *private_data, size_t private_data_len );
-};
-
-/** An Infiniband connection */
-struct ib_connection {
- /** Infiniband device */
- struct ib_device *ibdev;
- /** Queue pair */
- struct ib_queue_pair *qp;
- /** Local communication ID */
- uint32_t local_id;
- /** Remote communication ID */
- uint32_t remote_id;
- /** Target service ID */
- struct ib_gid_half service_id;
- /** Connection operations */
- struct ib_connection_operations *op;
-
- /** List of connections */
- struct list_head list;
-
- /** Path to target */
- struct ib_path *path;
- /** Connection request management transaction */
- struct ib_mad_transaction *madx;
-
- /** Length of connection request private data */
- size_t private_data_len;
- /** Connection request private data */
- uint8_t private_data[0];
-};
-
-extern struct ib_connection *
-ib_create_conn ( struct ib_device *ibdev, struct ib_queue_pair *qp,
- struct ib_gid *dgid, struct ib_gid_half *service_id,
- void *req_private_data, size_t req_private_data_len,
- struct ib_connection_operations *op );
-extern void ib_destroy_conn ( struct ib_device *ibdev,
- struct ib_queue_pair *qp,
- struct ib_connection *conn );
-
-#endif /* _GPXE_IB_CM_H */