Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/129948/?format=api
http://patches.dpdk.org/api/patches/129948/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230808173527.186042-4-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": "<20230808173527.186042-4-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20230808173527.186042-4-stephen@networkplumber.org", "date": "2023-08-08T17:35:10", "name": "[03/20] ethdev: mark rte_mtr API's as stable", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "fe80c19cc87e9d8de1c0dfa8a5573976d1341250", "submitter": { "id": 27, "url": "http://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230808173527.186042-4-stephen@networkplumber.org/mbox/", "series": [ { "id": 29133, "url": "http://patches.dpdk.org/api/series/29133/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29133", "date": "2023-08-08T17:35:07", "name": "remove experimental flag from some API's", "version": 1, "mbox": "http://patches.dpdk.org/series/29133/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/129948/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/129948/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 1A2564300E;\n\tTue, 8 Aug 2023 19:36:04 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 763D643267;\n\tTue, 8 Aug 2023 19:35:44 +0200 (CEST)", "from mail-pf1-f179.google.com (mail-pf1-f179.google.com\n [209.85.210.179])\n by mails.dpdk.org (Postfix) with ESMTP id 4FFD643257\n for <dev@dpdk.org>; Tue, 8 Aug 2023 19:35:42 +0200 (CEST)", "by mail-pf1-f179.google.com with SMTP id\n d2e1a72fcca58-686f38692b3so5873605b3a.2\n for <dev@dpdk.org>; Tue, 08 Aug 2023 10:35:42 -0700 (PDT)", "from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207])\n by smtp.gmail.com with ESMTPSA id\n m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.40\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 08 Aug 2023 10:35:40 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516141;\n x=1692120941;\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=4tw50+KVabhsw1zKOFsOdNUwwUnExSQ9jAPIC4HKDO0=;\n b=Cg0lqKEJ4wFIGeC8g4XKUFeAwE4Ph6Lhib5wFFUrO4igheG0Y3WrGMRPElKOyf6aA3\n h9v7QXqQqrM7Yuvfl04UMLNJG2bh5ieohP6xjKkO9rslacgR739YhLwGxL5W8uJvVg1+\n +/PMqvgolnH0p0trj6vWMmPZe8L9FiWj0YvAqFdYn7XXDLDqVy3IyGGtNSM9NRMIvZXQ\n p2EwjIrdAQrPYtzifC+3geOmEKXfAkMxPsf4pSrpgxMlNHJr2pCq6ug81+GTKGTwe5kZ\n 6EHpskrb1FK7V6VDczNijZtN7KV1cytR9RtnOlNQhsZet0d6KhRrd7h0ZlbEgzrNnnib\n G41g==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20221208; t=1691516141; x=1692120941;\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=4tw50+KVabhsw1zKOFsOdNUwwUnExSQ9jAPIC4HKDO0=;\n b=kDPXa931j+xWORPjCTx1GWJCqq8RCkRVSvA1rZmvPX+7Hs9kARYPpY8d9c9A3fm0za\n yPbyARS6gGuhCRrz9iKEAL2du7WkmFFsTXluW8f7OM/QNkZ8V9ErcAvxGWaHbJAM3UrM\n 3pVdzMvbRe6J+R5cI/txv2NGo1HC/GvfM674DF4gG2O07yQtxIen1TNhdZeReEyWObhc\n sDCWpCqg9D5Xd77Z5TXu9B9ITe+7fmhl/oERPaJjfT839GIpzv1RL7m3Rdh7c8qm1g1q\n dD7MpsCI3G4IifUvH7ysp2w3FEKCWrtKFXHMtB4KZTFnzMhT3QfkJAbllpOs4mH3OvP+\n ObEw==", "X-Gm-Message-State": "AOJu0Yxz/lQrVlo34FdLSvYVwAi8cq9gm2iNTNC9lygBYPNy+g6SMBUv\n +STn97b2MyVRTEVkX8HSvDK822LsDdMrPhoa/0OoHQ==", "X-Google-Smtp-Source": "\n AGHT+IF8jHlUdiOrLhsW7mG1+mJdvCqjk8Frxur3Q0y31mSZO9DwbEmClK1SzwRgBdE1QDnwb0y46Q==", "X-Received": "by 2002:a05:6a20:1585:b0:140:6d68:ce07 with SMTP id\n h5-20020a056a20158500b001406d68ce07mr215912pzj.52.1691516141255;\n Tue, 08 Aug 2023 10:35:41 -0700 (PDT)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Cristian Dumitrescu <cristian.dumitrescu@intel.com>,\n Thomas Monjalon <thomas@monjalon.net>, Ferruh Yigit <ferruh.yigit@amd.com>,\n Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>", "Subject": "[PATCH 03/20] ethdev: mark rte_mtr API's as stable", "Date": "Tue, 8 Aug 2023 10:35:10 -0700", "Message-Id": "<20230808173527.186042-4-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.39.2", "In-Reply-To": "<20230808173527.186042-1-stephen@networkplumber.org>", "References": "<20230808173527.186042-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 lib/ethdev/rte_mtr.h | 25 +------------------------\n lib/ethdev/version.map | 34 ++++++++++++++++------------------\n 2 files changed, 17 insertions(+), 42 deletions(-)", "diff": "diff --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": [ "03/20" ] }{ "id": 129948, "url": "