get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 114650,
    "url": "http://patches.dpdk.org/api/patches/114650/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220804190602.1045171-6-andrew.rybchenko@oktetlabs.ru/",
    "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": "<20220804190602.1045171-6-andrew.rybchenko@oktetlabs.ru>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220804190602.1045171-6-andrew.rybchenko@oktetlabs.ru",
    "date": "2022-08-04T19:05:57",
    "name": "[05/10] ethdev: remove deprecated DCB and VMDq defines",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "0b8b677d1ea2a9d243fe57240bc718ff16f27373",
    "submitter": {
        "id": 2013,
        "url": "http://patches.dpdk.org/api/people/2013/?format=api",
        "name": "Andrew Rybchenko",
        "email": "Andrew.Rybchenko@oktetlabs.ru"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220804190602.1045171-6-andrew.rybchenko@oktetlabs.ru/mbox/",
    "series": [
        {
            "id": 24206,
            "url": "http://patches.dpdk.org/api/series/24206/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=24206",
            "date": "2022-08-04T19:05:54",
            "name": "ethdev: cleanup deprecated defines",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/24206/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/114650/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/114650/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 A35E7A00C4;\n\tThu,  4 Aug 2022 21:06:41 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0166F42C14;\n\tThu,  4 Aug 2022 21:06:17 +0200 (CEST)",
            "from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113])\n by mails.dpdk.org (Postfix) with ESMTP id A3B4C4067C\n for <dev@dpdk.org>; Thu,  4 Aug 2022 21:06:12 +0200 (CEST)",
            "by shelob.oktetlabs.ru (Postfix, from userid 115)\n id 68804B1; Thu,  4 Aug 2022 22:06:12 +0300 (MSK)",
            "from aros.oktetlabs.ru (aros.oktetlabs.ru [192.168.38.17])\n by shelob.oktetlabs.ru (Postfix) with ESMTP id 3F8E3C1;\n Thu,  4 Aug 2022 22:06:09 +0300 (MSK)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.6 (2021-04-09) on mail1.oktetlabs.ru",
        "X-Spam-Level": "*",
        "X-Spam-Status": "No, score=1.6 required=5.0 tests=ALL_TRUSTED,\n DKIM_ADSP_DISCARD,\n UPPERCASE_50_75 autolearn=no autolearn_force=no version=3.4.6",
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 3F8E3C1",
        "Authentication-Results": "shelob.oktetlabs.ru/3F8E3C1; dkim=none;\n dkim-atps=neutral",
        "From": "Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>",
        "To": "Thomas Monjalon <thomas@monjalon.net>,\n Ferruh Yigit <ferruh.yigit@xilinx.com>",
        "Cc": "dev@dpdk.org",
        "Subject": "[PATCH 05/10] ethdev: remove deprecated DCB and VMDq defines",
        "Date": "Thu,  4 Aug 2022 22:05:57 +0300",
        "Message-Id": "<20220804190602.1045171-6-andrew.rybchenko@oktetlabs.ru>",
        "X-Mailer": "git-send-email 2.30.2",
        "In-Reply-To": "<20220804190602.1045171-1-andrew.rybchenko@oktetlabs.ru>",
        "References": "<20220804190602.1045171-1-andrew.rybchenko@oktetlabs.ru>",
        "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": "Remove deprecated ``ETH_DCB_*``, ``ETH_VMDQ_``, ``ETH_*_TCS``,\n``ETH_*_POOLS`` and ``ETH_MAX_VMDQ_POOL`` defines. Use corresponding\ndefines with ``RTE_`` prefix instead.\n\nSigned-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>\n---\n doc/guides/rel_notes/release_22_11.rst |  4 ++++\n lib/ethdev/rte_ethdev.h                | 24 ------------------------\n 2 files changed, 4 insertions(+), 24 deletions(-)",
    "diff": "diff --git a/doc/guides/rel_notes/release_22_11.rst b/doc/guides/rel_notes/release_22_11.rst\nindex 0bed31cbaa..a2e3097d61 100644\n--- a/doc/guides/rel_notes/release_22_11.rst\n+++ b/doc/guides/rel_notes/release_22_11.rst\n@@ -99,6 +99,10 @@ API Changes\n   defines. Use corresponding defines with ``RTE_ETH_RX_OFFLOAD_`` and\n   ``RTE_ETH_TX_OFFLOAD_`` prefix instead.\n \n+* ethdev: Removed deprecated ``ETH_DCB_*``, ``ETH_VMDQ_``, ``ETH_*_TCS``,\n+  ``ETH_*_POOLS`` and ``ETH_MAX_VMDQ_POOL`` defines. Use corresponding\n+  defines with ``RTE_`` prefix instead.\n+\n \n ABI Changes\n -----------\ndiff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h\nindex 3552535780..029582837c 100644\n--- a/lib/ethdev/rte_ethdev.h\n+++ b/lib/ethdev/rte_ethdev.h\n@@ -810,19 +810,11 @@ rte_eth_rss_hf_refine(uint64_t rss_hf)\n #define RTE_ETH_DCB_NUM_QUEUES          128 /**< Maximum nb. of DCB queues. */\n /**@}*/\n \n-#define ETH_VMDQ_MAX_VLAN_FILTERS   RTE_DEPRECATED(ETH_VMDQ_MAX_VLAN_FILTERS)   RTE_ETH_VMDQ_MAX_VLAN_FILTERS\n-#define ETH_DCB_NUM_USER_PRIORITIES RTE_DEPRECATED(ETH_DCB_NUM_USER_PRIORITIES) RTE_ETH_DCB_NUM_USER_PRIORITIES\n-#define ETH_VMDQ_DCB_NUM_QUEUES     RTE_DEPRECATED(ETH_VMDQ_DCB_NUM_QUEUES)     RTE_ETH_VMDQ_DCB_NUM_QUEUES\n-#define ETH_DCB_NUM_QUEUES          RTE_DEPRECATED(ETH_DCB_NUM_QUEUES)          RTE_ETH_DCB_NUM_QUEUES\n-\n /**@{@name DCB capabilities */\n #define RTE_ETH_DCB_PG_SUPPORT      RTE_BIT32(0) /**< Priority Group(ETS) support. */\n #define RTE_ETH_DCB_PFC_SUPPORT     RTE_BIT32(1) /**< Priority Flow Control support. */\n /**@}*/\n \n-#define ETH_DCB_PG_SUPPORT  RTE_DEPRECATED(ETH_DCB_PG_SUPPORT)  RTE_ETH_DCB_PG_SUPPORT\n-#define ETH_DCB_PFC_SUPPORT RTE_DEPRECATED(ETH_DCB_PFC_SUPPORT) RTE_ETH_DCB_PFC_SUPPORT\n-\n /**@{@name VLAN offload bits */\n #define RTE_ETH_VLAN_STRIP_OFFLOAD   0x0001 /**< VLAN Strip  On/Off */\n #define RTE_ETH_VLAN_FILTER_OFFLOAD  0x0002 /**< VLAN Filter On/Off */\n@@ -853,7 +845,6 @@ rte_eth_rss_hf_refine(uint64_t rss_hf)\n \n /* Definitions used for unicast hash  */\n #define RTE_ETH_VMDQ_NUM_UC_HASH_ARRAY 128 /**< Maximum nb. of UC hash array. */\n-#define ETH_VMDQ_NUM_UC_HASH_ARRAY RTE_DEPRECATED(ETH_VMDQ_NUM_UC_HASH_ARRAY) RTE_ETH_VMDQ_NUM_UC_HASH_ARRAY\n \n /**@{@name VMDq Rx mode\n  * @see rte_eth_vmdq_rx_conf.rx_mode\n@@ -870,12 +861,6 @@ rte_eth_rss_hf_refine(uint64_t rss_hf)\n #define RTE_ETH_VMDQ_ACCEPT_MULTICAST  RTE_BIT32(4)\n /**@}*/\n \n-#define ETH_VMDQ_ACCEPT_UNTAG     RTE_DEPRECATED(ETH_VMDQ_ACCEPT_UNTAG)     RTE_ETH_VMDQ_ACCEPT_UNTAG\n-#define ETH_VMDQ_ACCEPT_HASH_MC   RTE_DEPRECATED(ETH_VMDQ_ACCEPT_HASH_MC)   RTE_ETH_VMDQ_ACCEPT_HASH_MC\n-#define ETH_VMDQ_ACCEPT_HASH_UC   RTE_DEPRECATED(ETH_VMDQ_ACCEPT_HASH_UC)   RTE_ETH_VMDQ_ACCEPT_HASH_UC\n-#define ETH_VMDQ_ACCEPT_BROADCAST RTE_DEPRECATED(ETH_VMDQ_ACCEPT_BROADCAST) RTE_ETH_VMDQ_ACCEPT_BROADCAST\n-#define ETH_VMDQ_ACCEPT_MULTICAST RTE_DEPRECATED(ETH_VMDQ_ACCEPT_MULTICAST) RTE_ETH_VMDQ_ACCEPT_MULTICAST\n-\n /**\n  * A structure used to configure 64 entries of Redirection Table of the\n  * Receive Side Scaling (RSS) feature of an Ethernet port. To configure\n@@ -897,8 +882,6 @@ enum rte_eth_nb_tcs {\n \tRTE_ETH_4_TCS = 4, /**< 4 TCs with DCB. */\n \tRTE_ETH_8_TCS = 8  /**< 8 TCs with DCB. */\n };\n-#define ETH_4_TCS RTE_DEPRECATED(ETH_4_TCS) RTE_ETH_4_TCS\n-#define ETH_8_TCS RTE_DEPRECATED(ETH_8_TCS) RTE_ETH_8_TCS\n \n /**\n  * This enum indicates the possible number of queue pools\n@@ -910,10 +893,6 @@ enum rte_eth_nb_pools {\n \tRTE_ETH_32_POOLS = 32,  /**< 32 VMDq pools. */\n \tRTE_ETH_64_POOLS = 64   /**< 64 VMDq pools. */\n };\n-#define ETH_8_POOLS  RTE_DEPRECATED(ETH_8_POOLS)  RTE_ETH_8_POOLS\n-#define ETH_16_POOLS RTE_DEPRECATED(ETH_16_POOLS) RTE_ETH_16_POOLS\n-#define ETH_32_POOLS RTE_DEPRECATED(ETH_32_POOLS) RTE_ETH_32_POOLS\n-#define ETH_64_POOLS RTE_DEPRECATED(ETH_64_POOLS) RTE_ETH_64_POOLS\n \n /* This structure may be extended in future. */\n struct rte_eth_dcb_rx_conf {\n@@ -1820,9 +1799,6 @@ struct rte_eth_xstat_name {\n #define RTE_ETH_DCB_NUM_TCS    8\n #define RTE_ETH_MAX_VMDQ_POOL  64\n \n-#define ETH_DCB_NUM_TCS   RTE_DEPRECATED(ETH_DCB_NUM_TCS)   RTE_ETH_DCB_NUM_TCS\n-#define ETH_MAX_VMDQ_POOL RTE_DEPRECATED(ETH_MAX_VMDQ_POOL) RTE_ETH_MAX_VMDQ_POOL\n-\n /**\n  * A structure used to get the information of queue and\n  * TC mapping on both Tx and Rx paths.\n",
    "prefixes": [
        "05/10"
    ]
}