get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 116916,
    "url": "https://patches.dpdk.org/api/patches/116916/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220927001039.1393551-1-abdullah.sevincer@intel.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": "<20220927001039.1393551-1-abdullah.sevincer@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220927001039.1393551-1-abdullah.sevincer@intel.com",
    "date": "2022-09-27T00:10:39",
    "name": "[v2] doc: update DLB2 documentation",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "7d09ccb3e330899eef4f24d84fc80fb18f91a7c2",
    "submitter": {
        "id": 2843,
        "url": "https://patches.dpdk.org/api/people/2843/?format=api",
        "name": "Sevincer, Abdullah",
        "email": "abdullah.sevincer@intel.com"
    },
    "delegate": {
        "id": 310,
        "url": "https://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220927001039.1393551-1-abdullah.sevincer@intel.com/mbox/",
    "series": [
        {
            "id": 24843,
            "url": "https://patches.dpdk.org/api/series/24843/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=24843",
            "date": "2022-09-27T00:10:39",
            "name": "[v2] doc: update DLB2 documentation",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/24843/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/116916/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/116916/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 66BE2A00C2;\n\tTue, 27 Sep 2022 02:10:45 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4943340A8A;\n\tTue, 27 Sep 2022 02:10:45 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 0210740146\n for <dev@dpdk.org>; Tue, 27 Sep 2022 02:10:42 +0200 (CEST)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 26 Sep 2022 17:10:42 -0700",
            "from txanpdk02.an.intel.com ([10.123.117.76])\n by orsmga007.jf.intel.com with ESMTP; 26 Sep 2022 17:10:41 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1664237443; x=1695773443;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=YnMyB3LMkG6I9zep96iFFIzXu6Li7gRhCc5WVUW0JiI=;\n b=KdPi4iEwu/x+c/7Bu5umkjuekJhBABCyE0DL5ipzIDgN+2uHjPpK9hxC\n 1zZBo5ZxIhMx/NmwtadBijynlRX5cBuWe84dd5ic5kIrALvU+/3bYYyXG\n GyeFpeXkDKhsHrILnXnZFQZWkYJ1Rv8IiRPHCjGzEKVoBUTVdK8T7wzXF\n 5fH0bW9t0x3YKLa2Fv0+JJkpMNAzJMgRdb3KV8e66Ugkuj/x5TIn/0iYY\n tPfGg8b9Xha1+nw1vubXqSZC5y8wTzlpdqlGXhfEcyXVGd25vEos/kdmM\n EfDGYZYGpq60sJBfDSJerluMOEZwSOUxoakZA4v4uIrLtXNqG0PfBhAx/ Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10482\"; a=\"288317881\"",
            "E=Sophos;i=\"5.93,347,1654585200\"; d=\"scan'208\";a=\"288317881\"",
            "E=McAfee;i=\"6500,9779,10482\"; a=\"616620513\"",
            "E=Sophos;i=\"5.93,347,1654585200\"; d=\"scan'208\";a=\"616620513\""
        ],
        "X-ExtLoop1": "1",
        "From": "Abdullah Sevincer <abdullah.sevincer@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "jerinj@marvell.com, rashmi.shetty@intel.com, pravin.pathak@intel.com,\n mike.ximing.chen@intel.com, timothy.mcdaniel@intel.com,\n shivani.doneria@intel.com, tirthendu.sarkar@intel.com,\n Abdullah Sevincer <abdullah.sevincer@intel.com>",
        "Subject": "[PATCH v2] doc: update DLB2 documentation",
        "Date": "Mon, 26 Sep 2022 19:10:39 -0500",
        "Message-Id": "<20220927001039.1393551-1-abdullah.sevincer@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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"
    },
    "content": "This commit updates the dlb2.rst eventdev guide to document a\nnew devarg. A new devarg: \"default_port_allocation\" added\nto allow default ldb port allocation scheme.\n\nSigned-off-by: Abdullah Sevincer <abdullah.sevincer@intel.com>\n---\n doc/guides/eventdevs/dlb2.rst | 19 +++++++++++++++++++\n 1 file changed, 19 insertions(+)",
    "diff": "diff --git a/doc/guides/eventdevs/dlb2.rst b/doc/guides/eventdevs/dlb2.rst\nindex 5b21f13b68..2a0bdacfbd 100644\n--- a/doc/guides/eventdevs/dlb2.rst\n+++ b/doc/guides/eventdevs/dlb2.rst\n@@ -414,3 +414,22 @@ Note that the weight may not exceed the maximum CQ depth.\n        --allow ea:00.0,cq_weight=all:<weight>\n        --allow ea:00.0,cq_weight=qidA-qidB:<weight>\n        --allow ea:00.0,cq_weight=qid:<weight>\n+\n+Default LDB Port Allocation\n+~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+For optimal load balancing ports that map to one or more QIDs in common\n+should not be in numerical sequence. The port->QID mapping is application\n+dependent, but the driver interleaves port IDs as much as possible to\n+reduce the likelihood of sequential ports mapping to the same QID(s).\n+\n+Hence, DLB uses an initial allocation of Port IDs to maximize the\n+average distance between an ID and its immediate neighbors. (i.e.the\n+distance from 1 to 0 and to 2, the distance from 2 to 1 and to 3, etc.).\n+Initial port allocation option can be passed through devarg. If y (or Y)\n+inial port allocation will be used, otherwise initial port allocation\n+won't be used.\n+\n+    .. code-block:: console\n+\n+       --allow ea:00.0,default_port_allocation=<y/Y>\n",
    "prefixes": [
        "v2"
    ]
}