From 27cb633df6c9fa9113a858dceb9528f2524c425d Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Thu, 10 Dec 2020 20:43:11 -0300 Subject: [PATCH] isisd: remove two overly verbose LFA debug messages These two debug messages are so verbose to a point they impact performance when testing RLFA/TI-LFA on large-scale networks. Remove them since they aren't really useful. Signed-off-by: Renato Westphal --- isisd/isis_lfa.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/isisd/isis_lfa.c b/isisd/isis_lfa.c index 7137c71a37..5b3a3827a2 100644 --- a/isisd/isis_lfa.c +++ b/isisd/isis_lfa.c @@ -988,13 +988,6 @@ static bool vertex_is_affected(struct isis_spftree *spftree_root, struct isis_vertex *vertex_child; struct isis_vertex_adj *vadj; bool reverse = false; - char buf1[VID2STR_BUFFER]; - char buf2[VID2STR_BUFFER]; - - if (IS_DEBUG_LFA) - zlog_debug("ISIS-LFA: vertex %s parent %s", - vid2string(vertex, buf1, sizeof(buf1)), - vid2string(pvertex, buf2, sizeof(buf2))); if (p_space && resource->type == LFA_NODE_PROTECTION) { if (isis_spf_node_find(&resource->nodes, vertex->N.id)) @@ -1069,10 +1062,6 @@ static void lfa_calc_reach_nodes(struct isis_spftree *spftree, if (isis_spf_node_find(nodes, vertex->N.id)) continue; - if (IS_DEBUG_LFA) - zlog_debug("ISIS-LFA: checking %s", - vid2string(vertex, buf, sizeof(buf))); - if (!vertex_is_affected(spftree_root, adj_nodes, p_space, vertex, resource)) { if (IS_DEBUG_LFA) -- 2.39.5