get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 39609,
    "url": "https://patches.dpdk.org/api/patches/39609/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180509142555.24504-1-kamilx.chalupnik@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": "<20180509142555.24504-1-kamilx.chalupnik@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180509142555.24504-1-kamilx.chalupnik@intel.com",
    "date": "2018-05-09T14:25:55",
    "name": "[dpdk-dev,v2,05/14] baseband/turbo_sw: increase internal buffers",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "4272a27e6f66881e5a3d16a8399b0b9f4a172184",
    "submitter": {
        "id": 1010,
        "url": "https://patches.dpdk.org/api/people/1010/?format=api",
        "name": "Kamil Chalupnik",
        "email": "kamilx.chalupnik@intel.com"
    },
    "delegate": {
        "id": 22,
        "url": "https://patches.dpdk.org/api/users/22/?format=api",
        "username": "pdelarag",
        "first_name": "Pablo",
        "last_name": "de Lara Guarch",
        "email": "pablo.de.lara.guarch@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20180509142555.24504-1-kamilx.chalupnik@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/39609/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/39609/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 7C55D5F33;\n\tWed,  9 May 2018 16:26:02 +0200 (CEST)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id C635A5F1F\n\tfor <dev@dpdk.org>; Wed,  9 May 2018 16:26:00 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t09 May 2018 07:25:59 -0700",
            "from kchalupx-mobl.ger.corp.intel.com ([10.103.104.151])\n\tby fmsmga001.fm.intel.com with ESMTP; 09 May 2018 07:25:58 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.49,381,1520924400\"; d=\"scan'208\";a=\"53727780\"",
        "From": "Kamil Chalupnik <kamilx.chalupnik@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "amr.mokhtar@intel.com, pablo.de.lara.guarch@intel.com,\n\tKamilX Chalupnik <kamilx.chalupnik@intel.com>",
        "Date": "Wed,  9 May 2018 16:25:55 +0200",
        "Message-Id": "<20180509142555.24504-1-kamilx.chalupnik@intel.com>",
        "X-Mailer": "git-send-email 2.9.0.windows.1",
        "In-Reply-To": "<20180426133008.12388-6-kamilx.chalupnik@intel.com>",
        "References": "<20180426133008.12388-6-kamilx.chalupnik@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2 05/14] baseband/turbo_sw: increase internal\n\tbuffers",
        "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://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: KamilX Chalupnik <kamilx.chalupnik@intel.com>\n\nSizes of the internal buffers used by decoding were increased due to\nproblem with memory for large vectors\n\nSigned-off-by: Kamil Chalupnik <kamilx.chalupnik@intel.com>\nAcked-by: Amr Mokhtar <amr.mokhtar@intel.com>\n---\n drivers/baseband/turbo_sw/bbdev_turbo_software.c | 12 ++++++++----\n 1 file changed, 8 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/drivers/baseband/turbo_sw/bbdev_turbo_software.c b/drivers/baseband/turbo_sw/bbdev_turbo_software.c\nindex 9f01abf..c3c250b 100644\n--- a/drivers/baseband/turbo_sw/bbdev_turbo_software.c\n+++ b/drivers/baseband/turbo_sw/bbdev_turbo_software.c\n@@ -32,6 +32,10 @@ static int bbdev_turbo_sw_logtype;\n \trte_bbdev_log(DEBUG, RTE_STR(__LINE__) \":%s() \" fmt, __func__, \\\n \t\t##__VA_ARGS__)\n \n+#define DEINT_INPUT_BUF_SIZE (((RTE_BBDEV_MAX_CB_SIZE >> 3) + 1) * 48)\n+#define DEINT_OUTPUT_BUF_SIZE (DEINT_INPUT_BUF_SIZE * 6)\n+#define ADAPTER_OUTPUT_BUF_SIZE ((RTE_BBDEV_MAX_CB_SIZE + 4) * 48)\n+\n /* private data structure */\n struct bbdev_private {\n \tunsigned int max_nb_queues;  /**< Max number of queues */\n@@ -285,7 +289,7 @@ q_setup(struct rte_bbdev *dev, uint16_t q_id,\n \t\treturn -ENAMETOOLONG;\n \t}\n \tq->code_block = rte_zmalloc_socket(name,\n-\t\t\t(6144 >> 3) * sizeof(*q->code_block),\n+\t\t\tRTE_BBDEV_MAX_CB_SIZE * sizeof(*q->code_block),\n \t\t\tRTE_CACHE_LINE_SIZE, queue_conf->socket);\n \tif (q->code_block == NULL) {\n \t\trte_bbdev_log(ERR,\n@@ -304,7 +308,7 @@ q_setup(struct rte_bbdev *dev, uint16_t q_id,\n \t\treturn -ENAMETOOLONG;\n \t}\n \tq->deint_input = rte_zmalloc_socket(name,\n-\t\t\tRTE_BBDEV_MAX_KW * sizeof(*q->deint_input),\n+\t\t\tDEINT_INPUT_BUF_SIZE * sizeof(*q->deint_input),\n \t\t\tRTE_CACHE_LINE_SIZE, queue_conf->socket);\n \tif (q->deint_input == NULL) {\n \t\trte_bbdev_log(ERR,\n@@ -323,7 +327,7 @@ q_setup(struct rte_bbdev *dev, uint16_t q_id,\n \t\treturn -ENAMETOOLONG;\n \t}\n \tq->deint_output = rte_zmalloc_socket(NULL,\n-\t\t\tRTE_BBDEV_MAX_KW * sizeof(*q->deint_output),\n+\t\t\tDEINT_OUTPUT_BUF_SIZE * sizeof(*q->deint_output),\n \t\t\tRTE_CACHE_LINE_SIZE, queue_conf->socket);\n \tif (q->deint_output == NULL) {\n \t\trte_bbdev_log(ERR,\n@@ -342,7 +346,7 @@ q_setup(struct rte_bbdev *dev, uint16_t q_id,\n \t\treturn -ENAMETOOLONG;\n \t}\n \tq->adapter_output = rte_zmalloc_socket(NULL,\n-\t\t\tRTE_BBDEV_MAX_CB_SIZE * 6 * sizeof(*q->adapter_output),\n+\t\t\tADAPTER_OUTPUT_BUF_SIZE * sizeof(*q->adapter_output),\n \t\t\tRTE_CACHE_LINE_SIZE, queue_conf->socket);\n \tif (q->adapter_output == NULL) {\n \t\trte_bbdev_log(ERR,\n",
    "prefixes": [
        "dpdk-dev",
        "v2",
        "05/14"
    ]
}