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 <renato@opensourcerouting.org>
This commit is contained in:
Renato Westphal 2020-12-10 20:43:11 -03:00
parent 816c583f27
commit 27cb633df6

View File

@ -988,13 +988,6 @@ static bool vertex_is_affected(struct isis_spftree *spftree_root,
struct isis_vertex *vertex_child; struct isis_vertex *vertex_child;
struct isis_vertex_adj *vadj; struct isis_vertex_adj *vadj;
bool reverse = false; 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 (p_space && resource->type == LFA_NODE_PROTECTION) {
if (isis_spf_node_find(&resource->nodes, vertex->N.id)) 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)) if (isis_spf_node_find(nodes, vertex->N.id))
continue; 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, if (!vertex_is_affected(spftree_root, adj_nodes, p_space,
vertex, resource)) { vertex, resource)) {
if (IS_DEBUG_LFA) if (IS_DEBUG_LFA)