get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 87751,
    "url": "https://patches.dpdk.org/api/patches/87751/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210204160728.16048-1-akozyrev@nvidia.com/",
    "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": "<20210204160728.16048-1-akozyrev@nvidia.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210204160728.16048-1-akozyrev@nvidia.com",
    "date": "2021-02-04T16:07:28",
    "name": "net/mlx5: fix default CQE compression config",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "a0698bc4f60eabb6e8fcd2f7b80e09e988cc52da",
    "submitter": {
        "id": 1873,
        "url": "https://patches.dpdk.org/api/people/1873/?format=api",
        "name": "Alexander Kozyrev",
        "email": "akozyrev@nvidia.com"
    },
    "delegate": {
        "id": 3268,
        "url": "https://patches.dpdk.org/api/users/3268/?format=api",
        "username": "rasland",
        "first_name": "Raslan",
        "last_name": "Darawsheh",
        "email": "rasland@nvidia.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210204160728.16048-1-akozyrev@nvidia.com/mbox/",
    "series": [
        {
            "id": 15172,
            "url": "https://patches.dpdk.org/api/series/15172/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=15172",
            "date": "2021-02-04T16:07:28",
            "name": "net/mlx5: fix default CQE compression config",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/15172/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/87751/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/87751/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 01EC2A0524;\n\tThu,  4 Feb 2021 17:07:37 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 81ACD24068D;\n\tThu,  4 Feb 2021 17:07:37 +0100 (CET)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by mails.dpdk.org (Postfix) with ESMTP id D4CD6240682\n for <dev@dpdk.org>; Thu,  4 Feb 2021 17:07:35 +0100 (CET)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n akozyrev@nvidia.com) with SMTP; 4 Feb 2021 18:07:31 +0200",
            "from nvidia.com (pegasus02.mtr.labs.mlnx [10.210.16.122])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 114G7UKZ025873;\n Thu, 4 Feb 2021 18:07:30 +0200"
        ],
        "From": "Alexander Kozyrev <akozyrev@nvidia.com>",
        "To": "dev@dpdk.org",
        "Cc": "rasland@nvidia.com, ferruh.yigit@intel.com, viacheslavo@nvidia.com",
        "Date": "Thu,  4 Feb 2021 16:07:28 +0000",
        "Message-Id": "<20210204160728.16048-1-akozyrev@nvidia.com>",
        "X-Mailer": "git-send-email 2.24.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH] net/mlx5: fix default CQE compression config",
        "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": "CQE compression must be enabled by default unless the rxq_cqe_comp_en\ndevarg is set to 0 or FW cannot support CQE compression for some reason.\nThe latest commit that introduced checks for FW capabilities for new\nCQE zipping formats disables the CQE compression unless the devarg is 1.\nRevert this logic and enable CQE compression by default again.\nPlease squash this fix with the original commit.\n\nFixes: f5ae0d46b9 (\"net/mlx5: check FW miniCQE format capabilities\")\n\nSigned-off-by: Alexander Kozyrev <akozyrev@nvidia.com>\n---\n drivers/net/mlx5/linux/mlx5_os.c | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/drivers/net/mlx5/linux/mlx5_os.c b/drivers/net/mlx5/linux/mlx5_os.c\nindex 79a4376f91..2dc079779d 100644\n--- a/drivers/net/mlx5/linux/mlx5_os.c\n+++ b/drivers/net/mlx5/linux/mlx5_os.c\n@@ -867,6 +867,8 @@ mlx5_dev_spawn(struct rte_device *dpdk_dev,\n \t\t\tmprq_caps.max_single_wqe_log_num_of_strides;\n \t}\n #endif\n+\t/* Rx CQE compression is enabled by default. */\n+\tconfig->cqe_comp = 1;\n #ifdef HAVE_IBV_DEVICE_TUNNEL_SUPPORT\n \tif (dv_attr.comp_mask & MLX5DV_CONTEXT_MASK_TUNNEL_OFFLOADS) {\n \t\ttunnel_en = ((dv_attr.tunnel_offloads_caps &\n",
    "prefixes": []
}