diff options
| author | songyanchao <[email protected]> | 2024-04-20 11:34:40 +0000 |
|---|---|---|
| committer | songyanchao <[email protected]> | 2024-04-20 11:34:40 +0000 |
| commit | e1e9d233b5d35579769ae00602398e73383d74eb (patch) | |
| tree | 095f6ea0f6080352dc570f34e7751977008d8c5f /service | |
| parent | e422aa9b8d17a8009a09db1b04ccbd3a976e2427 (diff) | |
🎈 perf: Set nr_max_link_dbs default to 64.
Set nr_max_link_dbs default to 64.
Diffstat (limited to 'service')
| -rw-r--r-- | service/src/node_etherfabric.c | 2 | ||||
| -rw-r--r-- | service/src/node_vwire.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/service/src/node_etherfabric.c b/service/src/node_etherfabric.c index f031fc6..da856b7 100644 --- a/service/src/node_etherfabric.c +++ b/service/src/node_etherfabric.c @@ -371,7 +371,7 @@ int ef_init(struct sc_main * sc) /* Link db ctx create */ uint32_t max_entries; - MESA_load_profile_uint_def(sc->local_cfgfile, "limits", "nr_max_link_dbs", &max_entries, 32); + MESA_load_profile_uint_def(sc->local_cfgfile, "limits", "nr_max_link_dbs", &max_entries, 64); ef_main->link_db_ctx = link_db_create(LINK_DB_TYPE_EF, max_entries); if (ef_main->link_db_ctx == NULL) return RT_ERR; diff --git a/service/src/node_vwire.c b/service/src/node_vwire.c index a680665..5a64e9d 100644 --- a/service/src/node_vwire.c +++ b/service/src/node_vwire.c @@ -610,7 +610,7 @@ int vwire_init(struct sc_main * sc) /* Link db ctx create */ uint32_t max_entries; - MESA_load_profile_uint_def(sc->local_cfgfile, "limits", "nr_max_link_dbs", &max_entries, 32); + MESA_load_profile_uint_def(sc->local_cfgfile, "limits", "nr_max_link_dbs", &max_entries, 64); p_vwire_node_main->link_db_ctx = link_db_create(LINK_DB_TYPE_VWIRE, max_entries); if (p_vwire_node_main->link_db_ctx == NULL) return RT_ERR; |
