get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/129968/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 129968,
    "url": "http://patchwork.dpdk.org/api/patches/129968/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230809001017.293037-4-stephen@networkplumber.org/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20230809001017.293037-4-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230809001017.293037-4-stephen@networkplumber.org",
    "date": "2023-08-09T00:09:51",
    "name": "[v2,03/29] ethdev: mark rte_mtr API's as stable",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a36e0cb66f9355ebcb587ff703ca65770b557406",
    "submitter": {
        "id": 27,
        "url": "http://patchwork.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230809001017.293037-4-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 29134,
            "url": "http://patchwork.dpdk.org/api/series/29134/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=29134",
            "date": "2023-08-09T00:09:48",
            "name": "promote many API's to stable",
            "version": 2,
            "mbox": "http://patchwork.dpdk.org/series/29134/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/129968/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/129968/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 92C1243011;\n\tWed,  9 Aug 2023 02:10:51 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A8CA143267;\n\tWed,  9 Aug 2023 02:10:33 +0200 (CEST)",
            "from mail-pl1-f169.google.com (mail-pl1-f169.google.com\n [209.85.214.169])\n by mails.dpdk.org (Postfix) with ESMTP id 29F4A43261\n for <dev@dpdk.org>; Wed,  9 Aug 2023 02:10:32 +0200 (CEST)",
            "by mail-pl1-f169.google.com with SMTP id\n d9443c01a7336-1bc3d94d40fso54331065ad.3\n for <dev@dpdk.org>; Tue, 08 Aug 2023 17:10:32 -0700 (PDT)",
            "from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207])\n by smtp.gmail.com with ESMTPSA id\n ix11-20020a170902f80b00b001bc676df6a9sm5745629plb.132.2023.08.08.17.10.29\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 08 Aug 2023 17:10:30 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691539831;\n x=1692144631;\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=x7RQssE84C1nz1MJOlbJsUqdiyCcAindGMsqIkyVmpY=;\n b=QLj/rN2jX6TdN0H/ZVQrGHz9AoiKteUD61tWpWTID/jPR6FBsfcI65wOkMbJ41yhBR\n 1j0xiTBZHY2ATn51hjCPvvyClVTuYeD4xSr0TGumf1qVQ6gh2DGmONhfhbOgqChOT5jZ\n YSRcEhMEtOCmLiB7dIh7++JFGp6sjETf6kIT02Y0L3Ijzu4bF5oYask00kaXByIc+oIs\n SsIzyFzV9ebdAanbz6AtRqBvA/Rh6psqgCShyMreS5HKVXgIEmv72GunfWtj8RGocqSd\n sOzQsVk9ska0jO181pAJ/pq41htaJ381X+K7uSTVzhFQPdCSZD3Mo+CimZsNgR8affiJ\n SfOw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20221208; t=1691539831; x=1692144631;\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=x7RQssE84C1nz1MJOlbJsUqdiyCcAindGMsqIkyVmpY=;\n b=FZOQa9p/nCasp10EawuYyEyKMaA2hX1wzV8nlE8tQ5eFFpU8BXXlWJTYbPvsVGM5gz\n L3IpOTLdQqOGmyR0CMxXUeF9QubRLc0t21xUTxNh0IcEKMK9MwQoUMx8v9bxeUAWep7B\n nT6I1gQSSQkXAXVIctNvbWsncZGm63It3q9fYRgTxeAdZu4MZR10y9/iRc+IC4w0C3yx\n KSFwE1/W8lk/plnDg4MTPwygG+mItFaYdGYldAig8f2p9J89YQ+NXnKtXkLw82exCG42\n CNPDZRq05Gb4DAMVmFadusC2IMUbeUfC3RBAnlz2Jlt+sCgK5FMKdxj23K6WaqUSKtLr\n nR5A==",
        "X-Gm-Message-State": "AOJu0Yx9nyDVtwH4oXqV9Cjh4s+LPvaGpIgDhrmdi63iFf52wg3+j/RX\n JFhfcYZiSbzj3p3Uks6w6nbyiGJSYWrhTtt9GU4DRg==",
        "X-Google-Smtp-Source": "\n AGHT+IHCKAou7g7z+Q5LHLeZbwRK84HaRFSbwVXszD/DuVxSQZd8tqIlyZVpGBajgKbrUphqFiGK8Q==",
        "X-Received": "by 2002:a17:902:dacf:b0:1bb:97d0:c628 with SMTP id\n q15-20020a170902dacf00b001bb97d0c628mr1440591plx.31.1691539830819;\n Tue, 08 Aug 2023 17:10:30 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Thomas Monjalon <thomas@monjalon.net>,\n Cristian Dumitrescu <cristian.dumitrescu@intel.com>,\n Ferruh Yigit <ferruh.yigit@amd.com>,\n Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>",
        "Subject": "[PATCH v2 03/29] ethdev: mark rte_mtr API's as stable",
        "Date": "Tue,  8 Aug 2023 17:09:51 -0700",
        "Message-Id": "<20230809001017.293037-4-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.39.2",
        "In-Reply-To": "<20230809001017.293037-1-stephen@networkplumber.org>",
        "References": "<20230808173527.186042-1-stephen@networkplumber.org>\n <20230809001017.293037-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": "These haven't changed in a while, time has come to make them\nnot experimental.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n MAINTAINERS            |  2 +-\n lib/ethdev/rte_mtr.h   | 25 +------------------------\n lib/ethdev/version.map | 34 ++++++++++++++++------------------\n 3 files changed, 18 insertions(+), 43 deletions(-)",
    "diff": "diff --git a/MAINTAINERS b/MAINTAINERS\nindex 6345e7f8a65d..decba6b38a31 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -426,7 +426,7 @@ T: git://dpdk.org/next/dpdk-next-net\n F: lib/ethdev/rte_tm*\n F: app/test-pmd/cmdline_tm.*\n \n-Traffic Metering and Policing API - EXPERIMENTAL\n+Traffic Metering and Policing API\n M: Cristian Dumitrescu <cristian.dumitrescu@intel.com>\n T: git://dpdk.org/next/dpdk-next-net\n F: lib/ethdev/rte_mtr*\ndiff --git a/lib/ethdev/rte_mtr.h b/lib/ethdev/rte_mtr.h\nindex 7e6a66b938bf..ed498f36b179 100644\n--- a/lib/ethdev/rte_mtr.h\n+++ b/lib/ethdev/rte_mtr.h\n@@ -41,10 +41,8 @@\n  *    A) Whether an MTR object is private to a flow or potentially shared by\n  *       several flows has to be specified at creation time.\n  *    B) Several meter actions can be potentially registered for the same flow.\n- *\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice\n  */\n+\n #include <stdint.h>\n #include <rte_compat.h>\n #include <rte_common.h>\n@@ -570,7 +568,6 @@ struct rte_mtr_error {\n  * @return\n  *   0 on success, non-zero error code otherwise.\n  */\n-__rte_experimental\n int\n rte_mtr_capabilities_get(uint16_t port_id,\n \tstruct rte_mtr_capabilities *cap,\n@@ -594,7 +591,6 @@ rte_mtr_capabilities_get(uint16_t port_id,\n  * @return\n  *   0 on success, non-zero error code otherwise.\n  */\n-__rte_experimental\n int\n rte_mtr_meter_profile_add(uint16_t port_id,\n \tuint32_t meter_profile_id,\n@@ -616,7 +612,6 @@ rte_mtr_meter_profile_add(uint16_t port_id,\n  * @return\n  *   0 on success, non-zero error code otherwise.\n  */\n-__rte_experimental\n int\n rte_mtr_meter_profile_delete(uint16_t port_id,\n \tuint32_t meter_profile_id,\n@@ -636,7 +631,6 @@ rte_mtr_meter_profile_delete(uint16_t port_id,\n  * @return\n  *   A valid handle in case of success, NULL otherwise.\n  */\n-__rte_experimental\n struct rte_flow_meter_profile *\n rte_mtr_meter_profile_get(uint16_t port_id,\n \tuint32_t meter_profile_id,\n@@ -664,7 +658,6 @@ rte_mtr_meter_profile_get(uint16_t port_id,\n  * @return\n  *   0 on success, non-zero error code otherwise.\n  */\n-__rte_experimental\n int\n rte_mtr_meter_policy_validate(uint16_t port_id,\n \tstruct rte_mtr_meter_policy_params *policy,\n@@ -691,7 +684,6 @@ rte_mtr_meter_policy_validate(uint16_t port_id,\n  * @return\n  *   0 on success, non-zero error code otherwise.\n  */\n-__rte_experimental\n int\n rte_mtr_meter_policy_add(uint16_t port_id,\n \tuint32_t policy_id,\n@@ -712,7 +704,6 @@ rte_mtr_meter_policy_add(uint16_t port_id,\n  * @return\n  *   A valid handle in case of success, NULL otherwise.\n  */\n-__rte_experimental\n struct rte_flow_meter_policy *\n rte_mtr_meter_policy_get(uint16_t port_id,\n \tuint32_t policy_id,\n@@ -794,7 +785,6 @@ struct rte_mtr_meter_policy_params policy = \\\n  * @return\n  *   0 on success, non-zero error code otherwise.\n  */\n-__rte_experimental\n int\n rte_mtr_meter_policy_delete(uint16_t port_id,\n \tuint32_t policy_id,\n@@ -823,7 +813,6 @@ rte_mtr_meter_policy_delete(uint16_t port_id,\n  *\n  * @see enum rte_flow_action_type::RTE_FLOW_ACTION_TYPE_METER\n  */\n-__rte_experimental\n int\n rte_mtr_create(uint16_t port_id,\n \tuint32_t mtr_id,\n@@ -847,7 +836,6 @@ rte_mtr_create(uint16_t port_id,\n  * @return\n  *   0 on success, non-zero error code otherwise.\n  */\n-__rte_experimental\n int\n rte_mtr_destroy(uint16_t port_id,\n \tuint32_t mtr_id,\n@@ -875,7 +863,6 @@ rte_mtr_destroy(uint16_t port_id,\n  * @return\n  *   0 on success, non-zero error code otherwise.\n  */\n-__rte_experimental\n int\n rte_mtr_meter_disable(uint16_t port_id,\n \tuint32_t mtr_id,\n@@ -897,7 +884,6 @@ rte_mtr_meter_disable(uint16_t port_id,\n  * @return\n  *   0 on success, non-zero error code otherwise.\n  */\n-__rte_experimental\n int\n rte_mtr_meter_enable(uint16_t port_id,\n \tuint32_t mtr_id,\n@@ -917,7 +903,6 @@ rte_mtr_meter_enable(uint16_t port_id,\n  * @return\n  *   0 on success, non-zero error code otherwise.\n  */\n-__rte_experimental\n int\n rte_mtr_meter_profile_update(uint16_t port_id,\n \tuint32_t mtr_id,\n@@ -938,7 +923,6 @@ rte_mtr_meter_profile_update(uint16_t port_id,\n  * @return\n  *   0 on success, non-zero error code otherwise.\n  */\n-__rte_experimental\n int\n rte_mtr_meter_policy_update(uint16_t port_id,\n \tuint32_t mtr_id,\n@@ -965,7 +949,6 @@ rte_mtr_meter_policy_update(uint16_t port_id,\n  * @return\n  *   0 on success, non-zero error code otherwise.\n  */\n-__rte_experimental\n int\n rte_mtr_meter_dscp_table_update(uint16_t port_id,\n \tuint32_t mtr_id, enum rte_mtr_color_in_protocol proto,\n@@ -992,7 +975,6 @@ rte_mtr_meter_dscp_table_update(uint16_t port_id,\n  * @return\n  *   0 on success, non-zero error code otherwise.\n  */\n-__rte_experimental\n int\n rte_mtr_meter_vlan_table_update(uint16_t port_id, uint32_t mtr_id,\n \t\t\t\tenum rte_mtr_color_in_protocol proto,\n@@ -1023,7 +1005,6 @@ rte_mtr_meter_vlan_table_update(uint16_t port_id, uint32_t mtr_id,\n  * @return\n  *   0 on success, non-zero error code otherwise.\n  */\n-__rte_experimental\n int\n rte_mtr_color_in_protocol_set(uint16_t port_id, uint32_t mtr_id,\n \tenum rte_mtr_color_in_protocol proto, uint32_t priority,\n@@ -1043,7 +1024,6 @@ rte_mtr_color_in_protocol_set(uint16_t port_id, uint32_t mtr_id,\n  * @return\n  *   0 on success, non-zero error code otherwise.\n  */\n-__rte_experimental\n int\n rte_mtr_color_in_protocol_get(uint16_t port_id, uint32_t mtr_id,\n \tuint64_t *proto_mask,\n@@ -1065,7 +1045,6 @@ rte_mtr_color_in_protocol_get(uint16_t port_id, uint32_t mtr_id,\n  * @return\n  *   0 on success, non-zero error code otherwise.\n  */\n-__rte_experimental\n int\n rte_mtr_color_in_protocol_priority_get(uint16_t port_id, uint32_t mtr_id,\n \tenum rte_mtr_color_in_protocol proto, uint32_t *priority,\n@@ -1089,7 +1068,6 @@ rte_mtr_color_in_protocol_priority_get(uint16_t port_id, uint32_t mtr_id,\n  *\n  * @see enum rte_mtr_stats_type\n  */\n-__rte_experimental\n int\n rte_mtr_stats_update(uint16_t port_id,\n \tuint32_t mtr_id,\n@@ -1121,7 +1099,6 @@ rte_mtr_stats_update(uint16_t port_id,\n  *\n  * @see enum rte_mtr_stats_type\n  */\n-__rte_experimental\n int\n rte_mtr_stats_read(uint16_t port_id,\n \tuint32_t mtr_id,\ndiff --git a/lib/ethdev/version.map b/lib/ethdev/version.map\nindex b965d6aa5274..a275cce48164 100644\n--- a/lib/ethdev/version.map\n+++ b/lib/ethdev/version.map\n@@ -135,26 +135,34 @@ DPDK_24 {\n \trte_flow_pick_transfer_proxy;\n \trte_flow_query;\n \trte_flow_validate;\n-\n-\tlocal: *;\n-};\n-\n-EXPERIMENTAL {\n-\tglobal:\n-\n-\t# added in 17.11\n \trte_mtr_capabilities_get;\n+\trte_mtr_color_in_protocol_get;\n+\trte_mtr_color_in_protocol_priority_get;\n+\trte_mtr_color_in_protocol_set;\n \trte_mtr_create;\n \trte_mtr_destroy;\n \trte_mtr_meter_disable;\n \trte_mtr_meter_dscp_table_update;\n \trte_mtr_meter_enable;\n+\trte_mtr_meter_policy_add;\n+\trte_mtr_meter_policy_delete;\n+\trte_mtr_meter_policy_get;\n+\trte_mtr_meter_policy_update;\n+\trte_mtr_meter_policy_validate;\n \trte_mtr_meter_profile_add;\n \trte_mtr_meter_profile_delete;\n+\trte_mtr_meter_profile_get;\n \trte_mtr_meter_profile_update;\n+\trte_mtr_meter_vlan_table_update;\n \trte_mtr_stats_read;\n \trte_mtr_stats_update;\n \n+\tlocal: *;\n+};\n+\n+EXPERIMENTAL {\n+\tglobal:\n+\n \t# added in 18.05\n \trte_eth_dev_get_module_eeprom;\n \trte_eth_dev_get_module_info;\n@@ -237,10 +245,6 @@ EXPERIMENTAL {\n \trte_flow_action_handle_destroy;\n \trte_flow_action_handle_update;\n \trte_flow_action_handle_query;\n-\trte_mtr_meter_policy_add;\n-\trte_mtr_meter_policy_delete;\n-\trte_mtr_meter_policy_update;\n-\trte_mtr_meter_policy_validate;\n \n \t# added in 21.11\n \trte_eth_dev_capability_name;\n@@ -275,10 +279,6 @@ EXPERIMENTAL {\n \t# added in 22.07\n \trte_eth_rx_avail_thresh_query;\n \trte_eth_rx_avail_thresh_set;\n-\trte_mtr_color_in_protocol_get;\n-\trte_mtr_color_in_protocol_priority_get;\n-\trte_mtr_color_in_protocol_set;\n-\trte_mtr_meter_vlan_table_update;\n \n \t# added in 22.11\n \trte_eth_buffer_split_get_supported_hdr_ptypes;\n@@ -290,8 +290,6 @@ EXPERIMENTAL {\n \trte_eth_tx_descriptor_dump;\n \trte_flow_async_action_handle_query;\n \trte_flow_get_q_aged_flows;\n-\trte_mtr_meter_policy_get;\n-\trte_mtr_meter_profile_get;\n \n \t# added in 23.03\n \trte_eth_dev_count_aggr_ports;\n",
    "prefixes": [
        "v2",
        "03/29"
    ]
}