{"id":2235223,"url":"http://patchwork.ozlabs.org/api/1.2/patches/2235223/?format=json","web_url":"http://patchwork.ozlabs.org/project/openvswitch/patch/dda08d2d75ef93bbda5f17c7108e39a62a5c0a84.1778261956.git.tredaelli@redhat.com/","project":{"id":47,"url":"http://patchwork.ozlabs.org/api/1.2/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","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<dda08d2d75ef93bbda5f17c7108e39a62a5c0a84.1778261956.git.tredaelli@redhat.com>","list_archive_url":null,"date":"2026-05-08T22:08:33","name":"[ovs-dev,v3,1/6] lib/packets: Remove flow_tnl_equal.","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"e15ffdf8f7abb14dc696f30f4afcd58d3a865179","submitter":{"id":70949,"url":"http://patchwork.ozlabs.org/api/1.2/people/70949/?format=json","name":"Timothy Redaelli","email":"tredaelli@redhat.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/openvswitch/patch/dda08d2d75ef93bbda5f17c7108e39a62a5c0a84.1778261956.git.tredaelli@redhat.com/mbox/","series":[{"id":503454,"url":"http://patchwork.ozlabs.org/api/1.2/series/503454/?format=json","web_url":"http://patchwork.ozlabs.org/project/openvswitch/list/?series=503454","date":"2026-05-08T22:08:32","name":"libopenvswitch: Restructure the massive OVS library into two parts.","version":3,"mbox":"http://patchwork.ozlabs.org/series/503454/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2235223/comments/","check":"success","checks":"http://patchwork.ozlabs.org/api/patches/2235223/checks/","tags":{},"related":[],"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=SSeHS5Lk;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=2605:bc80:3010::133; helo=smtp2.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org)","smtp2.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=SSeHS5Lk","smtp2.osuosl.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com"],"Received":["from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133])\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 4gC3Fj6c5Nz1yCg\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 09 May 2026 08:10:01 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby smtp2.osuosl.org (Postfix) with ESMTP id 1AB004130A;\n\tFri,  8 May 2026 22:10:00 +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 1PmEELTOooy3; Fri,  8 May 2026 22:09:58 +0000 (UTC)","from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56])\n\tby smtp2.osuosl.org (Postfix) with ESMTPS id AF6F0412F2;\n\tFri,  8 May 2026 22:09:58 +0000 (UTC)","from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id 989DBC04EB;\n\tFri,  8 May 2026 22:09:58 +0000 (UTC)","from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133])\n by lists.linuxfoundation.org (Postfix) with ESMTP id EB1F0C04ED\n for <dev@openvswitch.org>; Fri,  8 May 2026 22:09:56 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id C577A412DA\n for <dev@openvswitch.org>; Fri,  8 May 2026 22:09:56 +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 I6H9DpDs0Pjy for <dev@openvswitch.org>;\n Fri,  8 May 2026 22:09:56 +0000 (UTC)","from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by smtp2.osuosl.org (Postfix) with ESMTPS id AEC38412D9\n for <dev@openvswitch.org>; Fri,  8 May 2026 22:09:55 +0000 (UTC)","from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-12-kEizlfBCPZ2sciUJMSCRkA-1; Fri,\n 08 May 2026 18:09:53 -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-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 3B5FE19560B7\n for <dev@openvswitch.org>; Fri,  8 May 2026 22:09:52 +0000 (UTC)","from aldebaran.netbird.cloud (unknown [10.44.32.34])\n by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 1A5A93002D30; Fri,  8 May 2026 22:09:50 +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 smtp2.osuosl.org AF6F0412F2","OpenDKIM Filter v2.11.0 smtp2.osuosl.org AEC38412D9"],"Received-SPF":"Pass (mailfrom) identity=mailfrom; client-ip=170.10.133.124;\n helo=us-smtp-delivery-124.mimecast.com; envelope-from=tredaelli@redhat.com;\n receiver=<UNKNOWN>","DMARC-Filter":"OpenDMARC Filter v1.4.2 smtp2.osuosl.org AEC38412D9","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1778278194;\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=fHKhd0fYsyj6sxv2N8XBYaDhd7BVT9wEwCogvYacVLI=;\n b=SSeHS5Lk0dsoTzuRQE1eVieSviq9INjhXCQqojsu9rGrKDzv5ZKyCsuc+TlKsKXPzZxdYX\n DxDSuEzLYORcCD3MYbG4WemtvAqeXD2AK05Ac33deLQvmZSheiIiIokWTntmuXXUPgnXgH\n siWA67sUkwAEpgeVuDqJ6O5wirriB1U=","X-MC-Unique":"kEizlfBCPZ2sciUJMSCRkA-1","X-Mimecast-MFC-AGG-ID":"kEizlfBCPZ2sciUJMSCRkA_1778278192","To":"dev@openvswitch.org","Date":"Sat,  9 May 2026 00:08:33 +0200","Message-ID":"\n <dda08d2d75ef93bbda5f17c7108e39a62a5c0a84.1778261956.git.tredaelli@redhat.com>","In-Reply-To":"<cover.1778261956.git.tredaelli@redhat.com>","References":"<cover.1778261956.git.tredaelli@redhat.com>","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":"gWCy-wVOUmgAddCViGTkygL_Rd-3H4hjoo1y_GL2wcY_1778278192","X-Mimecast-Originator":"redhat.com","Subject":"[ovs-dev] [PATCH v3 1/6] 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":"Since 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","v3","1/6"]}