get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 86292,
    "url": "http://patches.dpdk.org/api/patches/86292/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1610373560-253158-11-git-send-email-matan@nvidia.com/",
    "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": "<1610373560-253158-11-git-send-email-matan@nvidia.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1610373560-253158-11-git-send-email-matan@nvidia.com",
    "date": "2021-01-11T13:59:20",
    "name": "[10/10] compress/mlx5: add the supported capabilities",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "daf0afdfb233313dc242229ff98dd3cfd631efbf",
    "submitter": {
        "id": 1911,
        "url": "http://patches.dpdk.org/api/people/1911/?format=api",
        "name": "Matan Azrad",
        "email": "matan@nvidia.com"
    },
    "delegate": {
        "id": 6690,
        "url": "http://patches.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1610373560-253158-11-git-send-email-matan@nvidia.com/mbox/",
    "series": [
        {
            "id": 14634,
            "url": "http://patches.dpdk.org/api/series/14634/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=14634",
            "date": "2021-01-11T13:59:10",
            "name": "add mlx5 compress PMD",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/14634/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/86292/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/86292/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 A77A5A09FF;\n\tMon, 11 Jan 2021 15:01:01 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 48E8D140D3A;\n\tMon, 11 Jan 2021 15:00:03 +0100 (CET)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by mails.dpdk.org (Postfix) with ESMTP id CDC96140D3A\n for <dev@dpdk.org>; Mon, 11 Jan 2021 15:00:01 +0100 (CET)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n matan@nvidia.com) with SMTP; 11 Jan 2021 15:59:59 +0200",
            "from pegasus25.mtr.labs.mlnx. (pegasus25.mtr.labs.mlnx\n [10.210.16.10])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 10BDxPKR010436;\n Mon, 11 Jan 2021 15:59:59 +0200"
        ],
        "From": "Matan Azrad <matan@nvidia.com>",
        "To": "dev@dpdk.org",
        "Cc": "Thomas Monjalon <thomas@monjalon.net>,\n Ashish Gupta <ashish.gupta@marvell.com>,\n Fiona Trahe <fiona.trahe@intel.com>",
        "Date": "Mon, 11 Jan 2021 13:59:20 +0000",
        "Message-Id": "<1610373560-253158-11-git-send-email-matan@nvidia.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1610373560-253158-1-git-send-email-matan@nvidia.com>",
        "References": "<1610373560-253158-1-git-send-email-matan@nvidia.com>",
        "Subject": "[dpdk-dev] [PATCH 10/10] compress/mlx5: add the supported\n capabilities",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Add all the capabilities supported by the device.\n\nSigned-off-by: Matan Azrad <matan@nvidia.com>\n---\n drivers/compress/mlx5/mlx5_compress.c | 24 ++++++++++++++++++++++--\n 1 file changed, 22 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/compress/mlx5/mlx5_compress.c b/drivers/compress/mlx5/mlx5_compress.c\nindex d768453..7384351 100644\n--- a/drivers/compress/mlx5/mlx5_compress.c\n+++ b/drivers/compress/mlx5/mlx5_compress.c\n@@ -74,8 +74,28 @@ struct mlx5_compress_qp {\n \n int mlx5_compress_logtype;\n \n-const struct rte_compressdev_capabilities mlx5_caps[RTE_COMP_ALGO_LIST_END];\n-\n+static const struct rte_compressdev_capabilities mlx5_caps[] = {\n+\t{\n+\t\t.algo = RTE_COMP_ALGO_NULL,\n+\t\t.comp_feature_flags = RTE_COMP_FF_ADLER32_CHECKSUM |\n+\t\t\t\t      RTE_COMP_FF_CRC32_CHECKSUM |\n+\t\t\t\t      RTE_COMP_FF_CRC32_ADLER32_CHECKSUM |\n+\t\t\t\t      RTE_COMP_FF_SHAREABLE_PRIV_XFORM,\n+\t},\n+\t{\n+\t\t.algo = RTE_COMP_ALGO_DEFLATE,\n+\t\t.comp_feature_flags = RTE_COMP_FF_ADLER32_CHECKSUM |\n+\t\t\t\t      RTE_COMP_FF_CRC32_CHECKSUM |\n+\t\t\t\t      RTE_COMP_FF_CRC32_ADLER32_CHECKSUM |\n+\t\t\t\t      RTE_COMP_FF_SHAREABLE_PRIV_XFORM |\n+\t\t\t\t      RTE_COMP_FF_HUFFMAN_FIXED |\n+\t\t\t\t      RTE_COMP_FF_HUFFMAN_DYNAMIC,\n+\t\t.window_size = {.min = 10, .max = 15, .increment = 1},\n+\t},\n+\t{\n+\t\t.algo = RTE_COMP_ALGO_LIST_END,\n+\t}\n+};\n \n static void\n mlx5_compress_dev_info_get(struct rte_compressdev *dev,\n",
    "prefixes": [
        "10/10"
    ]
}