From patchwork Fri Nov 4 07:57:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ales Musil X-Patchwork-Id: 1699364 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=EQU1Ic7z; dkim-atps=neutral Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4N3Xzp1pTyz23lK for ; Fri, 4 Nov 2022 18:57:58 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 53BE861067; Fri, 4 Nov 2022 07:57:56 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 53BE861067 Authentication-Results: smtp3.osuosl.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=EQU1Ic7z X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11S1laMXapAT; Fri, 4 Nov 2022 07:57:55 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp3.osuosl.org (Postfix) with ESMTPS id DE3946108E; Fri, 4 Nov 2022 07:57:53 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org DE3946108E Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id A872AC0082; Fri, 4 Nov 2022 07:57:52 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 0A58DC0032 for ; Fri, 4 Nov 2022 07:57:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 654BE40BFF for ; Fri, 4 Nov 2022 07:57:46 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 654BE40BFF Authentication-Results: smtp2.osuosl.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=EQU1Ic7z X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fLRoyBC_W2Ve for ; Fri, 4 Nov 2022 07:57:45 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 8581D40C00 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by smtp2.osuosl.org (Postfix) with ESMTPS id 8581D40C00 for ; Fri, 4 Nov 2022 07:57:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1667548663; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=S/ve7y3RTAwHAp6SnEiVZc4b3ckJTnVlLkVrFLrK/ro=; b=EQU1Ic7zonKdk8LoVDkx+r3xbT0TG5c65ovkeHigWcjhwUIJWezB4DF2C4P+E8wbV2lqRg A0u1/dqvayHjG0LxRDHcwJlatQXpjPLG942cIkPiCf9O/Gi0Pq4Opv7nvXro3TFbuPWWzc wztaRMUqGBL55OyQTp9eh7PZrlhCURU= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-642-2QbR3QdYMIW2rY0_I087Cw-1; Fri, 04 Nov 2022 03:57:42 -0400 X-MC-Unique: 2QbR3QdYMIW2rY0_I087Cw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2AF2A1C004FD for ; Fri, 4 Nov 2022 07:57:42 +0000 (UTC) Received: from amusil.redhat.com (ovpn-192-80.brq.redhat.com [10.40.192.80]) by smtp.corp.redhat.com (Postfix) with ESMTP id DC0A0C16932; Fri, 4 Nov 2022 07:57:40 +0000 (UTC) From: Ales Musil To: dev@openvswitch.org Date: Fri, 4 Nov 2022 08:57:28 +0100 Message-Id: <20221104075729.219169-7-amusil@redhat.com> In-Reply-To: <20221104075729.219169-1-amusil@redhat.com> References: <20221104075729.219169-1-amusil@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Cc: Dumitru Ceara Subject: [ovs-dev] [PATCH ovn v2 7/8] northd: Increase the MAC binding removal delay X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" Reported-at: https://bugzilla.redhat.com/2084668 Signed-off-by: Ales Musil Acked-by: Dumitru Ceara Signed-off-by: Mark Michelson --- northd/mac-binding-aging.c | 2 +- ovn-nb.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/northd/mac-binding-aging.c b/northd/mac-binding-aging.c index 4a2dfbbf8..0196a116b 100644 --- a/northd/mac-binding-aging.c +++ b/northd/mac-binding-aging.c @@ -28,7 +28,7 @@ VLOG_DEFINE_THIS_MODULE(mac_binding_aging); -#define MAC_BINDING_BULK_REMOVAL_DELAY_MSEC 10 +#define MAC_BINDING_BULK_REMOVAL_DELAY_MSEC 5000 struct mac_binding_waker { bool should_schedule; diff --git a/ovn-nb.xml b/ovn-nb.xml index 2747b0a7d..8aa125093 100644 --- a/ovn-nb.xml +++ b/ovn-nb.xml @@ -167,7 +167,7 @@ MAC binding aging bulk removal limit. This limits how many rows can expire in a single transaction. Default value is 0 which is unlimited. When we hit the limit next batch removal is delayed by - 10 ms. + 5 s.