get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 107695,
    "url": "http://patches.dpdk.org/api/patches/107695/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220216160610.475242-3-bruce.richardson@intel.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": "<20220216160610.475242-3-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220216160610.475242-3-bruce.richardson@intel.com",
    "date": "2022-02-16T16:06:08",
    "name": "[2/3] dma/idxd: configure max batch size to high value",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "a58e1d5b67fc5d415af30780d56c49c713a5918d",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220216160610.475242-3-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 21696,
            "url": "http://patches.dpdk.org/api/series/21696/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=21696",
            "date": "2022-02-16T16:06:09",
            "name": "idxd driver update fixes",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/21696/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/107695/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/107695/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 A468FA00C5;\n\tWed, 16 Feb 2022 17:08:29 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9670941169;\n\tWed, 16 Feb 2022 17:08:29 +0100 (CET)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id F3ADF40150;\n Wed, 16 Feb 2022 17:08:27 +0100 (CET)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Feb 2022 08:06:39 -0800",
            "from silpixa00401026.ir.intel.com ([10.243.22.62])\n by orsmga005.jf.intel.com with ESMTP; 16 Feb 2022 08:06:37 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1645027708; x=1676563708;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=3ENkEFvJhg0TDFwKtY5RLQGlBw6dmvox33aQ85eDMf8=;\n b=YaWYzpfPQ5smhM2tnA8e2UTki1IBgJy4nOnM0TZky7/WVxOwPZC5p8dy\n 74YZa7edGltDCujEgUD9Gwm8P3NFtCLCeczKumtloIrE0xxfkf+Z3wJAG\n jrLQ69laGc6PrCu+/82JVGN3PaM41xC9h/ziqLgr0M99EF49+GZ4XlYSV\n /ZHcK7v0GyOe/BcXqWb+nHxEb9FFAXwaXqY41Pd6d93fOxcKm+pdMmQbp\n SknFtziZ8uRlR2NpSopEerzFUvmwvlEbeIHgRcQCipTXrLy1X5X9H8LWE\n vEHvPFsNZPjvFKTrSgRZUsslBleSdMZ9jn9H0qndtB53NqaeggMdjtfvL A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10260\"; a=\"250853269\"",
            "E=Sophos;i=\"5.88,374,1635231600\"; d=\"scan'208\";a=\"250853269\"",
            "E=Sophos;i=\"5.88,374,1635231600\"; d=\"scan'208\";a=\"704363259\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>, stable@dpdk.org,\n Kevin Laatz <kevin.laatz@intel.com>",
        "Subject": "[PATCH 2/3] dma/idxd: configure max batch size to high value",
        "Date": "Wed, 16 Feb 2022 16:06:08 +0000",
        "Message-Id": "<20220216160610.475242-3-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.32.0",
        "In-Reply-To": "<20220216160610.475242-1-bruce.richardson@intel.com>",
        "References": "<20220216160610.475242-1-bruce.richardson@intel.com>",
        "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": "When configuring an Intel DSA instance using the utility script\ndpdk_idxd_cfg.py, explicitly set the max supported batch size value to a\nhigh value, to ensure large bursts are supported if so desired. The\ndefault in the linux kernel is now just 32 [1], which may not be\nsufficient for all DPDK apps.\n\n[1] https://lore.kernel.org/r/163528473483.3926048.7950067926287180976.stgit@djiang5-desk3.ch.intel.com\n\nCc: stable@dpdk.org\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\nNote: although not fixing a bug in DPDK itself, due to kernel changes\nthis patch should be considered for backport as a fix, so cc'ing stable.\n---\n drivers/dma/idxd/dpdk_idxd_cfg.py | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/dma/idxd/dpdk_idxd_cfg.py b/drivers/dma/idxd/dpdk_idxd_cfg.py\nindex 34537cb980..3f5d5ee752 100755\n--- a/drivers/dma/idxd/dpdk_idxd_cfg.py\n+++ b/drivers/dma/idxd/dpdk_idxd_cfg.py\n@@ -89,6 +89,7 @@ def configure_dsa(dsa_id, queues, prefix):\n                              \"mode\": \"dedicated\",\n                              \"name\": f\"{prefix}_wq{dsa_id}.{q}\",\n                              \"priority\": 1,\n+                             \"max_batch_size\": 1024,\n                              \"size\": int(max_work_queues_size / nb_queues)})\n \n     # enable device and then queues\n",
    "prefixes": [
        "2/3"
    ]
}