get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 139111,
    "url": "http://patchwork.dpdk.org/api/patches/139111/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20240404210447.1915517-2-nicolas.chautru@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20240404210447.1915517-2-nicolas.chautru@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240404210447.1915517-2-nicolas.chautru@intel.com",
    "date": "2024-04-04T21:04:45",
    "name": "[v1,1/3] bbdev: new queue stat for available enqueue depth",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f6b5f4ab5949a3dfaa06fb3677d28c4eb4971ef1",
    "submitter": {
        "id": 1314,
        "url": "http://patchwork.dpdk.org/api/people/1314/?format=api",
        "name": "Chautru, Nicolas",
        "email": "nicolas.chautru@intel.com"
    },
    "delegate": {
        "id": 2642,
        "url": "http://patchwork.dpdk.org/api/users/2642/?format=api",
        "username": "mcoquelin",
        "first_name": "Maxime",
        "last_name": "Coquelin",
        "email": "maxime.coquelin@redhat.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20240404210447.1915517-2-nicolas.chautru@intel.com/mbox/",
    "series": [
        {
            "id": 31682,
            "url": "http://patchwork.dpdk.org/api/series/31682/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=31682",
            "date": "2024-04-04T21:04:45",
            "name": "Additional queue stats",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/31682/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/139111/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/139111/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 B6B1643E02;\n\tThu,  4 Apr 2024 23:03:52 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8C53640A87;\n\tThu,  4 Apr 2024 23:03:52 +0200 (CEST)",
            "from mgamail.intel.com (mgamail.intel.com [198.175.65.14])\n by mails.dpdk.org (Postfix) with ESMTP id 9A0E1402BC\n for <dev@dpdk.org>; Thu,  4 Apr 2024 23:03:50 +0200 (CEST)",
            "from fmviesa010.fm.intel.com ([10.60.135.150])\n by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 04 Apr 2024 14:03:45 -0700",
            "from spr-npg-bds1-eec2.sn.intel.com (HELO spr-npg-bds1-eec2..)\n ([10.233.181.123])\n by fmviesa010.fm.intel.com with ESMTP; 04 Apr 2024 14:03:45 -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=1712264630; x=1743800630;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=Mm6Yiq4jUh1nzv15XIA2fDpieb0I+gM2iuGv539tzCY=;\n b=eMByaXcLu5s6nzXcglCZxmKcMh6/bluyr0yVn5B6eXq+XbUcW4bsW531\n fDNonYyxTT+bvjC7S5ue8X08uw/WqfojtGNAUHE3WvuCRKHap88qLU01i\n Ei6bXVzBaLhzL0qy/SmBvvnQhGE9vXtdCa9IdnNNiq+dVVYrEz6RTi1Ii\n JV9Sgszpwmu8OrliPq3bfq85sBJtn1uCvGNAoveBzCqg3g2fx2zVvjmzP\n M9TFY1UCSkUEkWXO5wANJtHNG08fvMEYj+QT1HUXSx+KpxNcOeyJZZpM9\n QOZnYMSGzlXCiPKrAaSEADwc15l4CtQ7DV9X39/695lsMnJo4gOdo3cmI g==;",
        "X-CSE-ConnectionGUID": [
            "WuwTDm/bSc2dVw6srBr9Rw==",
            "GJ4PRmfiRJyalmhEThZTmQ=="
        ],
        "X-CSE-MsgGUID": [
            "dpNHdhBST1utpfGoXR5nPA==",
            "vhT7bItRQtGvcWf/n3BFEw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,11034\"; a=\"11393383\"",
            "E=Sophos;i=\"6.07,180,1708416000\"; d=\"scan'208\";a=\"11393383\"",
            "E=Sophos;i=\"6.07,180,1708416000\"; d=\"scan'208\";a=\"18864455\""
        ],
        "X-ExtLoop1": "1",
        "From": "Nicolas Chautru <nicolas.chautru@intel.com>",
        "To": "dev@dpdk.org,\n\tmaxime.coquelin@redhat.com",
        "Cc": "hemant.agrawal@nxp.com, david.marchand@redhat.com,\n hernan.vargas@intel.com,\n Nicolas Chautru <nicolas.chautru@intel.com>",
        "Subject": "[PATCH v1 1/3] bbdev: new queue stat for available enqueue depth",
        "Date": "Thu,  4 Apr 2024 14:04:45 -0700",
        "Message-Id": "<20240404210447.1915517-2-nicolas.chautru@intel.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20240404210447.1915517-1-nicolas.chautru@intel.com>",
        "References": "<20240404210447.1915517-1-nicolas.chautru@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": "Capturing additional queue stats counter for the\ndepth of enqueue batch still available on the given\nqueue. This can help application to monitor that depth\nat run time.\n\nSigned-off-by: Nicolas Chautru <nicolas.chautru@intel.com>\n---\n lib/bbdev/rte_bbdev.h | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/lib/bbdev/rte_bbdev.h b/lib/bbdev/rte_bbdev.h\nindex 0cbfdd1c95..25514c58ac 100644\n--- a/lib/bbdev/rte_bbdev.h\n+++ b/lib/bbdev/rte_bbdev.h\n@@ -283,6 +283,8 @@ struct rte_bbdev_stats {\n \t *     bbdev operation\n \t */\n \tuint64_t acc_offload_cycles;\n+\t/** Available number of enqueue batch on that queue. */\n+\tuint16_t enqueue_depth_avail;\n };\n \n /**\n",
    "prefixes": [
        "v1",
        "1/3"
    ]
}