Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/129989/?format=api
http://patchwork.dpdk.org/api/patches/129989/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230809001017.293037-25-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-25-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20230809001017.293037-25-stephen@networkplumber.org", "date": "2023-08-09T00:10:12", "name": "[v2,24/29] compressdev: remove experimental flag", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "0fc25b7456b510df0d7aa7772f31f69500a7b78b", "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-25-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/129989/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/129989/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 E703743011;\n\tWed, 9 Aug 2023 02:13:02 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9E3C7432D8;\n\tWed, 9 Aug 2023 02:10:59 +0200 (CEST)", "from mail-pl1-f171.google.com (mail-pl1-f171.google.com\n [209.85.214.171])\n by mails.dpdk.org (Postfix) with ESMTP id 4E6D9432BC\n for <dev@dpdk.org>; Wed, 9 Aug 2023 02:10:53 +0200 (CEST)", "by mail-pl1-f171.google.com with SMTP id\n d9443c01a7336-1bc7e65ea44so2868405ad.1\n for <dev@dpdk.org>; Tue, 08 Aug 2023 17:10:53 -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.51\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 08 Aug 2023 17:10:51 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691539852;\n x=1692144652;\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=VPDc7PwaSH5G1PzYikhk/cPaP13JA6FxJ5z3usO1/1w=;\n b=Awus6OZ/lU4yZiwj6u3FAUIWp97UXfG06kzeAwEH/nJqCkaqipv/K6uUZzIG3YcuEM\n 2VSM6FAeNbnPWgPhbqe61Gk87qalgHERsubkZPVX42IVGMuQo2t5Ftx86DSlUySt4NEt\n KyrcxO6eJDZwh5lQkgiNWMlDhOHpBEzGrE2D1rgSLEu6vK2Ou1pq+TOu8TO9k7BJ5wQc\n U9lM4xXcGXTxAmU1bI5DjtBN9WM85025+bukq0SeAIFGqkBkDj9CkZbi0bhyCztya2TZ\n eGh40pUL/gTS0aMPmTWleWBuR6BvSXmwimp7LuXM3ULD9KYiezHQv7Hyl71grm+zzxuu\n mT/g==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20221208; t=1691539852; x=1692144652;\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=VPDc7PwaSH5G1PzYikhk/cPaP13JA6FxJ5z3usO1/1w=;\n b=jtkkHDxZh49gcd24AHG1hqeX0v0+lCraM9KWmFAl6qucITJXpbSpHYnxao8A8JLC94\n 9t9i+nRQ57LPbFT5M4t5Z1sLe9FhNmovqgxHBIwC1P3QpG0PvVfJaef6pPBBAoXr5MjB\n Cyx20SA59HtklIIDlkaCRt3CSHmzwqPylCZglL50vhuCs15zOTBxCcYtwJZb3Cd/HDNU\n cQkie7aRXurQWxi7SeVQ3KZy51+MWPKepF8vfyx73djDFUMqGihTMgSBwrb/gcYmuV41\n HHEto2sRVhO7/W9TBfdwD7rIW+a3t1vXOR4Xf2LaN9UeoZsB2iJjumxSehfxj2gAKlFY\n xHPw==", "X-Gm-Message-State": "AOJu0Yx9cZIAhv00oA8qZmJKkSoLRbzyygxAW5oBNt3IkWQTpNkAdlX0\n x74tD/6Q81K4NSc5F0Vr5jD2D7DNV5O926nC25ud/w==", "X-Google-Smtp-Source": "\n AGHT+IH5RQEMvwYVceWRE2GUoIjzjOtnj4dEsjcrQ6lapZBVPGdIBSwrwJEohm4IcFwDhLXul1hUkw==", "X-Received": "by 2002:a17:902:ec8a:b0:1bc:1e17:6d70 with SMTP id\n x10-20020a170902ec8a00b001bc1e176d70mr1827480plg.24.1691539852219;\n Tue, 08 Aug 2023 17:10:52 -0700 (PDT)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Thomas Monjalon <thomas@monjalon.net>, Fan Zhang <fanzhang.oss@gmail.com>,\n Ashish Gupta <ashish.gupta@marvell.com>", "Subject": "[PATCH v2 24/29] compressdev: remove experimental flag", "Date": "Tue, 8 Aug 2023 17:10:12 -0700", "Message-Id": "<20230809001017.293037-25-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": "The compressdev can not hide under the experimental flag.\nRemove the experimental flag and require ABI to be stable.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n MAINTAINERS | 2 +-\n lib/compressdev/rte_comp.h | 6 ------\n lib/compressdev/rte_compressdev.h | 26 --------------------------\n lib/compressdev/rte_compressdev_pmd.h | 6 ------\n lib/compressdev/version.map | 2 +-\n 5 files changed, 2 insertions(+), 40 deletions(-)", "diff": "diff --git a/MAINTAINERS b/MAINTAINERS\nindex f020972b609b..75e020892471 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -458,7 +458,7 @@ F: lib/security/\n F: doc/guides/prog_guide/rte_security.rst\n F: app/test/test_security*\n \n-Compression API - EXPERIMENTAL\n+Compression API\n M: Fan Zhang <fanzhang.oss@gmail.com>\n M: Ashish Gupta <ashish.gupta@marvell.com>\n T: git://dpdk.org/next/dpdk-next-crypto\ndiff --git a/lib/compressdev/rte_comp.h b/lib/compressdev/rte_comp.h\nindex bf896d07223c..232564cf5e9a 100644\n--- a/lib/compressdev/rte_comp.h\n+++ b/lib/compressdev/rte_comp.h\n@@ -499,7 +499,6 @@ struct rte_comp_op {\n * - On success pointer to mempool\n * - On failure NULL\n */\n-__rte_experimental\n struct rte_mempool *\n rte_comp_op_pool_create(const char *name,\n \t\tunsigned int nb_elts, unsigned int cache_size,\n@@ -515,7 +514,6 @@ rte_comp_op_pool_create(const char *name,\n * - On success returns a valid rte_comp_op structure\n * - On failure returns NULL\n */\n-__rte_experimental\n struct rte_comp_op *\n rte_comp_op_alloc(struct rte_mempool *mempool);\n \n@@ -532,7 +530,6 @@ rte_comp_op_alloc(struct rte_mempool *mempool);\n * - nb_ops: Success, the nb_ops requested was allocated\n * - 0: Not enough entries in the mempool; no ops are retrieved.\n */\n-__rte_experimental\n int\n rte_comp_op_bulk_alloc(struct rte_mempool *mempool,\n \t\tstruct rte_comp_op **ops, uint16_t nb_ops);\n@@ -546,7 +543,6 @@ rte_comp_op_bulk_alloc(struct rte_mempool *mempool,\n * Compress operation pointer allocated from rte_comp_op_alloc()\n * If op is NULL, no operation is performed.\n */\n-__rte_experimental\n void\n rte_comp_op_free(struct rte_comp_op *op);\n \n@@ -561,7 +557,6 @@ rte_comp_op_free(struct rte_comp_op *op);\n * @param nb_ops\n * Number of operations to free\n */\n-__rte_experimental\n void\n rte_comp_op_bulk_free(struct rte_comp_op **ops, uint16_t nb_ops);\n \n@@ -574,7 +569,6 @@ rte_comp_op_bulk_free(struct rte_comp_op **ops, uint16_t nb_ops);\n * @return\n * The name of this flag, or NULL if it's not a valid feature flag.\n */\n-__rte_experimental\n const char *\n rte_comp_get_feature_name(uint64_t flag);\n \ndiff --git a/lib/compressdev/rte_compressdev.h b/lib/compressdev/rte_compressdev.h\nindex 13a418631893..8cb5db0e3f7d 100644\n--- a/lib/compressdev/rte_compressdev.h\n+++ b/lib/compressdev/rte_compressdev.h\n@@ -10,10 +10,6 @@\n *\n * RTE Compression Device APIs.\n *\n- * @warning\n- * @b EXPERIMENTAL:\n- * All functions in this file may be changed or removed without prior notice.\n- *\n * Defines comp device APIs for the provisioning of compression operations.\n */\n \n@@ -54,7 +50,6 @@ struct rte_compressdev_capabilities {\n #define RTE_COMP_END_OF_CAPABILITIES_LIST() \\\n \t{ RTE_COMP_ALGO_UNSPECIFIED }\n \n-__rte_experimental\n const struct rte_compressdev_capabilities *\n rte_compressdev_capability_get(uint8_t dev_id,\n \t\t\tenum rte_comp_algorithm algo);\n@@ -94,7 +89,6 @@ rte_compressdev_capability_get(uint8_t dev_id,\n * @return\n * The name of this flag, or NULL if it's not a valid feature flag.\n */\n-__rte_experimental\n const char *\n rte_compressdev_get_feature_name(uint64_t flag);\n \n@@ -133,7 +127,6 @@ struct rte_compressdev_stats {\n * - Returns compress device identifier on success.\n * - Return -1 on failure to find named compress device.\n */\n-__rte_experimental\n int\n rte_compressdev_get_dev_id(const char *name);\n \n@@ -146,7 +139,6 @@ rte_compressdev_get_dev_id(const char *name);\n * - Returns compress device name.\n * - Returns NULL if compress device is not present.\n */\n-__rte_experimental\n const char *\n rte_compressdev_name_get(uint8_t dev_id);\n \n@@ -157,7 +149,6 @@ rte_compressdev_name_get(uint8_t dev_id);\n * @return\n * - The total number of usable compress devices.\n */\n-__rte_experimental\n uint8_t\n rte_compressdev_count(void);\n \n@@ -175,7 +166,6 @@ rte_compressdev_count(void);\n * @return\n * Returns number of attached compress devices.\n */\n-__rte_experimental\n uint8_t\n rte_compressdev_devices_get(const char *driver_name, uint8_t *devices,\n \t\tuint8_t nb_devices);\n@@ -190,7 +180,6 @@ rte_compressdev_devices_get(const char *driver_name, uint8_t *devices,\n * a default of zero if the socket could not be determined.\n * -1 if returned is the dev_id value is out of range.\n */\n-__rte_experimental\n int\n rte_compressdev_socket_id(uint8_t dev_id);\n \n@@ -221,7 +210,6 @@ struct rte_compressdev_config {\n * - 0: Success, device configured.\n * - <0: Error code returned by the driver configuration function.\n */\n-__rte_experimental\n int\n rte_compressdev_configure(uint8_t dev_id,\n \t\t\tstruct rte_compressdev_config *config);\n@@ -240,7 +228,6 @@ rte_compressdev_configure(uint8_t dev_id,\n * - 0: Success, device started.\n * - <0: Error code of the driver device start function.\n */\n-__rte_experimental\n int\n rte_compressdev_start(uint8_t dev_id);\n \n@@ -251,7 +238,6 @@ rte_compressdev_start(uint8_t dev_id);\n * @param dev_id\n * Compress device identifier\n */\n-__rte_experimental\n void\n rte_compressdev_stop(uint8_t dev_id);\n \n@@ -269,7 +255,6 @@ rte_compressdev_stop(uint8_t dev_id);\n * - 0 on successfully closing device\n * - <0 on failure to close device\n */\n-__rte_experimental\n int\n rte_compressdev_close(uint8_t dev_id);\n \n@@ -296,7 +281,6 @@ rte_compressdev_close(uint8_t dev_id);\n * - 0: Success, queue pair correctly set up.\n * - <0: Queue pair configuration failed\n */\n-__rte_experimental\n int\n rte_compressdev_queue_pair_setup(uint8_t dev_id, uint16_t queue_pair_id,\n \t\tuint32_t max_inflight_ops, int socket_id);\n@@ -309,7 +293,6 @@ rte_compressdev_queue_pair_setup(uint8_t dev_id, uint16_t queue_pair_id,\n * @return\n * - The number of configured queue pairs.\n */\n-__rte_experimental\n uint16_t\n rte_compressdev_queue_pair_count(uint8_t dev_id);\n \n@@ -327,7 +310,6 @@ rte_compressdev_queue_pair_count(uint8_t dev_id);\n * - Zero if successful.\n * - Non-zero otherwise.\n */\n-__rte_experimental\n int\n rte_compressdev_stats_get(uint8_t dev_id, struct rte_compressdev_stats *stats);\n \n@@ -337,7 +319,6 @@ rte_compressdev_stats_get(uint8_t dev_id, struct rte_compressdev_stats *stats);\n * @param dev_id\n * The identifier of the device.\n */\n-__rte_experimental\n void\n rte_compressdev_stats_reset(uint8_t dev_id);\n \n@@ -355,7 +336,6 @@ rte_compressdev_stats_reset(uint8_t dev_id);\n * The element after the last valid element has it's op field set to\n * RTE_COMP_ALGO_UNSPECIFIED.\n */\n-__rte_experimental\n void\n rte_compressdev_info_get(uint8_t dev_id, struct rte_compressdev_info *dev_info);\n \n@@ -413,7 +393,6 @@ rte_compressdev_info_get(uint8_t dev_id, struct rte_compressdev_info *dev_info);\n * of pointers to *rte_comp_op* structures effectively supplied to the\n * *ops* array.\n */\n-__rte_experimental\n uint16_t\n rte_compressdev_dequeue_burst(uint8_t dev_id, uint16_t qp_id,\n \t\tstruct rte_comp_op **ops, uint16_t nb_ops);\n@@ -468,7 +447,6 @@ rte_compressdev_dequeue_burst(uint8_t dev_id, uint16_t qp_id,\n * comp devices queue is full or if invalid parameters are specified in\n * a *rte_comp_op*.\n */\n-__rte_experimental\n uint16_t\n rte_compressdev_enqueue_burst(uint8_t dev_id, uint16_t qp_id,\n \t\tstruct rte_comp_op **ops, uint16_t nb_ops);\n@@ -496,7 +474,6 @@ rte_compressdev_enqueue_burst(uint8_t dev_id, uint16_t qp_id,\n * - Returns -ENOTSUP if comp device does not support the comp transform.\n * - Returns -ENOMEM if the private stream could not be allocated.\n */\n-__rte_experimental\n int\n rte_compressdev_stream_create(uint8_t dev_id,\n \t\tconst struct rte_comp_xform *xform,\n@@ -518,7 +495,6 @@ rte_compressdev_stream_create(uint8_t dev_id,\n * - Returns -ENOTSUP if comp device does not support STATEFUL operations.\n * - Returns -EBUSY if can't free stream as there are inflight operations\n */\n-__rte_experimental\n int\n rte_compressdev_stream_free(uint8_t dev_id, void *stream);\n \n@@ -545,7 +521,6 @@ rte_compressdev_stream_free(uint8_t dev_id, void *stream);\n * - Returns -ENOTSUP if comp device does not support the comp transform.\n * - Returns -ENOMEM if the private_xform could not be allocated.\n */\n-__rte_experimental\n int\n rte_compressdev_private_xform_create(uint8_t dev_id,\n \t\tconst struct rte_comp_xform *xform,\n@@ -567,7 +542,6 @@ rte_compressdev_private_xform_create(uint8_t dev_id,\n * - <0 in error cases\n * - Returns -EINVAL if input parameters are invalid.\n */\n-__rte_experimental\n int\n rte_compressdev_private_xform_free(uint8_t dev_id, void *private_xform);\n \ndiff --git a/lib/compressdev/rte_compressdev_pmd.h b/lib/compressdev/rte_compressdev_pmd.h\nindex ea012908b783..fa233492fe1f 100644\n--- a/lib/compressdev/rte_compressdev_pmd.h\n+++ b/lib/compressdev/rte_compressdev_pmd.h\n@@ -59,7 +59,6 @@ struct rte_compressdev_global {\n * @return\n * - The rte_compressdev structure pointer for the given device identifier.\n */\n-__rte_experimental\n struct rte_compressdev *\n rte_compressdev_pmd_get_named_dev(const char *name);\n \n@@ -292,7 +291,6 @@ struct rte_compressdev_ops {\n * @return\n * - Slot in the rte_dev_devices array for a new device;\n */\n-__rte_experimental\n struct rte_compressdev *\n rte_compressdev_pmd_allocate(const char *name, int socket_id);\n \n@@ -308,7 +306,6 @@ rte_compressdev_pmd_allocate(const char *name, int socket_id);\n * @return\n * - 0 on success, negative on error\n */\n-__rte_experimental\n int\n rte_compressdev_pmd_release_device(struct rte_compressdev *dev);\n \n@@ -331,7 +328,6 @@ rte_compressdev_pmd_release_device(struct rte_compressdev *dev);\n * - 0 on success\n * - errno on failure\n */\n-__rte_experimental\n int\n rte_compressdev_pmd_parse_input_args(\n \t\tstruct rte_compressdev_pmd_init_params *params,\n@@ -353,7 +349,6 @@ rte_compressdev_pmd_parse_input_args(\n * - comp device instance on success\n * - NULL on creation failure\n */\n-__rte_experimental\n struct rte_compressdev *\n rte_compressdev_pmd_create(const char *name,\n \t\tstruct rte_device *device,\n@@ -372,7 +367,6 @@ rte_compressdev_pmd_create(const char *name,\n * - 0 on success\n * - errno on failure\n */\n-__rte_experimental\n int\n rte_compressdev_pmd_destroy(struct rte_compressdev *dev);\n \ndiff --git a/lib/compressdev/version.map b/lib/compressdev/version.map\nindex e2a108b6509f..fa891f669b5d 100644\n--- a/lib/compressdev/version.map\n+++ b/lib/compressdev/version.map\n@@ -1,4 +1,4 @@\n-EXPERIMENTAL {\n+DPDK_24 {\n \tglobal:\n \n \trte_compressdev_capability_get;\n", "prefixes": [ "v2", "24/29" ] }{ "id": 129989, "url": "