summaryrefslogtreecommitdiff
path: root/gpxe/src/include/gpxe/ipoib.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/ipoib.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/ipoib.h')
-rw-r--r--gpxe/src/include/gpxe/ipoib.h61
1 files changed, 0 insertions, 61 deletions
diff --git a/gpxe/src/include/gpxe/ipoib.h b/gpxe/src/include/gpxe/ipoib.h
deleted file mode 100644
index 1d02f792..00000000
--- a/gpxe/src/include/gpxe/ipoib.h
+++ /dev/null
@@ -1,61 +0,0 @@
-#ifndef _GPXE_IPOIB_H
-#define _GPXE_IPOIB_H
-
-/** @file
- *
- * IP over Infiniband
- */
-
-FILE_LICENCE ( GPL2_OR_LATER );
-
-#include <gpxe/infiniband.h>
-
-/** IPoIB MAC address length */
-#define IPOIB_ALEN 20
-
-/** An IPoIB MAC address */
-struct ipoib_mac {
- /** Queue pair number
- *
- * MSB indicates support for IPoIB "connected mode". Lower 24
- * bits are the QPN.
- */
- uint32_t flags__qpn;
- /** Port GID */
- struct ib_gid gid;
-} __attribute__ (( packed ));
-
-/** IPoIB link-layer header length */
-#define IPOIB_HLEN 4
-
-/** IPoIB link-layer header */
-struct ipoib_hdr {
- /** Network-layer protocol */
- uint16_t proto;
- /** Reserved, must be zero */
- union {
- /** Reserved, must be zero */
- uint16_t reserved;
- /** Peer addresses
- *
- * We use these fields internally to represent the
- * peer addresses using a lookup key. There simply
- * isn't enough room in the IPoIB header to store
- * literal source or destination MAC addresses.
- */
- struct {
- /** Destination address key */
- uint8_t dest;
- /** Source address key */
- uint8_t src;
- } __attribute__ (( packed )) peer;
- } __attribute__ (( packed )) u;
-} __attribute__ (( packed ));
-
-extern const char * ipoib_ntoa ( const void *ll_addr );
-extern void ipoib_link_state_changed ( struct ib_device *ibdev );
-extern int ipoib_probe ( struct ib_device *ibdev );
-extern void ipoib_remove ( struct ib_device *ibdev );
-extern struct net_device * alloc_ipoibdev ( size_t priv_size );
-
-#endif /* _GPXE_IPOIB_H */