get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 70707,
    "url": "https://patches.dpdk.org/api/patches/70707/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1590991783-326932-1-git-send-email-suanmingm@mellanox.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": "<1590991783-326932-1-git-send-email-suanmingm@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1590991783-326932-1-git-send-email-suanmingm@mellanox.com",
    "date": "2020-06-01T06:09:41",
    "name": "[0/2] net/mlx5: add reclaim memory mode devarg",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 1358,
        "url": "https://patches.dpdk.org/api/people/1358/?format=api",
        "name": "Suanming Mou",
        "email": "suanmingm@mellanox.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1590991783-326932-1-git-send-email-suanmingm@mellanox.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/70707/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/70707/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 DC563A04EF;\n\tMon,  1 Jun 2020 08:09:50 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 1C2081D37F;\n\tMon,  1 Jun 2020 08:09:50 +0200 (CEST)",
            "from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130])\n by dpdk.org (Postfix) with ESMTP id 840B31C1C4\n for <dev@dpdk.org>; Mon,  1 Jun 2020 08:09:48 +0200 (CEST)"
        ],
        "From": "Suanming Mou <suanmingm@mellanox.com>",
        "To": "viacheslavo@mellanox.com,\n\tmatan@mellanox.com",
        "Cc": "rasland@mellanox.com,\n\tdev@dpdk.org",
        "Date": "Mon,  1 Jun 2020 14:09:41 +0800",
        "Message-Id": "<1590991783-326932-1-git-send-email-suanmingm@mellanox.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "Subject": "[dpdk-dev] [PATCH 0/2] net/mlx5: add reclaim memory mode devarg",
        "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 flow destroyed, some memory resources may still be kept\nas cached to help next time create flow more efficiently.\n\nSome system may need the resources to be more flexible with flow create\nand destroy.  After peak time, with millions of flows destroyed, the\nsystem would prefer the resources to be reclaimed completely, no cache\nis needed. Then the resources can be allocated and used by other\ncomponents. The system is not so sensitive about the flow insertion\nrate, but more care about the resources.\n\nBoth DPDK mlx5 PMD driver and the low level component rdma-core have\nprovided the flow resources to be configured cached or not, but there is\nno APIs or parameters exposed to user to configure the flow resources\ncache mode. In this case, introduce a new PMD devarg to let user\nconfigure the flow resources cache mode will be helpful.\n\nThis commit is to add a new \"reclaim_mem_mode\" to help user configure if\nthe destroyed flows' cache resources should be kept or not.\n\nTheir will be three mode can be chosen:\n1. 0(none). It means the flow resources will be cached as usual. The\nresources will be cached, helpful with flow insertion rate.\n2. 1(light). It will only enable the DPDK PMD level resources reclaim.\n3. 2(aggressive). Both DPDK PMD level and rdma-core low level will be\nconfigured as reclaimed mode.\n\nWith these three mode, user can configure the resources cache mode with\ndifferent levels.\n\nSuanming Mou (2):\n  common/mlx5: add memory reclaim glue function\n  net/mlx5: add reclaim memory mode devarg\n\n doc/guides/nics/mlx5.rst               | 20 ++++++++++++++++++++\n doc/guides/rel_notes/release_20_08.rst |  6 ++++++\n drivers/common/mlx5/Makefile           |  5 +++++\n drivers/common/mlx5/meson.build        |  2 ++\n drivers/common/mlx5/mlx5_glue.c        | 13 +++++++++++++\n drivers/common/mlx5/mlx5_glue.h        |  1 +\n drivers/net/mlx5/mlx5.c                | 24 +++++++++++++++++++++++-\n drivers/net/mlx5/mlx5.h                | 13 +++++++++++++\n 8 files changed, 83 insertions(+), 1 deletion(-)",
    "diff": null,
    "prefixes": [
        "0/2"
    ]
}