[{"id":3686483,"web_url":"http://patchwork.ozlabs.org/comment/3686483/","msgid":"<f7tfr46uflo.fsf@redhat.com>","list_archive_url":null,"date":"2026-05-05T13:54:11","subject":"Re: [ovs-dev] [PATCH v2 5/5] libs: Introduce libopenvswitchutils to\n isolate common routines.","submitter":{"id":67184,"url":"http://patchwork.ozlabs.org/api/people/67184/","name":"Aaron Conole","email":"aconole@redhat.com"},"content":"Timothy Redaelli via dev <ovs-dev@openvswitch.org> writes:\n\n> When building userspace utilities, having all the symbols and code\n> in a singular library is quite handy.  However, the downside is that\n> sizes will bloat under statically linked conditions.  Additionally,\n> some environments allow library constructors as code which executes\n> before the main executable which would run even for utilities that\n> don't need them.\n>\n> Split the most common code into a separate library that can be used\n> by the ovsdb, appctl, and the openflow + datapath code that gets\n> used by the ofctl, vsctl, dpctl, and vswitchd executables.  Future\n> work could try to split this even further (although, the dependency\n> split in the ofp area might be difficult to untangle).\n>\n> Co-authored-by: Aaron Conole <aconole@redhat.com>\n> Signed-off-by: Aaron Conole <aconole@redhat.com>\n> Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>\n> ---\n\nGithub Robot had an issue with the push; trying it again.\n\nRecheck-request: github-robot","headers":{"Return-Path":"<ovs-dev-bounces@openvswitch.org>","X-Original-To":["incoming@patchwork.ozlabs.org","dev@openvswitch.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","ovs-dev@lists.linuxfoundation.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=cYhRxXj5;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=140.211.166.136; helo=smtp3.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org)","smtp3.osuosl.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key,\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=cYhRxXj5","smtp1.osuosl.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com","smtp1.osuosl.org;\n dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com\n header.a=rsa-sha256 header.s=mimecast20190719 header.b=cYhRxXj5"],"Received":["from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g90PF1cTBz1yJV\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 05 May 2026 23:54:23 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 3E86E6086A;\n\tTue,  5 May 2026 13:54:21 +0000 (UTC)","from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id P5d9qlaY8cgQ; Tue,  5 May 2026 13:54:20 +0000 (UTC)","from lists.linuxfoundation.org (lf-lists.osuosl.org\n [IPv6:2605:bc80:3010:104::8cd3:938])\n\tby smtp3.osuosl.org (Postfix) with ESMTPS id 4D2EC6085F;\n\tTue,  5 May 2026 13:54:20 +0000 (UTC)","from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id 301C0C04EA;\n\tTue,  5 May 2026 13:54:20 +0000 (UTC)","from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n by lists.linuxfoundation.org (Postfix) with ESMTP id EEDF7C04E9\n for <dev@openvswitch.org>; Tue,  5 May 2026 13:54:18 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id ECF828125D\n for <dev@openvswitch.org>; Tue,  5 May 2026 13:54:18 +0000 (UTC)","from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id 8XP5KKTPmi13 for <dev@openvswitch.org>;\n Tue,  5 May 2026 13:54:18 +0000 (UTC)","from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by smtp1.osuosl.org (Postfix) with ESMTPS id E271781219\n for <dev@openvswitch.org>; Tue,  5 May 2026 13:54:17 +0000 (UTC)","from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-563-Ira2MOJrOkmUEHM-lXIJjg-1; Tue,\n 05 May 2026 09:54:15 -0400","from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id B2BA41800623; Tue,  5 May 2026 13:54:13 +0000 (UTC)","from RHTRH0061144 (unknown [10.22.64.157])\n by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with\n ESMTPS\n id 0504F30001BE; Tue,  5 May 2026 13:54:12 +0000 (UTC)"],"X-Virus-Scanned":["amavis at osuosl.org","amavis at osuosl.org"],"X-Comment":"SPF check N/A for local connections -\n client-ip=2605:bc80:3010:104::8cd3:938; helo=lists.linuxfoundation.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN> ","DKIM-Filter":["OpenDKIM Filter v2.11.0 smtp3.osuosl.org 4D2EC6085F","OpenDKIM Filter v2.11.0 smtp1.osuosl.org E271781219"],"Received-SPF":"Pass (mailfrom) identity=mailfrom; client-ip=170.10.129.124;\n helo=us-smtp-delivery-124.mimecast.com; envelope-from=aconole@redhat.com;\n receiver=<UNKNOWN>","DMARC-Filter":"OpenDMARC Filter v1.4.2 smtp1.osuosl.org E271781219","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1777989256;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=pCP18QIX6zcVSxCuRJCnY0Dxhz3NjTZnkIWtOGIMtok=;\n b=cYhRxXj5RS7Nr6pMBk6JiICwSJzWBWMp95QxLrdWjiGzTL6bMtqrVhsIWgLDCsZ5TBlkLr\n ImVVgACHTU7qjxLOBUAANA7hX4WiVBcKM3myZvncS2l7BTdLpiF5atRnBM4rFQQ4614FBN\n LPeksuNtgAKqxIHfstCUJnm7cG/bUao=","X-MC-Unique":"Ira2MOJrOkmUEHM-lXIJjg-1","X-Mimecast-MFC-AGG-ID":"Ira2MOJrOkmUEHM-lXIJjg_1777989253","To":"Timothy Redaelli via dev <ovs-dev@openvswitch.org>","In-Reply-To":"\n <fb05a7394814bb2ca131bc35b54b8eb267e86977.1777902424.git.tredaelli@redhat.com>\n (Timothy Redaelli via dev's message of \"Mon, 4 May 2026 17:24:17\n +0200\")","References":"<cover.1777902424.git.tredaelli@redhat.com>\n <fb05a7394814bb2ca131bc35b54b8eb267e86977.1777902424.git.tredaelli@redhat.com>","Date":"Tue, 05 May 2026 09:54:11 -0400","Message-ID":"<f7tfr46uflo.fsf@redhat.com>","User-Agent":"Gnus/5.13 (Gnus v5.13)","MIME-Version":"1.0","X-Scanned-By":"MIMEDefang 3.4.1 on 10.30.177.4","X-Mimecast-Spam-Score":"0","X-Mimecast-MFC-PROC-ID":"XtWE7HnSQUOfWFX0_S_Npdc2mZ2UzPBNFJDfJ8zOKHg_1777989253","X-Mimecast-Originator":"redhat.com","Subject":"Re: [ovs-dev] [PATCH v2 5/5] libs: Introduce libopenvswitchutils to\n isolate common routines.","X-BeenThere":"ovs-dev@openvswitch.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"<ovs-dev.openvswitch.org>","List-Unsubscribe":"<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>","List-Archive":"<http://mail.openvswitch.org/pipermail/ovs-dev/>","List-Post":"<mailto:ovs-dev@openvswitch.org>","List-Help":"<mailto:ovs-dev-request@openvswitch.org?subject=help>","List-Subscribe":"<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=subscribe>","From":"Aaron Conole via dev <ovs-dev@openvswitch.org>","Reply-To":"Aaron Conole <aconole@redhat.com>","Cc":"dev@openvswitch.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"ovs-dev-bounces@openvswitch.org","Sender":"\"dev\" <ovs-dev-bounces@openvswitch.org>"}}]