Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2229658/?format=api
{ "id": 2229658, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2229658/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openvswitch/patch/20260428151926.3798626-7-i.maximets@ovn.org/", "project": { "id": 47, "url": "http://patchwork.ozlabs.org/api/1.1/projects/47/?format=api", "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": "<20260428151926.3798626-7-i.maximets@ovn.org>", "date": "2026-04-28T15:19:11", "name": "[ovs-dev,6/6] cpu: Remove now unused module.", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "c01960e6c04be193bc751a5eaa36ac4f37025f24", "submitter": { "id": 76798, "url": "http://patchwork.ozlabs.org/api/1.1/people/76798/?format=api", "name": "Ilya Maximets", "email": "i.maximets@ovn.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/openvswitch/patch/20260428151926.3798626-7-i.maximets@ovn.org/mbox/", "series": [ { "id": 501877, "url": "http://patchwork.ozlabs.org/api/1.1/series/501877/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openvswitch/list/?series=501877", "date": "2026-04-28T15:19:05", "name": "dpif-netdev: Remove deprecated AVX512-based optimizations.", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/501877/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2229658/comments/", "check": "success", "checks": "http://patchwork.ozlabs.org/api/patches/2229658/checks/", "tags": {}, "headers": { "Return-Path": "<ovs-dev-bounces@openvswitch.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "ovs-dev@openvswitch.org" ], "Delivered-To": [ "patchwork-incoming@legolas.ozlabs.org", "ovs-dev@lists.linuxfoundation.org" ], "Authentication-Results": [ "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org)", "smtp1.osuosl.org;\n dmarc=none (p=none dis=none) header.from=ovn.org" ], "Received": [ "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::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 4g4kdL3cMXz1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 01:20:06 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id D7DA561065;\n\tTue, 28 Apr 2026 15:20:04 +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 EJHFH-8gYqYU; Tue, 28 Apr 2026 15:20:02 +0000 (UTC)", "from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56])\n\tby smtp3.osuosl.org (Postfix) with ESMTPS id 411C060E00;\n\tTue, 28 Apr 2026 15:20:01 +0000 (UTC)", "from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id E8B32C058F;\n\tTue, 28 Apr 2026 15:20:00 +0000 (UTC)", "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n by lists.linuxfoundation.org (Postfix) with ESMTP id 17A85C0590\n for <ovs-dev@openvswitch.org>; Tue, 28 Apr 2026 15:19:58 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id 615D481088\n for <ovs-dev@openvswitch.org>; Tue, 28 Apr 2026 15:19:51 +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 nz5_ty0Yil_V for <ovs-dev@openvswitch.org>;\n Tue, 28 Apr 2026 15:19:50 +0000 (UTC)", "from mail-wr1-f66.google.com (mail-wr1-f66.google.com\n [209.85.221.66])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 2B6D080E4E\n for <ovs-dev@openvswitch.org>; Tue, 28 Apr 2026 15:19:50 +0000 (UTC)", "by mail-wr1-f66.google.com with SMTP id\n ffacd0b85a97d-43d73352cf2so9722069f8f.1\n for <ovs-dev@openvswitch.org>; Tue, 28 Apr 2026 08:19:49 -0700 (PDT)", "from im-t490s.redhat.com (89-24-34-32.nat.epc.tmcz.cz.\n [89.24.34.32])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-4463fa89038sm7080967f8f.26.2026.04.28.08.19.47\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 28 Apr 2026 08:19:47 -0700 (PDT)" ], "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 smtp3.osuosl.org 411C060E00", "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 2B6D080E4E" ], "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.66;\n helo=mail-wr1-f66.google.com; envelope-from=i.maximets.ovn@gmail.com;\n receiver=<UNKNOWN>", "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp1.osuosl.org 2B6D080E4E", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777389588; x=1777994388;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=jg3Mq/u3bTCTwAaSYNVxLfy7PUW/Loxus/eFKtB6F40=;\n b=XADcoR+bbYFZC2eKLl3i7n7QXSgi+FumcUOak5Pcw74s2RnVpO4M8RoiTBBCJQEbL8\n tMt/RSkzqEkjU5QT8+fkW3zAdZA6nugmKN+BgRvrV/nWSTqxk4d4CXMcUnaZlUijxnET\n mz5ISHePZ2kWXyApCqcAshG19nwz8tDCJraHraOj9LvG51lAwlsMqkC8aUHTFAnhk3E1\n LAcg7a5tXuO2emZ+1ruoQcmZD6U31z3TTOlrk7t3r9Jq7IqicYyRhD207l1lIY2PWaML\n iqCVzASkAs0XinLlGkkhfDxIm2jdMGYiYKF9+L9kSrc2dCGgRWci0ZRCyRpr0isLHoGM\n kfIw==", "X-Gm-Message-State": "AOJu0YyBiViLH6Pyaos/PEytp0QEME5z30Ttj3RWBZM5Eny8nps1QuPl\n X12MP++m1C/8feqJ983yjKJvS8AiEscRgdiaPbLUYQKCybIh/R4ZPCSZVvfBSqUqg/M=", "X-Gm-Gg": "AeBDieso4J0KCqYmt9qd54p7dbL0/01pgvMbo0Pxc9zomaXr8eUT1zrta7S0801ADVO\n g8PxYJmok9b/eZg94VdtcYuA7x4QgijUiHLI2XeXcPGXtYEQcmFJTvyxIe35fZWZ6Jaoz5iJ53o\n EQj9e+hCAyufHuZZ01GM4sFDF1EyauhIp/S/5D2yiwtyNygncMJfoUHlBfKtSXrwuigGLTCz38y\n bcULXbUM6lkPfeMNgOXSWCvYrZVimJdbLoeKr/iUtDWLoqY/ZDYoLM8Ta2gQSe1VL9ic3PUO2Ag\n wNkoSeyQlXMHJoq8BGsll4gwSShArfj0VO6Smgi6ONfc4m27gO7e4NQA3y/o245K91mAPL9o0+K\n pmit7h6WKMBbEs7MrzBitrNOfZaYeI9nn0wgMkfaNwv4BnuE7xYU7oMRIDy5twleb5JN27TRwWI\n iAJlpBpW+eh97ZH4e6DM+ZxdI3Uwp9t3qWS9+qJWdGP8/BqgTx0bfgi1TjV2PuKPKGfv0=", "X-Received": "by 2002:a05:6000:430a:b0:43b:3b80:6776 with SMTP id\n ffacd0b85a97d-4464a1685ebmr6333944f8f.30.1777389587973;\n Tue, 28 Apr 2026 08:19:47 -0700 (PDT)", "From": "Ilya Maximets <i.maximets@ovn.org>", "To": "ovs-dev@openvswitch.org", "Cc": "Ilya Maximets <i.maximets@ovn.org>", "Date": "Tue, 28 Apr 2026 17:19:11 +0200", "Message-ID": "<20260428151926.3798626-7-i.maximets@ovn.org>", "X-Mailer": "git-send-email 2.53.0", "In-Reply-To": "<20260428151926.3798626-1-i.maximets@ovn.org>", "References": "<20260428151926.3798626-1-i.maximets@ovn.org>", "MIME-Version": "1.0", "Subject": "[ovs-dev] [PATCH 6/6] cpu: Remove now unused module.", "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>", "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": "This module was in use by AVX512-specific functionality that is all\nremoved now.\n\nSigned-off-by: Ilya Maximets <i.maximets@ovn.org>\n---\n lib/automake.mk | 2 --\n lib/cpu.c | 71 -------------------------------------------------\n lib/cpu.h | 35 ------------------------\n 3 files changed, 108 deletions(-)\n delete mode 100644 lib/cpu.c\n delete mode 100644 lib/cpu.h", "diff": "diff --git a/lib/automake.mk b/lib/automake.mk\nindex adeffa10b..42e842dee 100644\n--- a/lib/automake.mk\n+++ b/lib/automake.mk\n@@ -64,8 +64,6 @@ lib_libopenvswitch_la_SOURCES = \\\n \tlib/cooperative-multitasking-private.h \\\n \tlib/coverage.c \\\n \tlib/coverage.h \\\n-\tlib/cpu.c \\\n-\tlib/cpu.h \\\n \tlib/crc32c.c \\\n \tlib/crc32c.h \\\n \tlib/csum.c \\\ndiff --git a/lib/cpu.c b/lib/cpu.c\ndeleted file mode 100644\nindex fbbea4005..000000000\n--- a/lib/cpu.c\n+++ /dev/null\n@@ -1,71 +0,0 @@\n-/*\n- * Copyright (c) 2021, Red Hat, Inc.\n- *\n- * Licensed under the Apache License, Version 2.0 (the \"License\");\n- * you may not use this file except in compliance with the License.\n- * You may obtain a copy of the License at:\n- *\n- * http://www.apache.org/licenses/LICENSE-2.0\n- *\n- * Unless required by applicable law or agreed to in writing, software\n- * distributed under the License is distributed on an \"AS IS\" BASIS,\n- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n- * See the License for the specific language governing permissions and\n- * limitations under the License.\n- */\n-\n-#include <config.h>\n-\n-#include \"cpu.h\"\n-#include \"openvswitch/compiler.h\"\n-\n-#ifdef __x86_64__\n-#include <cpuid.h>\n-#include <inttypes.h>\n-\n-#include \"openvswitch/util.h\"\n-\n-enum x86_reg {\n- EAX,\n- EBX,\n- ECX,\n- EDX,\n-};\n-#define X86_LEAF_MASK 0x80000000\n-#define X86_EXT_FEATURES_LEAF 0x00000007\n-static bool x86_has_isa(uint32_t leaf, enum x86_reg reg, uint32_t bit)\n-{\n- uint32_t regs[4];\n-\n- if (__get_cpuid_max(leaf & X86_LEAF_MASK, NULL) < leaf) {\n- return false;\n- }\n-\n- __cpuid_count(leaf, 0, regs[EAX], regs[EBX], regs[ECX], regs[EDX]);\n- return (regs[reg] & ((uint32_t) 1 << bit)) != 0;\n-}\n-\n-static bool x86_isa[OVS_CPU_ISA_X86_LAST - OVS_CPU_ISA_X86_FIRST + 1];\n-#define X86_ISA(leaf, reg, bit, name) \\\n-OVS_CONSTRUCTOR(cpu_isa_ ## name) { \\\n- x86_isa[name - OVS_CPU_ISA_X86_FIRST] = x86_has_isa(leaf, reg, bit); \\\n-}\n-X86_ISA(X86_EXT_FEATURES_LEAF, EBX, 8, OVS_CPU_ISA_X86_BMI2)\n-X86_ISA(X86_EXT_FEATURES_LEAF, EBX, 16, OVS_CPU_ISA_X86_AVX512F)\n-X86_ISA(X86_EXT_FEATURES_LEAF, EBX, 30, OVS_CPU_ISA_X86_AVX512BW)\n-X86_ISA(X86_EXT_FEATURES_LEAF, ECX, 1, OVS_CPU_ISA_X86_AVX512VBMI)\n-X86_ISA(X86_EXT_FEATURES_LEAF, ECX, 14, OVS_CPU_ISA_X86_VPOPCNTDQ)\n-X86_ISA(X86_EXT_FEATURES_LEAF, EBX, 31, OVS_CPU_ISA_X86_AVX512VL)\n-#endif\n-\n-bool\n-cpu_has_isa(enum ovs_cpu_isa isa OVS_UNUSED)\n-{\n-#ifdef __x86_64__\n- if (isa >= OVS_CPU_ISA_X86_FIRST &&\n- isa <= OVS_CPU_ISA_X86_LAST) {\n- return x86_isa[isa - OVS_CPU_ISA_X86_FIRST];\n- }\n-#endif\n- return false;\n-}\ndiff --git a/lib/cpu.h b/lib/cpu.h\ndeleted file mode 100644\nindex 3215229bc..000000000\n--- a/lib/cpu.h\n+++ /dev/null\n@@ -1,35 +0,0 @@\n-/*\n- * Copyright (c) 2021, Red Hat, Inc.\n- *\n- * Licensed under the Apache License, Version 2.0 (the \"License\");\n- * you may not use this file except in compliance with the License.\n- * You may obtain a copy of the License at:\n- *\n- * http://www.apache.org/licenses/LICENSE-2.0\n- *\n- * Unless required by applicable law or agreed to in writing, software\n- * distributed under the License is distributed on an \"AS IS\" BASIS,\n- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n- * See the License for the specific language governing permissions and\n- * limitations under the License.\n- */\n-\n-#ifndef CPU_H\n-#define CPU_H 1\n-\n-#include <stdbool.h>\n-\n-enum ovs_cpu_isa {\n- OVS_CPU_ISA_X86_FIRST,\n- OVS_CPU_ISA_X86_BMI2 = OVS_CPU_ISA_X86_FIRST,\n- OVS_CPU_ISA_X86_AVX512F,\n- OVS_CPU_ISA_X86_AVX512BW,\n- OVS_CPU_ISA_X86_AVX512VBMI,\n- OVS_CPU_ISA_X86_AVX512VL,\n- OVS_CPU_ISA_X86_VPOPCNTDQ,\n- OVS_CPU_ISA_X86_LAST = OVS_CPU_ISA_X86_VPOPCNTDQ,\n-};\n-\n-bool cpu_has_isa(enum ovs_cpu_isa);\n-\n-#endif /* CPU_H */\n", "prefixes": [ "ovs-dev", "6/6" ] }