Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/129986/?format=api
http://patchwork.dpdk.org/api/patches/129986/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230809001017.293037-22-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-22-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20230809001017.293037-22-stephen@networkplumber.org", "date": "2023-08-09T00:10:09", "name": "[v2,21/29] vhost: remove experimental from some API's", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "f9979435cefa569140e6fb83119453c3a3383bf5", "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-22-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/129986/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/129986/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 3EA5043011;\n\tWed, 9 Aug 2023 02:12:49 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8A66343278;\n\tWed, 9 Aug 2023 02:10:56 +0200 (CEST)", "from mail-pf1-f176.google.com (mail-pf1-f176.google.com\n [209.85.210.176])\n by mails.dpdk.org (Postfix) with ESMTP id 3E1E2432A2\n for <dev@dpdk.org>; Wed, 9 Aug 2023 02:10:50 +0200 (CEST)", "by mail-pf1-f176.google.com with SMTP id\n d2e1a72fcca58-686fc0d3c92so4297771b3a.0\n for <dev@dpdk.org>; Tue, 08 Aug 2023 17:10:50 -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.48\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 08 Aug 2023 17:10:48 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691539849;\n x=1692144649;\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=LUtMO29AXZDiMOwvgdN7am2hOn5Qj0O/8DsMFy54yJ0=;\n b=YWIUJ+wO/pmCPlQXFj9F9yWNuxwRBh1Y7ZO58hkHiUQASCfQRIfDQIxtmBxwebXX6d\n QFPnQFhr1niQP2CNTZadmwbv87T9NE7NEHe4N3QvKrKneLrtIJaw/LBtxT++1/7cbe/T\n ez4vdvJjtGq15vcjLiSsOwexUhT3iYnFCOlLuV3chNYrRXaEAGKpyR6oV6z0lvwLohlA\n OfRQab5sqOoScqwmWALqrCoPcdShHt/QEXuPX8xqxt4lcb2zMvSpmTs8j5hByxatVBka\n IsyBMFkkL+nqZTfaA34Sr51DurZZ9l9Vnr+K00tUKcvlOEqU3bbz+TEUtD8JnAerqaqI\n U3mw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20221208; t=1691539849; x=1692144649;\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=LUtMO29AXZDiMOwvgdN7am2hOn5Qj0O/8DsMFy54yJ0=;\n b=aFccXIIoZwvwJawDTPvee/BxGLNIiKLz7ZPlwBjkZMKgKf7/Wvhc72bETlTZ4ozMez\n MH4P3oG2ONI0gCAnd5l8vTqXGvqNUIFAAWpMSAaUA5QzeCVedHsjMSrQO57qJSBLuopC\n fq3begV+6BZYE66u0u05GhXdQMDB9xtwzo4oDetMlU3uGSv0F4TKc8TWcKFR2g5HP6HE\n w/6oi1bER1YuZ80Kk2Q5D8ZgfkjOrrN+Wngb8gBn3+D9/FEBdWCaqqBDvwHxWux0Gu2o\n nrWmP+t1yUF1yZivxuVK7ivpALU8G7W159aIdz8ddy+GNKEArIiWYjbls9VR9CIlzwkg\n nnHQ==", "X-Gm-Message-State": "AOJu0YyIBehueaXkFj+v47UHAPtf5ge6e80FQNlkoO/6ZZVDpQ/9P71A\n k0lxHm5sCzOF/3II2tYZambc9up7pQQFQMhRJm/TQA==", "X-Google-Smtp-Source": "\n AGHT+IGI66vUQIZ/gPygqOUIdMwOR5CWKZE8/v+KGm+ufGmCDnYT4NNaKONbf9u5O8RHLdgbpTTDvA==", "X-Received": "by 2002:a05:6a20:244f:b0:13f:8153:7e31 with SMTP id\n t15-20020a056a20244f00b0013f81537e31mr1123958pzc.20.1691539849202;\n Tue, 08 Aug 2023 17:10:49 -0700 (PDT)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Maxime Coquelin <maxime.coquelin@redhat.com>,\n Chenbo Xia <chenbo.xia@intel.com>", "Subject": "[PATCH v2 21/29] vhost: remove experimental from some API's", "Date": "Tue, 8 Aug 2023 17:10:09 -0700", "Message-Id": "<20230809001017.293037-22-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": "All API's that before 22.11 release should have experimental\ntag removed.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n lib/vhost/rte_vhost.h | 5 ----\n lib/vhost/rte_vhost_async.h | 19 --------------\n lib/vhost/rte_vhost_crypto.h | 1 -\n lib/vhost/version.map | 51 ++++++++++++++----------------------\n 4 files changed, 19 insertions(+), 57 deletions(-)", "diff": "diff --git a/lib/vhost/rte_vhost.h b/lib/vhost/rte_vhost.h\nindex fec650b1dbba..db92f0534431 100644\n--- a/lib/vhost/rte_vhost.h\n+++ b/lib/vhost/rte_vhost.h\n@@ -509,7 +509,6 @@ rte_vhost_driver_get_vdpa_device(const char *path);\n * @return\n * 0 on success, -1 on failure\n */\n-__rte_experimental\n int\n rte_vhost_driver_get_vdpa_dev_type(const char *path, uint32_t *type);\n \n@@ -648,7 +647,6 @@ int rte_vhost_get_negotiated_features(int vid, uint64_t *features);\n * @return\n * 0 on success, -1 on failure\n */\n-__rte_experimental\n int\n rte_vhost_get_negotiated_protocol_features(int vid,\n \t\t\t\t\t uint64_t *protocol_features);\n@@ -960,7 +958,6 @@ int rte_vhost_vring_call(int vid, uint16_t vring_idx);\n * @return\n * 0 on success, -1 on failure, -EAGAIN for another retry\n */\n-__rte_experimental\n int rte_vhost_vring_call_nonblock(int vid, uint16_t vring_idx);\n \n /**\n@@ -987,7 +984,6 @@ uint32_t rte_vhost_rx_queue_count(int vid, uint16_t qid);\n * @return\n * 0 on success, -1 on failure\n */\n-__rte_experimental\n int\n rte_vhost_get_monitor_addr(int vid, uint16_t queue_id,\n \t\tstruct rte_vhost_power_monitor_cond *pmc);\n@@ -1102,7 +1098,6 @@ rte_vhost_get_vdpa_device(int vid);\n * @return\n * 0 on success, < 0 on failure\n */\n-__rte_experimental\n int\n rte_vhost_backend_config_change(int vid, bool need_reply);\n \ndiff --git a/lib/vhost/rte_vhost_async.h b/lib/vhost/rte_vhost_async.h\nindex 8f190dd44b1b..3370026415fb 100644\n--- a/lib/vhost/rte_vhost_async.h\n+++ b/lib/vhost/rte_vhost_async.h\n@@ -24,7 +24,6 @@ extern \"C\" {\n * @return\n * 0 on success, -1 on failures\n */\n-__rte_experimental\n int rte_vhost_async_channel_register(int vid, uint16_t queue_id);\n \n /**\n@@ -37,7 +36,6 @@ int rte_vhost_async_channel_register(int vid, uint16_t queue_id);\n * @return\n * 0 on success, -1 on failures\n */\n-__rte_experimental\n int rte_vhost_async_channel_unregister(int vid, uint16_t queue_id);\n \n /**\n@@ -54,7 +52,6 @@ int rte_vhost_async_channel_unregister(int vid, uint16_t queue_id);\n * @return\n * 0 on success, -1 on failures\n */\n-__rte_experimental\n int rte_vhost_async_channel_register_thread_unsafe(int vid, uint16_t queue_id);\n \n /**\n@@ -71,7 +68,6 @@ int rte_vhost_async_channel_register_thread_unsafe(int vid, uint16_t queue_id);\n * @return\n * 0 on success, -1 on failures\n */\n-__rte_experimental\n int rte_vhost_async_channel_unregister_thread_unsafe(int vid,\n \t\tuint16_t queue_id);\n \n@@ -95,7 +91,6 @@ int rte_vhost_async_channel_unregister_thread_unsafe(int vid,\n * @return\n * num of packets enqueued\n */\n-__rte_experimental\n uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,\n \t\tstruct rte_mbuf **pkts, uint16_t count, int16_t dma_id,\n \t\tuint16_t vchan_id);\n@@ -120,7 +115,6 @@ uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,\n * @return\n * num of packets returned\n */\n-__rte_experimental\n uint16_t rte_vhost_poll_enqueue_completed(int vid, uint16_t queue_id,\n \t\tstruct rte_mbuf **pkts, uint16_t count, int16_t dma_id,\n \t\tuint16_t vchan_id);\n@@ -136,7 +130,6 @@ uint16_t rte_vhost_poll_enqueue_completed(int vid, uint16_t queue_id,\n * @return\n * the amount of in-flight packets on success; -1 on failure\n */\n-__rte_experimental\n int rte_vhost_async_get_inflight(int vid, uint16_t queue_id);\n \n /**\n@@ -153,7 +146,6 @@ int rte_vhost_async_get_inflight(int vid, uint16_t queue_id);\n * @return\n * the amount of in-flight packets on success; -1 on failure\n */\n-__rte_experimental\n int rte_vhost_async_get_inflight_thread_unsafe(int vid, uint16_t queue_id);\n \n /**\n@@ -178,7 +170,6 @@ int rte_vhost_async_get_inflight_thread_unsafe(int vid, uint16_t queue_id);\n * @return\n * Number of packets returned\n */\n-__rte_experimental\n uint16_t rte_vhost_clear_queue_thread_unsafe(int vid, uint16_t queue_id,\n \t\tstruct rte_mbuf **pkts, uint16_t count, int16_t dma_id,\n \t\tuint16_t vchan_id);\n@@ -203,7 +194,6 @@ uint16_t rte_vhost_clear_queue_thread_unsafe(int vid, uint16_t queue_id,\n * @return\n * Number of packets returned\n */\n-__rte_experimental\n uint16_t rte_vhost_clear_queue(int vid, uint16_t queue_id,\n \t\tstruct rte_mbuf **pkts, uint16_t count, int16_t dma_id,\n \t\tuint16_t vchan_id);\n@@ -226,13 +216,9 @@ uint16_t rte_vhost_clear_queue(int vid, uint16_t queue_id,\n * @return\n * 0 on success, and -1 on failure\n */\n-__rte_experimental\n int rte_vhost_async_dma_configure(int16_t dma_id, uint16_t vchan_id);\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change, or be removed, without prior notice\n- *\n * This function tries to receive packets from the guest with offloading\n * copies to the DMA vChannels. Successfully dequeued packets are returned\n * in \"pkts\". The other packets that their copies are submitted to\n@@ -260,16 +246,12 @@ int rte_vhost_async_dma_configure(int16_t dma_id, uint16_t vchan_id);\n * @return\n * Number of successfully dequeued packets\n */\n-__rte_experimental\n uint16_t\n rte_vhost_async_try_dequeue_burst(int vid, uint16_t queue_id,\n \tstruct rte_mempool *mbuf_pool, struct rte_mbuf **pkts, uint16_t count,\n \tint *nr_inflight, int16_t dma_id, uint16_t vchan_id);\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change, or be removed, without prior notice.\n- *\n * Unconfigure DMA vChannel in Vhost asynchronous data path.\n * This function should be called when the specified DMA vChannel is no longer\n * used by the Vhost library. Before this function is called, make sure there\n@@ -282,7 +264,6 @@ rte_vhost_async_try_dequeue_burst(int vid, uint16_t queue_id,\n * @return\n * 0 on success, and -1 on failure\n */\n-__rte_experimental\n int\n rte_vhost_async_dma_unconfigure(int16_t dma_id, uint16_t vchan_id);\n \ndiff --git a/lib/vhost/rte_vhost_crypto.h b/lib/vhost/rte_vhost_crypto.h\nindex 2b01ecda0880..71a30ba202be 100644\n--- a/lib/vhost/rte_vhost_crypto.h\n+++ b/lib/vhost/rte_vhost_crypto.h\n@@ -40,7 +40,6 @@ enum rte_vhost_crypto_zero_copy {\n * @return\n * 0 on success, -1 on failure\n */\n-__rte_experimental\n int\n rte_vhost_crypto_driver_start(const char *path);\n \ndiff --git a/lib/vhost/version.map b/lib/vhost/version.map\nindex 5bc133dafda2..9696c4d91fe8 100644\n--- a/lib/vhost/version.map\n+++ b/lib/vhost/version.map\n@@ -9,10 +9,23 @@ DPDK_24 {\n \trte_vdpa_get_stats;\n \trte_vdpa_get_stats_names;\n \trte_vdpa_reset_stats;\n+\trte_vhost_async_channel_register;\n+\trte_vhost_async_channel_register_thread_unsafe;\n+\trte_vhost_async_channel_unregister;\n+\trte_vhost_async_channel_unregister_thread_unsafe;\n+\trte_vhost_async_dma_configure;\n+\trte_vhost_async_dma_unconfigure;\n+\trte_vhost_async_get_inflight;\n+\trte_vhost_async_get_inflight_thread_unsafe;\n+\trte_vhost_async_try_dequeue_burst;\n \trte_vhost_avail_entries;\n+\trte_vhost_backend_config_change;\n+\trte_vhost_clear_queue;\n+\trte_vhost_clear_queue_thread_unsafe;\n \trte_vhost_clr_inflight_desc_packed;\n \trte_vhost_clr_inflight_desc_split;\n \trte_vhost_crypto_create;\n+\trte_vhost_crypto_driver_start;\n \trte_vhost_crypto_fetch_requests;\n \trte_vhost_crypto_finalize_requests;\n \trte_vhost_crypto_free;\n@@ -26,6 +39,7 @@ DPDK_24 {\n \trte_vhost_driver_get_features;\n \trte_vhost_driver_get_protocol_features;\n \trte_vhost_driver_get_queue_num;\n+\trte_vhost_driver_get_vdpa_dev_type;\n \trte_vhost_driver_get_vdpa_device;\n \trte_vhost_driver_register;\n \trte_vhost_driver_set_features;\n@@ -38,8 +52,10 @@ DPDK_24 {\n \trte_vhost_get_ifname;\n \trte_vhost_get_log_base;\n \trte_vhost_get_mem_table;\n+\trte_vhost_get_monitor_addr;\n \trte_vhost_get_mtu;\n \trte_vhost_get_negotiated_features;\n+\trte_vhost_get_negotiated_protocol_features;\n \trte_vhost_get_numa_node;\n \trte_vhost_get_vdpa_device;\n \trte_vhost_get_vhost_ring_inflight;\n@@ -49,14 +65,17 @@ DPDK_24 {\n \trte_vhost_get_vring_num;\n \trte_vhost_log_used_vring;\n \trte_vhost_log_write;\n+\trte_vhost_poll_enqueue_completed;\n \trte_vhost_rx_queue_count;\n \trte_vhost_set_inflight_desc_packed;\n \trte_vhost_set_inflight_desc_split;\n \trte_vhost_set_last_inflight_io_packed;\n \trte_vhost_set_last_inflight_io_split;\n \trte_vhost_set_vring_base;\n+\trte_vhost_submit_enqueue_burst;\n \trte_vhost_va_from_guest_pa;\n \trte_vhost_vring_call;\n+\trte_vhost_vring_call_nonblock;\n \trte_vhost_vring_stats_get;\n \trte_vhost_vring_stats_get_names;\n \trte_vhost_vring_stats_reset;\n@@ -67,38 +86,6 @@ DPDK_24 {\n EXPERIMENTAL {\n \tglobal:\n \n-\trte_vhost_crypto_driver_start;\n-\trte_vhost_backend_config_change;\n-\trte_vhost_async_channel_register;\n-\trte_vhost_async_channel_unregister;\n-\trte_vhost_submit_enqueue_burst;\n-\trte_vhost_poll_enqueue_completed;\n-\n-\t# added in 21.05\n-\trte_vhost_get_negotiated_protocol_features;\n-\n-\t# added in 21.08\n-\trte_vhost_async_get_inflight;\n-\trte_vhost_async_channel_register_thread_unsafe;\n-\trte_vhost_async_channel_unregister_thread_unsafe;\n-\trte_vhost_clear_queue_thread_unsafe;\n-\n-\t# added in 21.11\n-\trte_vhost_get_monitor_addr;\n-\n-\t# added in 22.03\n-\trte_vhost_async_dma_configure;\n-\n-\t# added in 22.07\n-\trte_vhost_async_get_inflight_thread_unsafe;\n-\trte_vhost_async_try_dequeue_burst;\n-\trte_vhost_driver_get_vdpa_dev_type;\n-\trte_vhost_clear_queue;\n-\n-\t# added in 22.11\n-\trte_vhost_async_dma_unconfigure;\n-\trte_vhost_vring_call_nonblock;\n-\n \t# added in 23.07\n \trte_vhost_driver_set_max_queue_num;\n \trte_vhost_notify_guest;\n", "prefixes": [ "v2", "21/29" ] }{ "id": 129986, "url": "