From 3b57ae2e0a790411ae5a6f45b3fb447e29b76779 Mon Sep 17 00:00:00 2001 From: eeb Date: Sun, 25 Sep 2005 18:31:01 +0000 Subject: [PATCH] * fixed typo PTLLND_MSG_TYPE_PUT --- lnet/klnds/ptllnd/ptllnd.c | 4 ++-- lnet/klnds/ptllnd/ptllnd_cb.c | 6 +++--- lnet/klnds/ptllnd/ptllnd_peer.c | 4 ++-- lnet/klnds/ptllnd/ptllnd_rx_buf.c | 4 ++-- lnet/klnds/ptllnd/wirecheck.c | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lnet/klnds/ptllnd/ptllnd.c b/lnet/klnds/ptllnd/ptllnd.c index e46de19..88d83a2 100755 --- a/lnet/klnds/ptllnd/ptllnd.c +++ b/lnet/klnds/ptllnd/ptllnd.c @@ -168,7 +168,7 @@ kptllnd_msg_unpack(kptl_msg_t *msg, int nob,kptl_data_t *kptllnd_data) switch(msg->ptlm_type) { - case PLTLND_MSG_TYPE_PUT: + case PTLLND_MSG_TYPE_PUT: case PTLLND_MSG_TYPE_GET: __swab64s(&msg->ptlm_u.req.kptlrm_matchbits); break; @@ -759,7 +759,7 @@ const char *get_msg_type_string(int type) switch(type) { DO_TYPE(PTLLND_MSG_TYPE_INVALID); - DO_TYPE(PLTLND_MSG_TYPE_PUT); + DO_TYPE(PTLLND_MSG_TYPE_PUT); DO_TYPE(PTLLND_MSG_TYPE_GET); DO_TYPE(PTLLND_MSG_TYPE_IMMEDIATE); DO_TYPE(PTLLND_MSG_TYPE_HELLO); diff --git a/lnet/klnds/ptllnd/ptllnd_cb.c b/lnet/klnds/ptllnd/ptllnd_cb.c index 9946667..f6a3207d 100644 --- a/lnet/klnds/ptllnd/ptllnd_cb.c +++ b/lnet/klnds/ptllnd/ptllnd_cb.c @@ -390,7 +390,7 @@ kptllnd_do_put( tx->tx_msg->ptlm_u.req.kptlrm_hdr = lntmsg->msg_hdr; kptllnd_init_msg (tx->tx_msg, - PLTLND_MSG_TYPE_PUT, + PTLLND_MSG_TYPE_PUT, sizeof(kptl_request_msg_t)); kptllnd_tx_launch(tx, lntmsg->msg_target.nid,lntmsg); } @@ -769,8 +769,8 @@ int kptllnd_recv (lnet_ni_t *ni, void *private, lnet_msg_t *lntmsg, int delayed, rc = 0; break; - case PLTLND_MSG_TYPE_PUT: - PJK_UT_MSG_DATA("PLTLND_MSG_TYPE_PUT\n"); + case PTLLND_MSG_TYPE_PUT: + PJK_UT_MSG_DATA("PTLLND_MSG_TYPE_PUT\n"); if (mlen == 0) { /* No payload */ lnet_finalize(ni, lntmsg, 0); diff --git a/lnet/klnds/ptllnd/ptllnd_peer.c b/lnet/klnds/ptllnd/ptllnd_peer.c index d20fe63..2986912 100644 --- a/lnet/klnds/ptllnd/ptllnd_peer.c +++ b/lnet/klnds/ptllnd/ptllnd_peer.c @@ -579,7 +579,7 @@ kptllnd_peer_check_sends ( /* * Assign matchbits for a put/get */ - if(tx->tx_msg->ptlm_type == PLTLND_MSG_TYPE_PUT || + if(tx->tx_msg->ptlm_type == PTLLND_MSG_TYPE_PUT || tx->tx_msg->ptlm_type == PTLLND_MSG_TYPE_GET){ PJK_UT_MSG_DATA("next matchbits="LPX64" (before)\n", @@ -661,7 +661,7 @@ kptllnd_peer_check_sends ( PJK_UT_MSG("ptl TX nid=" LPX64 "\n",target.nid); if(tx->tx_msg->ptlm_type == PTLLND_MSG_TYPE_GET || - tx->tx_msg->ptlm_type == PLTLND_MSG_TYPE_PUT){ + tx->tx_msg->ptlm_type == PTLLND_MSG_TYPE_PUT){ tempiov_t tempiov; PJK_UT_MSG_DATA("matchibts=" LPX64 "\n", diff --git a/lnet/klnds/ptllnd/ptllnd_rx_buf.c b/lnet/klnds/ptllnd/ptllnd_rx_buf.c index e59681d..1e96a00 100644 --- a/lnet/klnds/ptllnd/ptllnd_rx_buf.c +++ b/lnet/klnds/ptllnd/ptllnd_rx_buf.c @@ -728,10 +728,10 @@ kptllnd_rx_scheduler_handler(kptl_rx_t *rx) rx = 0; break; - case PLTLND_MSG_TYPE_PUT: + case PTLLND_MSG_TYPE_PUT: case PTLLND_MSG_TYPE_GET: PJK_UT_MSG("PTLLND_MSG_TYPE_%s\n", - msg->ptlm_type == PLTLND_MSG_TYPE_PUT ? + msg->ptlm_type == PTLLND_MSG_TYPE_PUT ? "PUT" : "GET"); /* diff --git a/lnet/klnds/ptllnd/wirecheck.c b/lnet/klnds/ptllnd/wirecheck.c index e40a043..65ef2db 100644 --- a/lnet/klnds/ptllnd/wirecheck.c +++ b/lnet/klnds/ptllnd/wirecheck.c @@ -143,7 +143,7 @@ main (int argc, char **argv) CHECK_DEFINE (PTLLND_MSG_VERSION); CHECK_DEFINE (PTLLND_MSG_TYPE_INVALID); - CHECK_DEFINE (PLTLND_MSG_TYPE_PUT); + CHECK_DEFINE (PTLLND_MSG_TYPE_PUT); CHECK_DEFINE (PTLLND_MSG_TYPE_GET); CHECK_DEFINE (PTLLND_MSG_TYPE_IMMEDIATE); CHECK_DEFINE (PTLLND_MSG_TYPE_NOOP); -- 1.8.3.1