Whamcloud - gitweb
- removed unused header mxlnd_wire.h.
authorisaac <isaac>
Wed, 2 Dec 2009 00:44:12 +0000 (00:44 +0000)
committerisaac <isaac>
Wed, 2 Dec 2009 00:44:12 +0000 (00:44 +0000)
lnet/klnds/mxlnd/autoMakefile.am
lnet/klnds/mxlnd/mxlnd_wire.h [deleted file]

index f72374e..65439cd 100644 (file)
@@ -41,4 +41,4 @@ endif
 endif
 
 MOSTLYCLEANFILES = @MOSTLYCLEANFILES@
-DIST_SOURCES = $(kmxlnd-objs:%.o=%.c) mxlnd.h mxlnd_wire.h
+DIST_SOURCES = $(kmxlnd-objs:%.o=%.c) mxlnd.h
diff --git a/lnet/klnds/mxlnd/mxlnd_wire.h b/lnet/klnds/mxlnd/mxlnd_wire.h
deleted file mode 100644 (file)
index 39be7fc..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
- * GPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 only,
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License version 2 for more details (a copy is included
- * in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU General Public License
- * version 2 along with this program; If not, see
- * http://www.sun.com/software/products/lustre/docs/GPLv2.pdf
- *
- * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
- * CA 95054 USA or visit www.sun.com if you need additional information or
- * have any questions.
- *
- * GPL HEADER END
- */
-/*
- * Copyright  2008 Sun Microsystems, Inc. All rights reserved
- * Use is subject to license terms.
- *
- * Copyright (C) 2006 Myricom, Inc.
- */
-/*
- * This file is part of Lustre, http://www.lustre.org/
- * Lustre is a trademark of Sun Microsystems, Inc.
- *
- * lnet/klnds/mxlnd/mxlnd.h
- *
- * Author: Eric Barton <eric@bartonsoftware.com>
- * Author: Scott Atchley <atchley at myri.com>
- */
-
-/*
- * MXLND wire format - sent in sender's byte order
- */
-
-typedef struct kmx_connreq_msg
-{
-        u32             mxcrm_queue_depth;              /* per peer max messages in flight */
-        u32             mxcrm_eager_size;               /* size of preposted eager messages */
-} WIRE_ATTR kmx_connreq_msg_t;
-
-typedef struct kmx_eager_msg
-{
-        lnet_hdr_t      mxem_hdr;                       /* lnet header */
-        char            mxem_payload[0];                /* piggy-backed payload */
-} WIRE_ATTR kmx_eager_msg_t;
-
-typedef struct kmx_putreq_msg
-{
-        lnet_hdr_t      mxprm_hdr;                      /* lnet header */
-        u64             mxprm_cookie;                   /* opaque completion cookie */
-} WIRE_ATTR kmx_putreq_msg_t;
-
-typedef struct kmx_putack_msg
-{
-        u64             mxpam_src_cookie;               /* reflected completion cookie */
-        u64             mxpam_dst_cookie;               /* opaque completion cookie */
-} WIRE_ATTR kmx_putack_msg_t;
-
-typedef struct kmx_getreq_msg
-{
-        lnet_hdr_t      mxgrm_hdr;                      /* lnet header */
-        u64             mxgrm_cookie;                   /* opaque completion cookie */
-} WIRE_ATTR kmx_getreq_msg_t;
-
-typedef struct kmx_msg
-{
-        /* First two fields fixed for all time */
-        u32             mxm_magic;                      /* MXLND message */
-        u16             mxm_version;                    /* version number */
-
-        u8              mxm_type;                       /* message type */
-        u8              mxm_credits;                    /* returned credits */
-        u32             mxm_nob;                        /* # of bytes in whole message */
-        u32             mxm_cksum;                      /* checksum (0 == no checksum) */
-        u64             mxm_srcnid;                     /* sender's NID */
-        u64             mxm_srcstamp;                   /* sender's incarnation */
-        u64             mxm_dstnid;                     /* destination's NID */
-        u64             mxm_dststamp;                   /* destination's incarnation */
-        u64             mxm_seq;                        /* sequence number */
-
-        union {
-                kmx_connreq_msg_t       conn_req;
-                kmx_eager_msg_t         eager;
-                kmx_putreq_msg_t        put_req;
-                kmx_putack_msg_t        put_ack;
-                kmx_getreq_msg_t        get_req;
-        } WIRE_ATTR mxm_u;
-} WIRE_ATTR kmx_msg_t;
-
-#define MXLND_MSG_MAGIC         0x4d583130              /* unique magic 'MX10' */
-#define MXLND_MSG_VERSION       0x01
-
-#define MXLND_MSG_CONN_REQ      0xc                     /* connection request */
-#define MXLND_MSG_CONN_ACK      0xa                     /* connection request response */
-#define MXLND_MSG_EAGER         0xe                     /* eager message */
-#define MXLND_MSG_NOOP          0x1                     /* no msg, return credits */
-#define MXLND_MSG_PUT_REQ       0x2                     /* put request src->sink */
-#define MXLND_MSG_PUT_ACK       0x3                     /* put ack     src<-sink */
-#define MXLND_MSG_PUT_DATA      0x4                     /* put payload src->sink */
-#define MXLND_MSG_GET_REQ       0x5                     /* get request sink->src */
-#define MXLND_MSG_GET_DATA      0x6                     /* get payload sink<-src */