[ovs-dev] [PATCH] ofproto-dpif-upcall: Log the value of flow limit.
Flavio Leitner
fbl at sysclose.org
Tue Sep 15 19:20:57 UTC 2020
The datapath flow limit is calculated by revalidators so
log the value as well.
Signed-off-by: Flavio Leitner <fbl at sysclose.org>
---
ofproto/ofproto-dpif-upcall.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c
index 72a5b4d73..05a912f57 100644
--- a/ofproto/ofproto-dpif-upcall.c
+++ b/ofproto/ofproto-dpif-upcall.c
@@ -1283,7 +1283,8 @@ 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 flow limit reached (max: %u)",
+ flow_limit);
return false;
}
--
2.26.2
More information about the dev
mailing list