]> git.puffer.fish Git - matthieu/frr.git/commitdiff
zebra: Reduce warn -> debug
authorDonald Sharp <sharpd@nvidia.com>
Tue, 1 Dec 2020 00:37:53 +0000 (19:37 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 1 Dec 2020 00:37:53 +0000 (19:37 -0500)
During times of network trauma and when we are at large network scale
the process_remote_macip_add function can issue a zlog_warn for
a common occurrence.  Modify the code to be a debug statement.
This behavior is the same now as the process_remote_macip_del function

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/zebra_evpn.c

index 6722af117cbe6dfba5e052884b2fb165195f39b9..67df841b21a0b40f81a141386ff8d031da7c79d1 100644 (file)
@@ -1364,7 +1364,8 @@ void process_remote_macip_add(vni_t vni, struct ethaddr *macaddr,
        /* Locate EVPN hash entry - expected to exist. */
        zevpn = zebra_evpn_lookup(vni);
        if (!zevpn) {
-               zlog_warn("Unknown VNI %u upon remote MACIP ADD", vni);
+               if (IS_ZEBRA_DEBUG_VXLAN)
+                       zlog_debug("Unknown VNI %u upon remote MACIP ADD", vni);
                return;
        }