Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/123908/?format=api
http://patches.dpdk.org/api/patches/123908/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230214224735.1404326-1-stephen@networkplumber.org/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20230214224735.1404326-1-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20230214224735.1404326-1-stephen@networkplumber.org", "date": "2023-02-14T22:47:13", "name": "[v6,00/22] Replace use of static logtypes in libraries", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 27, "url": "http://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230214224735.1404326-1-stephen@networkplumber.org/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/123908/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/123908/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 923F141C99;\n\tTue, 14 Feb 2023 23:47:40 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 216F641144;\n\tTue, 14 Feb 2023 23:47:40 +0100 (CET)", "from mail-pl1-f178.google.com (mail-pl1-f178.google.com\n [209.85.214.178])\n by mails.dpdk.org (Postfix) with ESMTP id 3FC6E40EE4\n for <dev@dpdk.org>; Tue, 14 Feb 2023 23:47:38 +0100 (CET)", "by mail-pl1-f178.google.com with SMTP id w5so18509119plg.8\n for <dev@dpdk.org>; Tue, 14 Feb 2023 14:47:38 -0800 (PST)", "from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218])\n by smtp.gmail.com with ESMTPSA id\n u9-20020a17090341c900b0019607984a5esm10735785ple.95.2023.02.14.14.47.36\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 14 Feb 2023 14:47:36 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20210112.gappssmtp.com; s=20210112;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=PSu753WuxvwOQFLQHe0aylWAhpTQd66ECOyzFXpGtIQ=;\n b=W0UI9OoSOCkOAR2pGXSUAmri34l4djbnzbREziT2dVbdlI64HlucW5r/gnEz+vyKQ/\n yB8xas5PjeBHHd+56VC1446uAUrsHffGoHNOklo2Q30A0tL6p2cuPlKHThtN7yF4KySv\n mF3rpC1qefa7dBYDnVKDAhE/pS4fSghsuVHkN7G6KgpVxP+32fpZnWBj2obJ94wi+sUD\n Y3VC4vsrBV4J6PI8snwjK24dezmYONq2yn85F1M2XjX/Y0riikqmJYKKtdjMmlk8wjQN\n L/3T1TiawSQoTZ1EkzmIrt69Z2/4W1n6Y7+goE9CPpFApA9QRvCczMmRaen+5nlwq6GE\n 8JHA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=PSu753WuxvwOQFLQHe0aylWAhpTQd66ECOyzFXpGtIQ=;\n b=KaK1hngY9oZaZAHm17g9mFofvXbm7rx+g14ZulN0/ZWJ65Rdxd9rZoxbJWTiSo3GAq\n MDIeVGKhQCXq0lG7cJlrIVXrH+LpIIdK8yXl7cGQj+cWZB0pI7DE6/xR4XSw6BBnukWr\n XNrA4RgU+dX0WlBE1+hebTtcZbFrPhSHr+a2xdaAtD2M/DKeRse3B6/L/932DgBDJftV\n CtLG4Dp8vWJZh9jgmn5qGpsTyGaDDTuMkXtddTYweoygAT7w0NsOIVIsLIsa4VhuUTgR\n w59nM4pqPaEO6LCPLB/pV3IqF14mriQ+8iKHe3A1WGSLKKFbcDCtyUSAeSUrRjktFzTH\n xKdg==", "X-Gm-Message-State": "AO0yUKU36HeH188zL1gBhSBJLoBYyZwU6ChAnVNLs4zHj7leaavKFPlh\n LpRHXu5Euw/FHqXv5GyewyFoK4pdsNV3itlNSLo=", "X-Google-Smtp-Source": "\n AK7set/R7VMsnf2a0H/HbKKDDZuKU9LVQohHjrTkHiPGfIEiBp9dTPLd1BPm1dOLhTQTw5eehbQDzg==", "X-Received": "by 2002:a17:903:22cb:b0:198:e63d:9a4f with SMTP id\n y11-20020a17090322cb00b00198e63d9a4fmr264160plg.47.1676414856921;\n Tue, 14 Feb 2023 14:47:36 -0800 (PST)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>", "Subject": "[PATCH v6 00/22] Replace use of static logtypes in libraries", "Date": "Tue, 14 Feb 2023 14:47:13 -0800", "Message-Id": "<20230214224735.1404326-1-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.39.1", "In-Reply-To": "<20230207204151.1503491-1-stephen@networkplumber.org>", "References": "<20230207204151.1503491-1-stephen@networkplumber.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "This patchset removes the main uses of static LOGTYPE's in DPDK\nlibraries. It starts with the easy one and goes on to the more complex ones.\n\nNote: there is one patch in this series that will get\nflagged incorrectly as an ABI change.\n\nv6 - fix typo in kni port \n\nv5 - fix use of LOGTYPE PORT and POWER in examples\n\nv4 - use simpler/shorter method for setting local LOGTYPE\n split up steps of some of the changes\n\nStephen Hemminger (22):\n gso: don't log message on non TCP/UDP\n eal: drop no longer used GSO logtype\n log: drop unused RTE_LOGTYPE_TIMER\n efd: replace RTE_LOGTYPE_EFD with dynamic type\n mbuf: replace RTE_LOGTYPE_MBUF with dynamic type\n acl: replace LOGTYPE_ACL with dynamic type\n examples/power: replace use of RTE_LOGTYPE_POWER\n examples/l3fwd-power: replace use of RTE_LOGTYPE_POWER\n power: replace RTE_LOGTYPE_POWER with dynamic type\n ring: replace RTE_LOGTYPE_RING with dynamic type\n mempool: replace RTE_LOGTYPE_MEMPOOL with dynamic type\n lpm: replace RTE_LOGTYPE_LPM with dynamic types\n kni: replace RTE_LOGTYPE_KNI with dynamic type\n sched: replace RTE_LOGTYPE_SCHED with dynamic type\n examples/ipsecgw: replace RTE_LOGTYPE_PORT\n port: replace RTE_LOGTYPE_PORT with dynamic type\n table: convert RTE_LOGTYPE_TABLE to dynamic logtype\n app/test: remove use of RTE_LOGTYPE_PIPELINE\n pipeline: replace RTE_LOGTYPE_PIPELINE with dynamic type\n hash: move rte_thash_gfni stubs out of header file\n hash: move rte_hash_set_alg out header\n hash: convert RTE_LOGTYPE_HASH to dynamic type\n\n app/test/test_acl.c | 3 +-\n app/test/test_table_acl.c | 50 +++++++++++------------\n app/test/test_table_pipeline.c | 40 +++++++++----------\n examples/distributor/main.c | 2 +-\n examples/ipsec-secgw/sa.c | 6 +--\n examples/l3fwd-power/main.c | 15 +++----\n lib/acl/acl_bld.c | 1 +\n lib/acl/acl_gen.c | 1 +\n lib/acl/acl_log.h | 4 ++\n lib/acl/rte_acl.c | 4 ++\n lib/acl/tb_mem.c | 3 +-\n lib/eal/common/eal_common_log.c | 17 --------\n lib/eal/include/rte_log.h | 34 ++++++++--------\n lib/efd/rte_efd.c | 3 ++\n lib/fib/fib_log.h | 4 ++\n lib/fib/rte_fib.c | 3 ++\n lib/fib/rte_fib6.c | 2 +\n lib/gso/rte_gso.c | 5 +--\n lib/hash/meson.build | 9 ++++-\n lib/hash/rte_cuckoo_hash.c | 5 +++\n lib/hash/rte_fbk_hash.c | 3 ++\n lib/hash/rte_hash_crc.c | 66 +++++++++++++++++++++++++++++++\n lib/hash/rte_hash_crc.h | 46 +--------------------\n lib/hash/rte_thash.c | 3 ++\n lib/hash/rte_thash_gfni.c | 46 +++++++++++++++++++++\n lib/hash/rte_thash_gfni.h | 28 +++----------\n lib/hash/version.map | 5 +++\n lib/kni/rte_kni.c | 3 ++\n lib/lpm/lpm_log.h | 4 ++\n lib/lpm/rte_lpm.c | 3 ++\n lib/lpm/rte_lpm6.c | 1 +\n lib/mbuf/mbuf_log.h | 4 ++\n lib/mbuf/rte_mbuf.c | 4 ++\n lib/mbuf/rte_mbuf_dyn.c | 2 +\n lib/mbuf/rte_mbuf_pool_ops.c | 2 +\n lib/mempool/rte_mempool.c | 3 ++\n lib/mempool/rte_mempool_log.h | 4 ++\n lib/mempool/rte_mempool_ops.c | 1 +\n lib/pipeline/rte_pipeline.c | 3 ++\n lib/port/rte_port_ethdev.c | 3 ++\n lib/port/rte_port_eventdev.c | 4 ++\n lib/port/rte_port_fd.c | 3 ++\n lib/port/rte_port_frag.c | 3 ++\n lib/port/rte_port_kni.c | 3 ++\n lib/port/rte_port_ras.c | 3 ++\n lib/port/rte_port_ring.c | 3 ++\n lib/port/rte_port_sched.c | 3 ++\n lib/port/rte_port_source_sink.c | 3 ++\n lib/port/rte_port_sym_crypto.c | 3 ++\n lib/power/guest_channel.c | 3 +-\n lib/power/power_common.c | 2 +\n lib/power/power_common.h | 3 +-\n lib/power/power_kvm_vm.c | 1 +\n lib/power/rte_power.c | 1 +\n lib/power/rte_power_empty_poll.c | 1 +\n lib/rib/rib_log.h | 4 ++\n lib/rib/rte_rib.c | 3 ++\n lib/rib/rte_rib6.c | 3 ++\n lib/ring/rte_ring.c | 3 ++\n lib/sched/rte_pie.c | 1 +\n lib/sched/rte_sched.c | 5 +++\n lib/sched/rte_sched_log.h | 4 ++\n lib/table/rte_table_acl.c | 3 ++\n lib/table/rte_table_array.c | 3 ++\n lib/table/rte_table_hash_cuckoo.c | 3 ++\n lib/table/rte_table_hash_ext.c | 3 ++\n lib/table/rte_table_hash_key16.c | 3 ++\n lib/table/rte_table_hash_key32.c | 5 ++-\n lib/table/rte_table_hash_key8.c | 5 ++-\n lib/table/rte_table_hash_lru.c | 3 ++\n lib/table/rte_table_lpm.c | 3 ++\n lib/table/rte_table_lpm_ipv6.c | 3 ++\n lib/table/rte_table_stub.c | 3 ++\n 73 files changed, 375 insertions(+), 169 deletions(-)\n create mode 100644 lib/acl/acl_log.h\n create mode 100644 lib/fib/fib_log.h\n create mode 100644 lib/hash/rte_hash_crc.c\n create mode 100644 lib/hash/rte_thash_gfni.c\n create mode 100644 lib/lpm/lpm_log.h\n create mode 100644 lib/mbuf/mbuf_log.h\n create mode 100644 lib/mempool/rte_mempool_log.h\n create mode 100644 lib/rib/rib_log.h\n create mode 100644 lib/sched/rte_sched_log.h", "diff": null, "prefixes": [ "v6", "00/22" ] }{ "id": 123908, "url": "