get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 133043,
    "url": "http://patchwork.dpdk.org/api/patches/133043/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20231019191016.156430-15-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": "<20231019191016.156430-15-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20231019191016.156430-15-stephen@networkplumber.org",
    "date": "2023-10-19T19:10:02",
    "name": "[v4,14/28] dmadev: mark API's as not experimental",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "27204fdec111af77533c42ebdaae930e4828f25d",
    "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/20231019191016.156430-15-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 29925,
            "url": "http://patchwork.dpdk.org/api/series/29925/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=29925",
            "date": "2023-10-19T19:09:48",
            "name": "Promote many experimental API's to stable",
            "version": 4,
            "mbox": "http://patchwork.dpdk.org/series/29925/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/133043/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/133043/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 70732431B1;\n\tThu, 19 Oct 2023 21:12:24 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7F03542E74;\n\tThu, 19 Oct 2023 21:10:47 +0200 (CEST)",
            "from mail-pl1-f173.google.com (mail-pl1-f173.google.com\n [209.85.214.173])\n by mails.dpdk.org (Postfix) with ESMTP id DB59242DD9\n for <dev@dpdk.org>; Thu, 19 Oct 2023 21:10:39 +0200 (CEST)",
            "by mail-pl1-f173.google.com with SMTP id\n d9443c01a7336-1c9e95aa02dso623775ad.0\n for <dev@dpdk.org>; Thu, 19 Oct 2023 12:10:39 -0700 (PDT)",
            "from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68])\n by smtp.gmail.com with ESMTPSA id\n h12-20020a170902eecc00b001a9b29b6759sm52464plb.183.2023.10.19.12.10.38\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 19 Oct 2023 12:10:38 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697742639;\n x=1698347439; darn=dpdk.org;\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=W3cGlIgmln/FibqtBu9h7x5pHMGnWNGAQN9lDyAIUaQ=;\n b=SK7SWf78yZ9VoQjua02vDNXuE/YcCQN1fFuwuqXAMr8nP3xIo4oLb0+fUFM3lVdvYL\n VboVA8tJtVjHlVmRcUZ1kIYN7JbZesn6H8qL6+ApwKDG91ycJLQ7LHtPiec6bYoSbqW9\n ZMlT2OFkkl5vUfLHi0hiv2UZaI5/+yV5ps3Z5FHx3jNEKIvvbd0bUP5p/bVUKdYu8JzB\n aHbRtFbcYcQ4kLWHj20N1jsA4T1poCUQcZp0KxBsUB8avYEE2o4BxObhz1/MYRPa58ci\n FUsXp1+U2IMclzLXLoqjlF2Ghchq45nS3EsJ6Y+EUP8rWjCsqK5/bbLmNtTZ+gBnxti0\n h7Bg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1697742639; x=1698347439;\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=W3cGlIgmln/FibqtBu9h7x5pHMGnWNGAQN9lDyAIUaQ=;\n b=O3wR5n9KLVV2jEQ9QxcDlKxVM6hOMgU9Wxfs/60yRWb4IwrRKiZ1EkrO78Dngfpy+9\n LS6lnpB6DVvgEUfTbG3ECiNSrZYxMsxGP70PF8ruaEefbutl/ZUVr1qp9H1H3Lau66I6\n VdbbR2nQwksvVoI7feSTbOOVzhKRj2T/kcNgPc0C1+eDHQQjKvl5Vcr+C/TVo2WZS/Zj\n PJxJGiA08onF5+UzRRxVzxr31StxlKW3vwXzM7mjI+wJShGvbX7tmEVPOa1IWuNN5u7B\n KLi6pGIojwbRTDnqY64u+GengRh3btOL6tQdlEIDbq7OYBtNdCokiSZWGhs+RkU9IkWo\n ZCMg==",
        "X-Gm-Message-State": "AOJu0YwcFhNGyTmSg9lXm90ev6nL3B0//EdJTAjHnwNhOcFO1HZYQ/W+\n uq0vEIqq/IjVVVO0c/BENnEe4xRIzra0NtpncfOVUw==",
        "X-Google-Smtp-Source": "\n AGHT+IF4NV3iIEs99KTIYpJAg5FXnqxC2Vc+AVSONJqD1oQH8Eernf3Izqz+WBCeV0AGOzizPV0bdw==",
        "X-Received": "by 2002:a17:902:da8e:b0:1c7:36ff:1feb with SMTP id\n j14-20020a170902da8e00b001c736ff1febmr3895545plx.17.1697742638728;\n Thu, 19 Oct 2023 12:10:38 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Chengwen Feng <fengchengwen@huawei.com>,\n Bruce Richardson <bruce.richardson@intel.com>,\n Thomas Monjalon <thomas@monjalon.net>, Kevin Laatz <kevin.laatz@intel.com>",
        "Subject": "[PATCH v4 14/28] dmadev: mark API's as not experimental",
        "Date": "Thu, 19 Oct 2023 12:10:02 -0700",
        "Message-Id": "<20231019191016.156430-15-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.39.2",
        "In-Reply-To": "<20231019191016.156430-1-stephen@networkplumber.org>",
        "References": "<20230808173527.186042-1-stephen@networkplumber.org>\n <20231019191016.156430-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 were added in 20.11 time now to remove experimental flag.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\nAcked-by: Chengwen Feng <fengchengwen@huawei.com>\nAcked-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n MAINTAINERS             |  2 +-\n lib/dmadev/rte_dmadev.h | 85 -----------------------------------------\n lib/dmadev/version.map  |  2 +-\n 3 files changed, 2 insertions(+), 87 deletions(-)",
    "diff": "diff --git a/MAINTAINERS b/MAINTAINERS\nindex f77597571633..1534a414f754 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -483,7 +483,7 @@ F: doc/guides/prog_guide/mldev.rst\n F: app/test-mldev/\n F: doc/guides/tools/testmldev.rst\n \n-DMA device API - EXPERIMENTAL\n+DMA device API\n M: Chengwen Feng <fengchengwen@huawei.com>\n F: lib/dmadev/\n F: drivers/dma/skeleton/\ndiff --git a/lib/dmadev/rte_dmadev.h b/lib/dmadev/rte_dmadev.h\nindex 493263a5d627..2c09939ff6c5 100644\n--- a/lib/dmadev/rte_dmadev.h\n+++ b/lib/dmadev/rte_dmadev.h\n@@ -158,9 +158,6 @@ extern \"C\" {\n #define RTE_DMADEV_DEFAULT_MAX 64\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Configure the maximum number of dmadevs.\n  * @note This function can be invoked before the primary process rte_eal_init()\n  * to change the maximum number of dmadevs. If not invoked, the maximum number\n@@ -172,13 +169,9 @@ extern \"C\" {\n  * @return\n  *   0 on success. Otherwise negative value is returned.\n  */\n-__rte_experimental\n int rte_dma_dev_max(size_t dev_max);\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Get the device identifier for the named DMA device.\n  *\n  * @param name\n@@ -188,13 +181,9 @@ int rte_dma_dev_max(size_t dev_max);\n  *   Returns DMA device identifier on success.\n  *   - <0: Failure to find named DMA device.\n  */\n-__rte_experimental\n int rte_dma_get_dev_id_by_name(const char *name);\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Check whether the dev_id is valid.\n  *\n  * @param dev_id\n@@ -203,20 +192,15 @@ int rte_dma_get_dev_id_by_name(const char *name);\n  * @return\n  *   - If the device index is valid (true) or not (false).\n  */\n-__rte_experimental\n bool rte_dma_is_valid(int16_t dev_id);\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Get the total number of DMA devices that have been successfully\n  * initialised.\n  *\n  * @return\n  *   The total number of usable DMA devices.\n  */\n-__rte_experimental\n uint16_t rte_dma_count_avail(void);\n \n /**\n@@ -227,7 +211,6 @@ uint16_t rte_dma_count_avail(void);\n  * @return\n  *   Next valid dmadev, UINT16_MAX if there is none.\n  */\n-__rte_experimental\n int16_t rte_dma_next_dev(int16_t start_dev_id);\n \n /** Utility macro to iterate over all available dmadevs */\n@@ -318,9 +301,6 @@ struct rte_dma_info {\n };\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Retrieve information of a DMA device.\n  *\n  * @param dev_id\n@@ -332,7 +312,6 @@ struct rte_dma_info {\n  * @return\n  *   0 on success. Otherwise negative value is returned.\n  */\n-__rte_experimental\n int rte_dma_info_get(int16_t dev_id, struct rte_dma_info *dev_info);\n \n /**\n@@ -357,9 +336,6 @@ struct rte_dma_conf {\n };\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Configure a DMA device.\n  *\n  * This function must be invoked first before any other function in the\n@@ -375,13 +351,9 @@ struct rte_dma_conf {\n  * @return\n  *   0 on success. Otherwise negative value is returned.\n  */\n-__rte_experimental\n int rte_dma_configure(int16_t dev_id, const struct rte_dma_conf *dev_conf);\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Start a DMA device.\n  *\n  * The device start step is the last one and consists of setting the DMA\n@@ -393,13 +365,9 @@ int rte_dma_configure(int16_t dev_id, const struct rte_dma_conf *dev_conf);\n  * @return\n  *   0 on success. Otherwise negative value is returned.\n  */\n-__rte_experimental\n int rte_dma_start(int16_t dev_id);\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Stop a DMA device.\n  *\n  * The device can be restarted with a call to rte_dma_start().\n@@ -410,13 +378,9 @@ int rte_dma_start(int16_t dev_id);\n  * @return\n  *   0 on success. Otherwise negative value is returned.\n  */\n-__rte_experimental\n int rte_dma_stop(int16_t dev_id);\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Close a DMA device.\n  *\n  * The device cannot be restarted after this call.\n@@ -427,7 +391,6 @@ int rte_dma_stop(int16_t dev_id);\n  * @return\n  *   0 on success. Otherwise negative value is returned.\n  */\n-__rte_experimental\n int rte_dma_close(int16_t dev_id);\n \n /**\n@@ -620,9 +583,6 @@ struct rte_dma_vchan_conf {\n };\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Allocate and set up a virtual DMA channel.\n  *\n  * @param dev_id\n@@ -637,7 +597,6 @@ struct rte_dma_vchan_conf {\n  * @return\n  *   0 on success. Otherwise negative value is returned.\n  */\n-__rte_experimental\n int rte_dma_vchan_setup(int16_t dev_id, uint16_t vchan,\n \t\t\tconst struct rte_dma_vchan_conf *conf);\n \n@@ -666,9 +625,6 @@ struct rte_dma_stats {\n #define RTE_DMA_ALL_VCHAN\t0xFFFFu\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Retrieve basic statistics of a or all virtual DMA channel(s).\n  *\n  * @param dev_id\n@@ -683,14 +639,10 @@ struct rte_dma_stats {\n  * @return\n  *   0 on success. Otherwise negative value is returned.\n  */\n-__rte_experimental\n int rte_dma_stats_get(int16_t dev_id, uint16_t vchan,\n \t\t      struct rte_dma_stats *stats);\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Reset basic statistics of a or all virtual DMA channel(s).\n  *\n  * @param dev_id\n@@ -702,7 +654,6 @@ int rte_dma_stats_get(int16_t dev_id, uint16_t vchan,\n  * @return\n  *   0 on success. Otherwise negative value is returned.\n  */\n-__rte_experimental\n int rte_dma_stats_reset(int16_t dev_id, uint16_t vchan);\n \n /**\n@@ -718,9 +669,6 @@ enum rte_dma_vchan_status {\n };\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Determine if all jobs have completed on a device channel.\n  * This function is primarily designed for testing use, as it allows a process to check if\n  * all jobs are completed, without actually gathering completions from those jobs.\n@@ -735,14 +683,10 @@ enum rte_dma_vchan_status {\n  *   0 - call completed successfully\n  *   < 0 - error code indicating there was a problem calling the API\n  */\n-__rte_experimental\n int\n rte_dma_vchan_status(int16_t dev_id, uint16_t vchan, enum rte_dma_vchan_status *status);\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Dump DMA device info.\n  *\n  * @param dev_id\n@@ -753,7 +697,6 @@ rte_dma_vchan_status(int16_t dev_id, uint16_t vchan, enum rte_dma_vchan_status *\n  * @return\n  *   0 on success. Otherwise negative value is returned.\n  */\n-__rte_experimental\n int rte_dma_dump(int16_t dev_id, FILE *f);\n \n /**\n@@ -864,9 +807,6 @@ struct rte_dma_sge {\n /**@}*/\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Enqueue a copy operation onto the virtual DMA channel.\n  *\n  * This queues up a copy operation to be performed by hardware, if the 'flags'\n@@ -892,7 +832,6 @@ struct rte_dma_sge {\n  *   - -ENOSPC: if no space left to enqueue.\n  *   - other values < 0 on failure.\n  */\n-__rte_experimental\n static inline int\n rte_dma_copy(int16_t dev_id, uint16_t vchan, rte_iova_t src, rte_iova_t dst,\n \t     uint32_t length, uint64_t flags)\n@@ -910,9 +849,6 @@ rte_dma_copy(int16_t dev_id, uint16_t vchan, rte_iova_t src, rte_iova_t dst,\n }\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Enqueue a scatter-gather list copy operation onto the virtual DMA channel.\n  *\n  * This queues up a scatter-gather list copy operation to be performed by\n@@ -942,7 +878,6 @@ rte_dma_copy(int16_t dev_id, uint16_t vchan, rte_iova_t src, rte_iova_t dst,\n  *   - -ENOSPC: if no space left to enqueue.\n  *   - other values < 0 on failure.\n  */\n-__rte_experimental\n static inline int\n rte_dma_copy_sg(int16_t dev_id, uint16_t vchan, struct rte_dma_sge *src,\n \t\tstruct rte_dma_sge *dst, uint16_t nb_src, uint16_t nb_dst,\n@@ -963,9 +898,6 @@ rte_dma_copy_sg(int16_t dev_id, uint16_t vchan, struct rte_dma_sge *src,\n }\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Enqueue a fill operation onto the virtual DMA channel.\n  *\n  * This queues up a fill operation to be performed by hardware, if the 'flags'\n@@ -991,7 +923,6 @@ rte_dma_copy_sg(int16_t dev_id, uint16_t vchan, struct rte_dma_sge *src,\n  *   - -ENOSPC: if no space left to enqueue.\n  *   - other values < 0 on failure.\n  */\n-__rte_experimental\n static inline int\n rte_dma_fill(int16_t dev_id, uint16_t vchan, uint64_t pattern,\n \t     rte_iova_t dst, uint32_t length, uint64_t flags)\n@@ -1010,9 +941,6 @@ rte_dma_fill(int16_t dev_id, uint16_t vchan, uint64_t pattern,\n }\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Trigger hardware to begin performing enqueued operations.\n  *\n  * Writes the \"doorbell\" to the hardware to trigger it\n@@ -1026,7 +954,6 @@ rte_dma_fill(int16_t dev_id, uint16_t vchan, uint64_t pattern,\n  * @return\n  *   0 on success. Otherwise negative value is returned.\n  */\n-__rte_experimental\n static inline int\n rte_dma_submit(int16_t dev_id, uint16_t vchan)\n {\n@@ -1043,9 +970,6 @@ rte_dma_submit(int16_t dev_id, uint16_t vchan)\n }\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Return the number of operations that have been successfully completed.\n  * Once an operation has been reported as completed, the results of that\n  * operation will be visible to all cores on the system.\n@@ -1067,7 +991,6 @@ rte_dma_submit(int16_t dev_id, uint16_t vchan)\n  *   The number of operations that successfully completed. This return value\n  *   must be less than or equal to the value of nb_cpls.\n  */\n-__rte_experimental\n static inline uint16_t\n rte_dma_completed(int16_t dev_id, uint16_t vchan, const uint16_t nb_cpls,\n \t\t  uint16_t *last_idx, bool *has_error)\n@@ -1102,9 +1025,6 @@ rte_dma_completed(int16_t dev_id, uint16_t vchan, const uint16_t nb_cpls,\n }\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Return the number of operations that have been completed, and the operations\n  * result may succeed or fail.\n  * Once an operation has been reported as completed successfully, the results of that\n@@ -1130,7 +1050,6 @@ rte_dma_completed(int16_t dev_id, uint16_t vchan, const uint16_t nb_cpls,\n  *   If this number is greater than zero (assuming n), then n values in the\n  *   status array are also set.\n  */\n-__rte_experimental\n static inline uint16_t\n rte_dma_completed_status(int16_t dev_id, uint16_t vchan,\n \t\t\t const uint16_t nb_cpls, uint16_t *last_idx,\n@@ -1154,9 +1073,6 @@ rte_dma_completed_status(int16_t dev_id, uint16_t vchan,\n }\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n  * Check remaining capacity in descriptor ring for the current burst.\n  *\n  * @param dev_id\n@@ -1168,7 +1084,6 @@ rte_dma_completed_status(int16_t dev_id, uint16_t vchan,\n  *   - Remaining space in the descriptor ring for the current burst.\n  *   - 0 on error\n  */\n-__rte_experimental\n static inline uint16_t\n rte_dma_burst_capacity(int16_t dev_id, uint16_t vchan)\n {\ndiff --git a/lib/dmadev/version.map b/lib/dmadev/version.map\nindex 7031d6b335e9..2a3736514c8f 100644\n--- a/lib/dmadev/version.map\n+++ b/lib/dmadev/version.map\n@@ -1,4 +1,4 @@\n-EXPERIMENTAL {\n+DPDK_24 {\n \tglobal:\n \n \trte_dma_close;\n",
    "prefixes": [
        "v4",
        "14/28"
    ]
}