]> git.openfabrics.org - ~shefty/ibacm.git/commitdiff
Refresh of add-the-ability-to-preload-the
authorSean Hefty <sean.hefty@intel.com>
Fri, 28 Jun 2013 05:59:56 +0000 (22:59 -0700)
committerSean Hefty <sean.hefty@intel.com>
Fri, 28 Jun 2013 05:59:56 +0000 (22:59 -0700)
src/acm.c

index c64013228362707f241045cb27a8dee4c053f501..d37056cdb90b581ed5e2051473f8749502f07eeb 100644 (file)
--- a/src/acm.c
+++ b/src/acm.c
@@ -3362,10 +3362,10 @@ static void acm_set_options(void)
                        min_mtu = acm_convert_mtu(atoi(value));
                else if (!stricmp("min_rate", opt))
                        min_rate = acm_convert_rate(atoi(value));
-               else if (!stricmp("path_rec_fmt", opt))
-                       path_rec_fmt = acm_convert_path_rec_fmt(value);
-               else if (!stricmp("path_rec_file", opt))
-                       strcpy(path_rec_file, value);
+               else if (!stricmp("route_preload", opt))
+                       route_preload = acm_convert_route_preload(value);
+               else if (!stricmp("route_data_file", opt))
+                       strcpy(route_data_file, value);
        }
 
        fclose(f);
@@ -3389,8 +3389,8 @@ static void acm_log_options(void)
        acm_log(0, "receive depth %d\n", recv_depth);
        acm_log(0, "minimum mtu %d\n", min_mtu);
        acm_log(0, "minimum rate %d\n", min_rate);
-       acm_log(0, "path record format %d\n", path_rec_fmt);
-       acm_log(0, "path record file %s\n", path_rec_file);
+       acm_log(0, "route preload %d\n", route_preload);
+       acm_log(0, "route data file %s\n", route_data_file);
 }
 
 static FILE *acm_open_log(void)