diff options
author | Flavio Leitner <fbl@redhat.com> | 2020-09-29 17:07:31 -0300 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2020-10-08 16:43:21 +0200 |
commit | cade1c4642064f472b9c9796fc4194fbe13a3789 (patch) | |
tree | f4b4d71c2b519424a5e793375362366ae470a075 /ofproto | |
parent | 6edb0dd34082adb02c6f862093343ce6bc7ed5e7 (diff) | |
download | openvswitch-cade1c4642064f472b9c9796fc4194fbe13a3789.tar.gz |
ofproto-dpif-upcall: Log the value of flow limit.
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>
Diffstat (limited to 'ofproto')
-rw-r--r-- | ofproto/ofproto-dpif-upcall.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c index 72a5b4d73..195b01c13 100644 --- a/ofproto/ofproto-dpif-upcall.c +++ b/ofproto/ofproto-dpif-upcall.c @@ -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; } |