Message ID | 1563698063-28256-3-git-send-email-roid@mellanox.com |
---|---|
State | Accepted |
Commit | 48983050227d38e25de035ca248cb61177073fa8 |
Headers | show |
Series | be able to tune revalidator timing | expand |
diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c index b3598742b4d1..00c8e6ddcfaa 100644 --- a/ofproto/ofproto-dpif-upcall.c +++ b/ofproto/ofproto-dpif-upcall.c @@ -2040,7 +2040,7 @@ should_revalidate(const struct udpif *udpif, uint64_t packets, return true; } - if (udpif->dump_duration < 200) { + if (udpif->dump_duration < ofproto_max_revalidator / 2) { /* We are likely to handle full revalidation for the flows. */ return true; }