get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 84775,
    "url": "http://patches.dpdk.org/api/patches/84775/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1607320714-358846-1-git-send-email-suanmingm@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": "<1607320714-358846-1-git-send-email-suanmingm@nvidia.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1607320714-358846-1-git-send-email-suanmingm@nvidia.com",
    "date": "2020-12-07T05:58:34",
    "name": "net/mlx5: optimize tunnel offload index pool",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "62d5a2adeb5992a4e239ee6f7d163156047ed017",
    "submitter": {
        "id": 1887,
        "url": "http://patches.dpdk.org/api/people/1887/?format=api",
        "name": "Suanming Mou",
        "email": "suanmingm@nvidia.com"
    },
    "delegate": {
        "id": 3268,
        "url": "http://patches.dpdk.org/api/users/3268/?format=api",
        "username": "rasland",
        "first_name": "Raslan",
        "last_name": "Darawsheh",
        "email": "rasland@nvidia.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1607320714-358846-1-git-send-email-suanmingm@nvidia.com/mbox/",
    "series": [
        {
            "id": 14196,
            "url": "http://patches.dpdk.org/api/series/14196/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=14196",
            "date": "2020-12-07T05:58:34",
            "name": "net/mlx5: optimize tunnel offload index pool",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/14196/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/84775/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/84775/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 5D22AA0524;\n\tMon,  7 Dec 2020 06:58:46 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 60F05F72;\n\tMon,  7 Dec 2020 06:58:44 +0100 (CET)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id 94075E07\n for <dev@dpdk.org>; Mon,  7 Dec 2020 06:58:42 +0100 (CET)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n suanmingm@nvidia.com) with SMTP; 7 Dec 2020 07:58:40 +0200",
            "from nvidia.com (mtbc-r640-04.mtbc.labs.mlnx [10.75.70.9])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 0B75wcYK003735;\n Mon, 7 Dec 2020 07:58:38 +0200"
        ],
        "From": "Suanming Mou <suanmingm@nvidia.com>",
        "To": "viacheslavo@nvidia.com, matan@nvidia.com",
        "Cc": "rasland@nvidia.com, dev@dpdk.org",
        "Date": "Mon,  7 Dec 2020 13:58:34 +0800",
        "Message-Id": "<1607320714-358846-1-git-send-email-suanmingm@nvidia.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "Subject": "[dpdk-dev] [PATCH] net/mlx5: optimize tunnel offload index pool",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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": "Currently, when creating the index pool, if the trunk size is not\nconfigured, the index pool default trunk size will be 4096.\n\nThe maximum tunnel offload supported now is 256(MLX5_MAX_TUNNELS),\ncreate the index pool with trunk size 4096 wastes the memory.\n\nThis commits changes the tunnel offload index pool trunk size to\nMLX5_MAX_TUNNELS to save the memory.\n\nSigned-off-by: Suanming Mou <suanmingm@nvidia.com>\nReviewed-by: Gregory Etelson <getelson@nvidia.com>\nAcked-by: Matan Azrad <matan@nvidia.com>\n---\n drivers/net/mlx5/mlx5.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c\nindex ca3667a..a742f4b 100644\n--- a/drivers/net/mlx5/mlx5.c\n+++ b/drivers/net/mlx5/mlx5.c\n@@ -265,6 +265,7 @@ static LIST_HEAD(, mlx5_dev_ctx_shared) mlx5_dev_ctx_list =\n \t},\n \t[MLX5_IPOOL_TUNNEL_ID] = {\n \t\t.size = sizeof(struct mlx5_flow_tunnel),\n+\t\t.trunk_size = MLX5_MAX_TUNNELS,\n \t\t.need_lock = 1,\n \t\t.release_mem_en = 1,\n \t\t.type = \"mlx5_tunnel_offload\",\n",
    "prefixes": []
}