get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 133267,
    "url": "https://patches.dpdk.org/api/patches/133267/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20231024163123.12576-1-stephen@networkplumber.org/",
    "project": {
        "id": 1,
        "url": "https://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": "<20231024163123.12576-1-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20231024163123.12576-1-stephen@networkplumber.org",
    "date": "2023-10-24T16:31:23",
    "name": "vhost: make experimental API's stable",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "fde3d751f8501bcb614b1ee0ecc0903d87e61887",
    "submitter": {
        "id": 27,
        "url": "https://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 2642,
        "url": "https://patches.dpdk.org/api/users/2642/?format=api",
        "username": "mcoquelin",
        "first_name": "Maxime",
        "last_name": "Coquelin",
        "email": "maxime.coquelin@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20231024163123.12576-1-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 29967,
            "url": "https://patches.dpdk.org/api/series/29967/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=29967",
            "date": "2023-10-24T16:31:23",
            "name": "vhost: make experimental API's stable",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/29967/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/133267/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/133267/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 23795431F0;\n\tTue, 24 Oct 2023 18:31:37 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id ACE35402C5;\n\tTue, 24 Oct 2023 18:31:36 +0200 (CEST)",
            "from mail-pf1-f170.google.com (mail-pf1-f170.google.com\n [209.85.210.170])\n by mails.dpdk.org (Postfix) with ESMTP id 18B914021D\n for <dev@dpdk.org>; Tue, 24 Oct 2023 18:31:35 +0200 (CEST)",
            "by mail-pf1-f170.google.com with SMTP id\n d2e1a72fcca58-6bf03b98b9bso3782298b3a.1\n for <dev@dpdk.org>; Tue, 24 Oct 2023 09:31:35 -0700 (PDT)",
            "from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68])\n by smtp.gmail.com with ESMTPSA id\n z20-20020aa79494000000b006926d199fdcsm7809486pfk.190.2023.10.24.09.31.33\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 24 Oct 2023 09:31:33 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698165094;\n x=1698769894; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=+sR+Rcsq0Yh774M171ejVqhdWYKqjkWDL1r8bLi49CE=;\n b=XhxcC9+/b4vwpBiptTN6NNI6+zqtFoWICNyWFE8KzcuS+tAptnA8ExTLrlO6i0nqrk\n VOOYkcH2aYWcWemPRPZpxov6rmCt2slHrCFqEumyXxpc5IKxHLWRK3Qx5C0KpoK4n0LR\n 3l4SJ1u1rV3b8T9oOFtGlhRpmqDEJGiNeYV7fWATYNRmfxknaKRPebgqBvA6E9DFM+1+\n 0WwZ2Bcrlvl/vsMZRjtGfZY7b00TojFOZmu5EUm20CNhGhZZxc1NH/uOaJOdaPbQPvT2\n JcMTfO96DuiioYQ5WQaxmnQ/JYlGb021CBcrTEDCJ8oP7zAul4GFg9m36gqY29MMRBkh\n Vz5w==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1698165094; x=1698769894;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=+sR+Rcsq0Yh774M171ejVqhdWYKqjkWDL1r8bLi49CE=;\n b=v9hFgetqKRVW26uyTjC35u0yNex4Ll7HIA14d1CHjGoDhLXHDxQGBM+O4Afv9L3BeF\n jDrLyevYTGWHxwUF6UgzWRTU3NBKPcMXrLJdSi99H1unYxvbYoIjq0jTyoaRTPKlZ5NB\n KiiVZTwBWABxioMcbEKqLgAdRGfV8Tu/qe5eie1TU/zb7aEch4t2L2Zfn0wsLcNU60Db\n wmOdrnXYEtQok2FkTxL0c3wT8CaczzURyB2BZWSItCFL1X6pmG7BkSjRxwI+iG9ojMW7\n dpAh2y3aX/i+Slu4oj7XN5aJX04Z2OJTvHooEED8+MCgzeK3yol8jrNmdRovpSYL3XbJ\n Rxig==",
        "X-Gm-Message-State": "AOJu0YzbAnLi9zROwXygvr7PuCcxAhSPIR4t3ub+/JBjF+1UQDoIztrU\n /rA8rDhBhc3ApmcJP4g2spBXXxXbQZyn12jeVDeBJw==",
        "X-Google-Smtp-Source": "\n AGHT+IGl2UQYv2R/ur9JZfBjTVvZRrKNcrXbraHmat22lNsmCQbUdBVyTAPyixZ0MUY3vsa+Z9Ob8g==",
        "X-Received": "by 2002:a05:6a20:9187:b0:17a:eff5:fbbe with SMTP id\n v7-20020a056a20918700b0017aeff5fbbemr4355817pzd.8.1698165093949;\n Tue, 24 Oct 2023 09:31:33 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Maxime Coquelin <maxime.coquelin@redhat.com>,\n Chenbo Xia <chenbo.xia@intel.com>,\n Stephen Hemminger <stephen@networkplumber.org>",
        "Subject": "[PATCH] vhost: make experimental API's stable",
        "Date": "Tue, 24 Oct 2023 09:31:23 -0700",
        "Message-Id": "<20231024163123.12576-1-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.39.2",
        "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": "Transistion API's added from 2008 to 2022 to stable; except\nfor async API's that are planned to be deprecated.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n lib/vhost/rte_vhost.h        |  5 -----\n lib/vhost/rte_vhost_async.h  |  4 ----\n lib/vhost/rte_vhost_crypto.h |  1 -\n lib/vhost/version.map        | 25 +++++++++++--------------\n 4 files changed, 11 insertions(+), 24 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..d9395c8fea69 100644\n--- a/lib/vhost/rte_vhost_async.h\n+++ b/lib/vhost/rte_vhost_async.h\n@@ -95,7 +95,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 +119,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@@ -178,7 +176,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 +200,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);\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..c3b677b9df05 100644\n--- a/lib/vhost/version.map\n+++ b/lib/vhost/version.map\n@@ -10,9 +10,13 @@ DPDK_24 {\n \trte_vdpa_get_stats_names;\n \trte_vdpa_reset_stats;\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 +30,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 +43,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 +56,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,24 +77,14 @@ DPDK_24 {\n EXPERIMENTAL {\n \tglobal:\n \n-\trte_vhost_crypto_driver_start;\n-\trte_vhost_backend_config_change;\n+\t# added in 20.08\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@@ -92,12 +92,9 @@ EXPERIMENTAL {\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",
    "prefixes": []
}