get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 91528,
    "url": "https://patches.dpdk.org/api/patches/91528/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210415050929.2082949-1-lizh@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": "<20210415050929.2082949-1-lizh@nvidia.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210415050929.2082949-1-lizh@nvidia.com",
    "date": "2021-04-15T05:09:25",
    "name": "[v6,0/4] net/mlx5: support meter policy operations",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 1967,
        "url": "https://patches.dpdk.org/api/people/1967/?format=api",
        "name": "Li Zhang",
        "email": "lizh@nvidia.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210415050929.2082949-1-lizh@nvidia.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/91528/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/91528/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 95DDCA0A0C;\n\tThu, 15 Apr 2021 07:09:36 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6685F161F7C;\n\tThu, 15 Apr 2021 07:09:36 +0200 (CEST)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by mails.dpdk.org (Postfix) with ESMTP id 74F3E161F74\n for <dev@dpdk.org>; Thu, 15 Apr 2021 07:09:35 +0200 (CEST)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n lizh@nvidia.com)\n with SMTP; 15 Apr 2021 08:09:34 +0300",
            "from nvidia.com (c-235-17-1-009.mtl.labs.mlnx [10.235.17.9])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 13F59YFa027304;\n Thu, 15 Apr 2021 08:09:34 +0300"
        ],
        "From": "Li Zhang <lizh@nvidia.com>",
        "To": "dekelp@nvidia.com, orika@nvidia.com, viacheslavo@nvidia.com,\n matan@nvidia.com, shahafs@nvidia.com",
        "Cc": "dev@dpdk.org, thomas@monjalon.net, rasland@nvidia.com, roniba@nvidia.com",
        "Date": "Thu, 15 Apr 2021 08:09:25 +0300",
        "Message-Id": "<20210415050929.2082949-1-lizh@nvidia.com>",
        "X-Mailer": "git-send-email 2.21.0",
        "In-Reply-To": "<20210401081624.1482490-1-lizh@nvidia.com>",
        "References": "<20210401081624.1482490-1-lizh@nvidia.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v6 0/4] net/mlx5: support meter policy operations",
        "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": "MLX5 PMD checks the validation of actions in policy while add\na new meter policy, if pass the validation, allocates the new\npolicy object from the meter policy indexed memory pool.\n\nIt is common to use the same policy for multiple meters.\nMLX5 PMD supports two types of policy: termination policy and\nno-termination policy.\n\nThe termination policy must have a fate action as in the policy\nactions, it can support QUEUE, RSS, PORT_ID, DROP, JUMP, MARK and SET_TAG\nactions if policy color is GREEN, also supports DROP action\nif policy color is RED.\n\nThe no-termination policy uses policy ID 0 as default policy,\nit is created internal and cannot be changed by API. The default\npolicy red action is drop, green action is jump to suffix table.\nCreate this policy by policy API with green/yellow no action,\nred with drop action.\nOne example in testpmd command:\nadd port meter policy 0 g_actions end y_actions end r_actions drop / end\n\nDepends-on: series=16351  (\"Add ASO meter support in MLX5 PMD \")\nhttps://patchwork.dpdk.org/project/dpdk/list/?series=16351\n\nDepends-on: series=16389  (\"Support meter policy API \")\nhttps://patchwork.dpdk.org/project/dpdk/list/?series=16389\n\nV2: Add MLX5_MTR_DEFAULT_POLICY_ID in MLX5 PMD\nV3: Fix comments about Depends-on\nV4: Fix comments about rte_mtr_meter_policy_add.\nV5: Fix comments about destory meter on different ports.\nV6: Fix comments about Depends-on\n\nLi Zhang (3):\n  net/mlx5: support meter policy operations\n  net/mlx5: support meter creation with policy\n  net/mlx5: prepare sub-policy for a flow with meter\n\nShun Hao (1):\n  net/mlx5: connect meter policy to created flows\n\n doc/guides/nics/mlx5.rst           |   12 +\n drivers/net/mlx5/linux/mlx5_os.c   |   13 +-\n drivers/net/mlx5/mlx5.c            |   77 +-\n drivers/net/mlx5/mlx5.h            |  212 +++-\n drivers/net/mlx5/mlx5_flow.c       |  654 ++++++++--\n drivers/net/mlx5/mlx5_flow.h       |  119 +-\n drivers/net/mlx5/mlx5_flow_aso.c   |   10 +-\n drivers/net/mlx5/mlx5_flow_dv.c    | 1896 ++++++++++++++++++++++++++--\n drivers/net/mlx5/mlx5_flow_meter.c |  742 ++++++++++-\n drivers/net/mlx5/mlx5_trigger.c    |    1 +\n 10 files changed, 3373 insertions(+), 363 deletions(-)",
    "diff": null,
    "prefixes": [
        "v6",
        "0/4"
    ]
}