summaryrefslogtreecommitdiff
path: root/gpxe/src/include/gpxe/ib_pathrec.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_pathrec.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_pathrec.h')
-rw-r--r--gpxe/src/include/gpxe/ib_pathrec.h76
1 files changed, 0 insertions, 76 deletions
diff --git a/gpxe/src/include/gpxe/ib_pathrec.h b/gpxe/src/include/gpxe/ib_pathrec.h
deleted file mode 100644
index 5884d536..00000000
--- a/gpxe/src/include/gpxe/ib_pathrec.h
+++ /dev/null
@@ -1,76 +0,0 @@
-#ifndef _GPXE_IB_PATHREC_H
-#define _GPXE_IB_PATHREC_H
-
-/** @file
- *
- * Infiniband path records
- *
- */
-
-FILE_LICENCE ( GPL2_OR_LATER );
-
-#include <gpxe/infiniband.h>
-
-struct ib_mad_transaction;
-struct ib_path;
-
-/** Infiniband path operations */
-struct ib_path_operations {
- /** Handle path transaction completion
- *
- * @v ibdev Infiniband device
- * @v path Path
- * @v rc Status code
- * @v av Address vector, or NULL on error
- */
- void ( * complete ) ( struct ib_device *ibdev,
- struct ib_path *path, int rc,
- struct ib_address_vector *av );
-};
-
-/** An Infiniband path */
-struct ib_path {
- /** Infiniband device */
- struct ib_device *ibdev;
- /** Address vector */
- struct ib_address_vector av;
- /** Management transaction */
- struct ib_mad_transaction *madx;
- /** Path operations */
- struct ib_path_operations *op;
- /** Owner private data */
- void *owner_priv;
-};
-
-/**
- * Set Infiniband path owner-private data
- *
- * @v path Path
- * @v priv Private data
- */
-static inline __always_inline void
-ib_path_set_ownerdata ( struct ib_path *path, void *priv ) {
- path->owner_priv = priv;
-}
-
-/**
- * Get Infiniband path owner-private data
- *
- * @v path Path
- * @ret priv Private data
- */
-static inline __always_inline void *
-ib_path_get_ownerdata ( struct ib_path *path ) {
- return path->owner_priv;
-}
-
-extern struct ib_path *
-ib_create_path ( struct ib_device *ibdev, struct ib_address_vector *av,
- struct ib_path_operations *op );
-extern void ib_destroy_path ( struct ib_device *ibdev,
- struct ib_path *path );
-
-extern int ib_resolve_path ( struct ib_device *ibdev,
- struct ib_address_vector *av );
-
-#endif /* _GPXE_IB_PATHREC_H */