From 4dbee2abb832006825f8bc55bca9ff30a98e9383 Mon Sep 17 00:00:00 2001 From: Jim Mott Date: Fri, 2 Nov 2007 19:50:31 -0700 Subject: [PATCH] SDP - Make bzcopy defualt for 2K and larger transfer size In order to be sure we test the new bzcopy code it will be enabled by default. The 2K threshold is what my testing shows to be the lowest value that always wins. We may have to adjust this upward if other hardware has worse performance. Signed-off-by: Jim Mott --- drivers/infiniband/ulp/sdp/sdp_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/ulp/sdp/sdp_main.c b/drivers/infiniband/ulp/sdp/sdp_main.c index f0b8703e3dfd..d1eb6ab6b37c 100644 --- a/drivers/infiniband/ulp/sdp/sdp_main.c +++ b/drivers/infiniband/ulp/sdp/sdp_main.c @@ -141,7 +141,7 @@ static unsigned int sdp_keepalive_time = SDP_KEEPALIVE_TIME; module_param_named(sdp_keepalive_time, sdp_keepalive_time, uint, 0644); MODULE_PARM_DESC(sdp_keepalive_time, "Default idle time in seconds before keepalive probe sent."); -static int sdp_zcopy_thresh = 0; +static int sdp_zcopy_thresh = 2048; module_param_named(sdp_zcopy_thresh, sdp_zcopy_thresh, int, 0644); MODULE_PARM_DESC(sdp_zcopy_thresh, "Zero copy send threshold; 0=0ff."); -- 2.50.1