{"id":2232480,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2232480/?format=json","web_url":"http://patchwork.ozlabs.org/project/openvswitch/patch/d7f7d654a1ff6bb4ba5b607599d7ad92391f2f4b.1777902424.git.tredaelli@redhat.com/","project":{"id":47,"url":"http://patchwork.ozlabs.org/api/1.1/projects/47/?format=json","name":"Open vSwitch","link_name":"openvswitch","list_id":"ovs-dev.openvswitch.org","list_email":"ovs-dev@openvswitch.org","web_url":"http://openvswitch.org/","scm_url":"git@github.com:openvswitch/ovs.git","webscm_url":"https://github.com/openvswitch/ovs"},"msgid":"<d7f7d654a1ff6bb4ba5b607599d7ad92391f2f4b.1777902424.git.tredaelli@redhat.com>","date":"2026-05-04T15:23:40","name":"[ovs-dev,v2,1/5] lib/packets: Remove flow_tnl_equal.","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"e15ffdf8f7abb14dc696f30f4afcd58d3a865179","submitter":{"id":70949,"url":"http://patchwork.ozlabs.org/api/1.1/people/70949/?format=json","name":"Timothy Redaelli","email":"tredaelli@redhat.com"},"delegate":{"id":57772,"url":"http://patchwork.ozlabs.org/api/1.1/users/57772/?format=json","username":"imaximets","first_name":"Ilya","last_name":"Maximets","email":"i.maximets@samsung.com"},"mbox":"http://patchwork.ozlabs.org/project/openvswitch/patch/d7f7d654a1ff6bb4ba5b607599d7ad92391f2f4b.1777902424.git.tredaelli@redhat.com/mbox/","series":[{"id":502681,"url":"http://patchwork.ozlabs.org/api/1.1/series/502681/?format=json","web_url":"http://patchwork.ozlabs.org/project/openvswitch/list/?series=502681","date":"2026-05-04T15:23:39","name":"libopenvswitch: Restructure the massive OVS library into two parts","version":2,"mbox":"http://patchwork.ozlabs.org/series/502681/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2232480/comments/","check":"warning","checks":"http://patchwork.ozlabs.org/api/patches/2232480/checks/","tags":{},"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=f0ytMO+G;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org)","smtp4.osuosl.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key)\n header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=f0ytMO+G","smtp2.osuosl.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com","smtp2.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=f0ytMO+G"],"Received":["from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\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 4g8QRB0XJ6z1yJV\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 05 May 2026 01:24:06 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id C59D041B64;\n\tMon,  4 May 2026 15:24:03 +0000 (UTC)","from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id kzqKvB4OzxKN; Mon,  4 May 2026 15:24:02 +0000 (UTC)","from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56])\n\tby smtp4.osuosl.org (Postfix) with ESMTPS id CF98341B47;\n\tMon,  4 May 2026 15:24:02 +0000 (UTC)","from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id 80D72C04ED;\n\tMon,  4 May 2026 15:24:02 +0000 (UTC)","from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133])\n by lists.linuxfoundation.org (Postfix) with ESMTP id 02C6AC04EA\n for <dev@openvswitch.org>; Mon,  4 May 2026 15:24:01 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id D1D6640B70\n for <dev@openvswitch.org>; Mon,  4 May 2026 15:24:01 +0000 (UTC)","from smtp2.osuosl.org ([127.0.0.1])\n by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id 0sq_gfyQumIt for <dev@openvswitch.org>;\n Mon,  4 May 2026 15:24:01 +0000 (UTC)","from us-smtp-delivery-224.mimecast.com\n (us-smtp-delivery-224.mimecast.com [170.10.129.224])\n by smtp2.osuosl.org (Postfix) with ESMTPS id C4FA84079C\n for <dev@openvswitch.org>; Mon,  4 May 2026 15:24:00 +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-325-aS5TRU3_PNuyUHuayQj9uA-1; Mon,\n 04 May 2026 11:23:58 -0400","from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17])\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 C5F7D1800352\n for <dev@openvswitch.org>; Mon,  4 May 2026 15:23:57 +0000 (UTC)","from aldebaran.netbird.cloud (unknown [10.44.48.44])\n by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 8D8191944CED; Mon,  4 May 2026 15:23:56 +0000 (UTC)"],"X-Virus-Scanned":["amavis at osuosl.org","amavis at osuosl.org"],"X-Comment":"SPF check N/A for local connections - client-ip=140.211.9.56;\n helo=lists.linuxfoundation.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN> ","DKIM-Filter":["OpenDKIM Filter v2.11.0 smtp4.osuosl.org CF98341B47","OpenDKIM Filter v2.11.0 smtp2.osuosl.org C4FA84079C"],"Received-SPF":"Pass (sender SPF authorized) identity=helo;\n client-ip=170.10.129.224; helo=us-smtp-delivery-224.mimecast.com;\n envelope-from=<>; receiver=<UNKNOWN>","DMARC-Filter":"OpenDMARC Filter v1.4.2 smtp2.osuosl.org C4FA84079C","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1777908239;\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 content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=9zRSjAM5nHDcS57nXGO/rjppwAqB5jF037hcNxG7zEE=;\n b=f0ytMO+GTgTh4+7nYeeMiTsezPxpVEH77Iva0IgZcU5HQnhwiQJKXnYFglUSiO0ef/rblI\n rB0HcxVzCO8BuZ/3cZ+pPtUvADJcXV7wTl8FufEzKAdcldMzQJSKlR8VqlPO7QG8nOzuSQ\n eW3Wi8HZGUbi0re0dfua3x8NQqZKfAI=","X-MC-Unique":"aS5TRU3_PNuyUHuayQj9uA-1","X-Mimecast-MFC-AGG-ID":"aS5TRU3_PNuyUHuayQj9uA_1777908237","To":"dev@openvswitch.org","Date":"Mon,  4 May 2026 17:23:40 +0200","Message-ID":"\n <d7f7d654a1ff6bb4ba5b607599d7ad92391f2f4b.1777902424.git.tredaelli@redhat.com>","In-Reply-To":"<cover.1777902424.git.tredaelli@redhat.com>","References":"<cover.1777902424.git.tredaelli@redhat.com>","MIME-Version":"1.0","X-Scanned-By":"MIMEDefang 3.0 on 10.30.177.17","X-Mimecast-Spam-Score":"0","X-Mimecast-MFC-PROC-ID":"cRyUkNRABJnVR3czdmsqDSupp2B_lroBZZu42Gt7BHE_1777908237","X-Mimecast-Originator":"<>","Subject":"[ovs-dev] [PATCH v2 1/5] lib/packets: Remove flow_tnl_equal.","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":"Timothy Redaelli via dev <ovs-dev@openvswitch.org>","Reply-To":"Timothy Redaelli <tredaelli@redhat.com>","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>"},"content":"From: Timothy Redaelli <tredaelli@redhat.com>\n\nSince 8014f465e272 (\"ofproto-dpif-rid: Always store tunnel metadata.\") there\nhave been no in-tree callers of this function.  Remove it.\n\nCo-authored-by: Aaron Conole <aconole@redhat.com>\nSigned-off-by: Aaron Conole <aconole@redhat.com>\nSigned-off-by: Timothy Redaelli <tredaelli@redhat.com>\n---\n lib/packets.h | 8 --------\n 1 file changed, 8 deletions(-)","diff":"diff --git a/lib/packets.h b/lib/packets.h\nindex 4d680412a..5becdc8cf 100644\n--- a/lib/packets.h\n+++ b/lib/packets.h\n@@ -91,14 +91,6 @@ flow_tnl_copy__(struct flow_tnl *dst, const struct flow_tnl *src)\n     memcpy(dst, src, flow_tnl_size(src));\n }\n \n-static inline bool\n-flow_tnl_equal(const struct flow_tnl *a, const struct flow_tnl *b)\n-{\n-    size_t a_size = flow_tnl_size(a);\n-\n-    return a_size == flow_tnl_size(b) && !memcmp(a, b, a_size);\n-}\n-\n /* Datapath packet metadata */\n struct pkt_metadata {\n PADDED_MEMBERS_CACHELINE_MARKER(CACHE_LINE_SIZE, cacheline0,\n","prefixes":["ovs-dev","v2","1/5"]}