]> git.proxmox.com Git - mirror_ovs.git/commitdiff
ofproto-dpif-upcall: Log the value of flow limit.
authorFlavio Leitner <fbl@redhat.com>
Tue, 29 Sep 2020 20:07:31 +0000 (17:07 -0300)
committerIlya Maximets <i.maximets@ovn.org>
Thu, 8 Oct 2020 14:43:21 +0000 (16:43 +0200)
The datapath flow limit is calculated by revalidators so
log the value as well.

Signed-off-by: Flavio Leitner <fbl@redhat.com>
Acked-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
ofproto/ofproto-dpif-upcall.c

index 72a5b4d734f01871489e406afc5dde8f21e9a4bc..195b01c1301cbc0a6de5e67d023bbec26c826675 100644 (file)
@@ -1283,7 +1283,9 @@ should_install_flow(struct udpif *udpif, struct upcall *upcall)
     atomic_read_relaxed(&udpif->flow_limit, &flow_limit);
     if (udpif_get_n_flows(udpif) >= flow_limit) {
         COVERAGE_INC(upcall_flow_limit_hit);
-        VLOG_WARN_RL(&rl, "upcall: datapath flow limit reached");
+        VLOG_WARN_RL(&rl,
+                     "upcall: datapath reached the dynamic limit of %u flows.",
+                     flow_limit);
         return false;
     }