Whamcloud - gitweb
* Moved PTL_{MTU,_MD_MAX_IOV) into types.h
authoreeb <eeb>
Thu, 15 Sep 2005 08:54:50 +0000 (08:54 +0000)
committereeb <eeb>
Thu, 15 Sep 2005 08:54:50 +0000 (08:54 +0000)
*  Removed ref in lustre_net.h to lib-types.h and simplified how
   PTLRPC_MAX_BRW_{SIZE,PAGES} are defined.

lnet/include/lnet/lib-types.h
lnet/include/lnet/types.h

index c18011f..0a5a6f7 100644 (file)
@@ -120,10 +120,6 @@ typedef struct {
 #define PTL_PROTO_TCP_VERSION_MAJOR        1
 #define PTL_PROTO_TCP_VERSION_MINOR        0
 
-/* limit on the number of entries in discontiguous MDs */
-#define PTL_MTU        (1<<20)
-#define PTL_MD_MAX_IOV 256
-
 /* Acceptor connection request */
 typedef struct {
         __u32       acr_magic;                  /* PTL_ACCEPTOR_PROTO_MAGIC */
index cf51195..de2ca2d 100644 (file)
@@ -56,6 +56,11 @@ typedef struct {
         lnet_handle_eq_t eq_handle;
 } lnet_md_t;
 
+/* Max message size */
+#define PTL_MTU        (1<<20)
+/* limit on the number of entries in discontiguous MDs */
+#define PTL_MD_MAX_IOV 256
+
 /* Options for the MD structure */
 #define LNET_MD_OP_PUT               (1 << 0)
 #define LNET_MD_OP_GET               (1 << 1)