net/hns3: support fixed link speed
[dpdk.git] / lib / librte_eal / freebsd / eal_memory.c
index b8b337a..78ac142 100644 (file)
@@ -173,8 +173,8 @@ rte_eal_hugepage_init(void)
                        }
                        if (msl_idx == RTE_MAX_MEMSEG_LISTS) {
                                RTE_LOG(ERR, EAL, "Could not find space for memseg. Please increase %s and/or %s in configuration.\n",
-                                       RTE_STR(CONFIG_RTE_MAX_MEMSEG_PER_TYPE),
-                                       RTE_STR(CONFIG_RTE_MAX_MEM_PER_TYPE));
+                                       RTE_STR(RTE_MAX_MEMSEG_PER_TYPE),
+                                       RTE_STR(RTE_MAX_MEM_MB_PER_TYPE));
                                return -1;
                        }
                        arr = &msl->memseg_arr;
@@ -405,7 +405,7 @@ memseg_primary_init(void)
                        if (msl_idx >= RTE_MAX_MEMSEG_LISTS) {
                                RTE_LOG(ERR, EAL,
                                        "No more space in memseg lists, please increase %s\n",
-                                       RTE_STR(CONFIG_RTE_MAX_MEMSEG_LISTS));
+                                       RTE_STR(RTE_MAX_MEMSEG_LISTS));
                                return -1;
                        }