From: Arlin Davis Date: Thu, 9 Oct 2014 22:21:02 +0000 (-0700) Subject: mpxyd: set global seg_sz to 128KB for proxy data service X-Git-Tag: dapl-2.1.3~11 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=5ac3c9342f57bf1cadbf9d97065eabb9be36f14c;p=~ardavis%2Fdapl.git mpxyd: set global seg_sz to 128KB for proxy data service Signed-off-by: Arlin Davis --- diff --git a/dapl/openib_common/dapl_mic_common.h b/dapl/openib_common/dapl_mic_common.h index 1f5ab86..4ce09a3 100755 --- a/dapl/openib_common/dapl_mic_common.h +++ b/dapl/openib_common/dapl_mic_common.h @@ -57,6 +57,7 @@ #define DAT_MCM_UD_QKEY 0x78655322 #define DAT_MCM_PDATA_SIZE 64 #define DAT_MCM_PROXY_DATA 40 +#define DAT_MCM_SEG_PO2 17 #define ALIGN_64(o) ((o + 64 - 1) & ~(64-1)) #define ALIGN_P64(o) ((((uintptr_t)o) + 64 - 1)& ~(64-1)) diff --git a/dapl/svc/mpxyd.c b/dapl/svc/mpxyd.c index bdc6896..afabacf 100644 --- a/dapl/svc/mpxyd.c +++ b/dapl/svc/mpxyd.c @@ -34,7 +34,7 @@ short scif_sport = SCIF_OFED_PORT_8; int scif_listen_qlen = 240; int mix_buffer_mb = 32; int mix_buffer_sg = 131072; -int mix_buffer_sg_po2 = 17; /* 128 KB */ +int mix_buffer_sg_po2 = DAT_MCM_SEG_PO2; /* 128 KB */ int mcm_set_priority = 0; /* set to SCHED_FIFO */ int mcm_affinity = 1; int mcm_affinity_base_mic = 0;