get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 119108,
    "url": "http://patches.dpdk.org/api/patches/119108/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20221025141429.3463350-2-ciara.power@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": "<20221025141429.3463350-2-ciara.power@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20221025141429.3463350-2-ciara.power@intel.com",
    "date": "2022-10-25T14:14:29",
    "name": "[2/2] crypto/scheduler: fix op session in pkt size distr mode",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "23db730d539dce0c9e3d6faa87f678d134d6534b",
    "submitter": {
        "id": 978,
        "url": "http://patches.dpdk.org/api/people/978/?format=api",
        "name": "Ciara Power",
        "email": "ciara.power@intel.com"
    },
    "delegate": {
        "id": 6690,
        "url": "http://patches.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20221025141429.3463350-2-ciara.power@intel.com/mbox/",
    "series": [
        {
            "id": 25423,
            "url": "http://patches.dpdk.org/api/series/25423/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=25423",
            "date": "2022-10-25T14:14:28",
            "name": "[1/2] app/test-crypto-perf: fix number of scheduler sessions",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/25423/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/119108/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/119108/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 06AE4A054A;\n\tTue, 25 Oct 2022 16:17:13 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id ECC3F42C1E;\n\tTue, 25 Oct 2022 16:17:12 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by mails.dpdk.org (Postfix) with ESMTP id 1A53342847\n for <dev@dpdk.org>; Tue, 25 Oct 2022 16:17:10 +0200 (CEST)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Oct 2022 07:14:36 -0700",
            "from silpixa00400355.ir.intel.com (HELO\n silpixa00400355.ger.corp.intel.com) ([10.237.222.163])\n by orsmga007.jf.intel.com with ESMTP; 25 Oct 2022 07:14:34 -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=1666707431; x=1698243431;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=goBsJ8CY0PBHnD5fjyr8D39HHX8G/3hJMJS398jGIew=;\n b=EMwNKfw9ISWDe/fvrmvNvhjHlNiJx5TLLyd8ECYyFCLxuNQQCIwCq42l\n +F7KSJVJf/VV2IhhrCDoUSBd+KFBDwMxw2XfLqamEcjMLwUbSrIau6fFh\n uzToRqIsHgImBITeL20M9ULcfafZQnkxFzl2MZCAlYBaGiCTeSSkZ6W8Z\n nPHUOHlApc/b3pviXsj8qQ0+stFRnJb9Vrw1KFTi1IVVs7lSRbRlFLnvq\n 87dqVAs8ZkRwhGLr9Gbj6AtFsoiVOUS2Rqrh5SyZXAGdnA7UkWbRkMTup\n Ojw9nT3OA6PnxYgmgoyYm6S9BFyVjbVP9oPJWPP0qlDQuUNuGQeICJuoF A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10510\"; a=\"287403190\"",
            "E=Sophos;i=\"5.95,212,1661842800\"; d=\"scan'208\";a=\"287403190\"",
            "E=McAfee;i=\"6500,9779,10510\"; a=\"626433762\"",
            "E=Sophos;i=\"5.95,212,1661842800\"; d=\"scan'208\";a=\"626433762\""
        ],
        "X-ExtLoop1": "1",
        "From": "Ciara Power <ciara.power@intel.com>",
        "To": "Kai Ji <kai.ji@intel.com>",
        "Cc": "dev@dpdk.org,\n\tCiara Power <ciara.power@intel.com>",
        "Subject": "[PATCH 2/2] crypto/scheduler: fix op session in pkt size distr mode",
        "Date": "Tue, 25 Oct 2022 14:14:29 +0000",
        "Message-Id": "<20221025141429.3463350-2-ciara.power@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20221025141429.3463350-1-ciara.power@intel.com>",
        "References": "<20221025141429.3463350-1-ciara.power@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": "The index for sess_ctx was incorrect when setting the op session.\n\nFixes: 6812b9bf470e (\"crypto/scheduler: use unified session\")\n\nSigned-off-by: Ciara Power <ciara.power@intel.com>\n---\n drivers/crypto/scheduler/scheduler_pkt_size_distr.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/crypto/scheduler/scheduler_pkt_size_distr.c b/drivers/crypto/scheduler/scheduler_pkt_size_distr.c\nindex 396cc3723d..41f05e6a47 100644\n--- a/drivers/crypto/scheduler/scheduler_pkt_size_distr.c\n+++ b/drivers/crypto/scheduler/scheduler_pkt_size_distr.c\n@@ -148,7 +148,7 @@ schedule_enqueue(void *qp, struct rte_crypto_op **ops, uint16_t nb_ops)\n \t\ttarget[3] = !(job_len[3] & psd_qp_ctx->threshold);\n \t\tif (ops[i + 3]->sess_type == RTE_CRYPTO_OP_WITH_SESSION)\n \t\t\tops[i + 3]->sym->session =\n-\t\t\t\tsess_ctx[1]->worker_sess[target[3]];\n+\t\t\t\tsess_ctx[3]->worker_sess[target[3]];\n \t\tp_enq_op = &enq_ops[target[3]];\n \n \t\tif (p_enq_op->pos + in_flight_ops[p_enq_op->worker_idx] ==\n",
    "prefixes": [
        "2/2"
    ]
}