From patchwork Wed Nov 15 11:06:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ales Musil X-Patchwork-Id: 1864190 X-Patchwork-Delegate: dceara@redhat.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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=BuldB7Ok; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SVgND1cCFz1yRV for ; Wed, 15 Nov 2023 22:06:50 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id E58B78208F; Wed, 15 Nov 2023 11:06:47 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org E58B78208F Authentication-Results: smtp1.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=BuldB7Ok X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GfUQUW2LQAlC; Wed, 15 Nov 2023 11:06:47 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp1.osuosl.org (Postfix) with ESMTPS id 181AF81B01; Wed, 15 Nov 2023 11:06:46 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 181AF81B01 Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id E844BC0039; Wed, 15 Nov 2023 11:06:45 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 28C41C0032 for ; Wed, 15 Nov 2023 11:06:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id F19D641FF0 for ; Wed, 15 Nov 2023 11:06:43 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org F19D641FF0 Authentication-Results: smtp4.osuosl.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=BuldB7Ok X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 85imkCnHiVyC for ; Wed, 15 Nov 2023 11:06:41 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by smtp4.osuosl.org (Postfix) with ESMTPS id 493EA41F5A for ; Wed, 15 Nov 2023 11:06:41 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 493EA41F5A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700046400; 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; bh=DFxZyNik2rpg2UqZx+1nwABh4fOYGH0+fcLrZy0Lnsk=; b=BuldB7Ok9gAIvu65Np9f4CxTJMWxfE9t18xDtAHLEWbdmJhWg4ksQ6BIo7z6pEYOaSkrYU Y8giIGsvgvnCkDm15sMFrD7RzbOJ5dgRAoBg3lQpktLfiJdBIoa83IWJSbqDHC5tMNs5tm SvjswlMHIMDnapAO7IXbWvjm2475uwU= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-275-nPXHZ0cpNeKHjFmBHmKGDw-1; Wed, 15 Nov 2023 06:06:36 -0500 X-MC-Unique: nPXHZ0cpNeKHjFmBHmKGDw-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 921B7185A78F; Wed, 15 Nov 2023 11:06:36 +0000 (UTC) Received: from amusil.redhat.com (unknown [10.45.226.1]) by smtp.corp.redhat.com (Postfix) with ESMTP id 71C0B492BFD; Wed, 15 Nov 2023 11:06:35 +0000 (UTC) From: Ales Musil To: dev@openvswitch.org Date: Wed, 15 Nov 2023 12:06:34 +0100 Message-ID: <20231115110634.41374-1-amusil@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Cc: odivlad@gmail.com, dceara@redhat.com Subject: [ovs-dev] [PATCH ovn] controller: Disable inactivity probe for statctrl 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" The inactivity probe was disabled for all connections over unix socket [0]. However, the statctrl connection wasn't updated by this patch. Remove the inactivity probe from statctrl connection as well. [0] c16e5da80383 ("controller: disable OpenFlow inactivity probing") Signed-off-by: Ales Musil Acked-by: Vladislav Odintsov > Acked-by: Mark Michelson --- controller/statctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/statctrl.c b/controller/statctrl.c index cb1545cbb..8cce97df8 100644 --- a/controller/statctrl.c +++ b/controller/statctrl.c @@ -233,7 +233,7 @@ statctrl_thread_handler(void *arg) struct statctrl_ctx *ctx = arg; /* OpenFlow connection to the switch. */ - struct rconn *swconn = rconn_create(5, 0, DSCP_DEFAULT, + struct rconn *swconn = rconn_create(0, 0, DSCP_DEFAULT, 1 << OFP15_VERSION); while (!latch_is_set(&ctx->exit_latch)) {