get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 104338,
    "url": "https://patches.dpdk.org/api/patches/104338/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20211115175855.1091621-4-conor.walsh@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": "<20211115175855.1091621-4-conor.walsh@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20211115175855.1091621-4-conor.walsh@intel.com",
    "date": "2021-11-15T17:58:52",
    "name": "[3/6] drivers/common/qat: fix unused but set variables",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "09100af43c64109b65f2a3f2e9532f44216b6acf",
    "submitter": {
        "id": 1935,
        "url": "https://patches.dpdk.org/api/people/1935/?format=api",
        "name": "Conor Walsh",
        "email": "conor.walsh@intel.com"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20211115175855.1091621-4-conor.walsh@intel.com/mbox/",
    "series": [
        {
            "id": 20559,
            "url": "https://patches.dpdk.org/api/series/20559/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=20559",
            "date": "2021-11-15T17:58:49",
            "name": "fix unused but set variables",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/20559/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/104338/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/104338/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 AF3BCA0032;\n\tMon, 15 Nov 2021 18:59:47 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2CE5C41161;\n\tMon, 15 Nov 2021 18:59:46 +0100 (CET)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id 193C741144;\n Mon, 15 Nov 2021 18:59:41 +0100 (CET)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 15 Nov 2021 09:59:30 -0800",
            "from silpixa00401160.ir.intel.com ([10.55.129.96])\n by orsmga008.jf.intel.com with ESMTP; 15 Nov 2021 09:59:22 -0800"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10169\"; a=\"232214962\"",
            "E=Sophos;i=\"5.87,237,1631602800\"; d=\"scan'208\";a=\"232214962\"",
            "E=Sophos;i=\"5.87,237,1631602800\"; d=\"scan'208\";a=\"506023932\""
        ],
        "X-ExtLoop1": "1",
        "From": "Conor Walsh <conor.walsh@intel.com>",
        "To": "ferruh.yigit@intel.com, david.marchand@redhat.com,\n longfengx.liang@intel.com, dev@dpdk.org",
        "Cc": "david.hunt@intel.com, yipeng1.wang@intel.com, sameh.gobriel@intel.com,\n bruce.richardson@intel.com, vladimir.medvedkin@intel.com,\n hemant.agrawal@nxp.com, sachin.saxena@oss.nxp.com, fiona.trahe@intel.com,\n john.griffin@intel.com, deepak.k.jain@intel.com,\n harry.van.haaren@intel.com, ajit.khaparde@broadcom.com,\n somnath.kotur@broadcom.com, xuanziyang2@huawei.com,\n cloud.wangxiaoyun@huawei.com, sthotton@marvell.com, srinivasan@marvell.com,\n heinrich.kuhn@corigine.com, hkalra@marvell.com, rmody@marvell.com,\n dsinghrawat@marvell.com, jiawenwu@trustnetic.com, yongwang@vmware.com,\n john.mcnamara@intel.com, gakhil@marvell.com, roy.fan.zhang@intel.com,\n arkadiuszx.kusztal@intel.com, michael.baucom@broadcom.com,\n venkatkumar.duvvuru@broadcom.com, lance.richardson@broadcom.com,\n kishore.padmanabha@broadcom.com, jerin.jacob@caviumnetworks.com,\n mjatharakonda@oneconvergence.com, simon.horman@corigine.com,\n david.george@sophos.com, sony.chacko@qlogic.com, harish.patil@qlogic.com,\n stephen@networkplumber.org, jerinjacobk@gmail.com,\n Conor Walsh <conor.walsh@intel.com>, stable@dpdk.org",
        "Subject": "[PATCH 3/6] drivers/common/qat: fix unused but set variables",
        "Date": "Mon, 15 Nov 2021 17:58:52 +0000",
        "Message-Id": "<20211115175855.1091621-4-conor.walsh@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20211115175855.1091621-1-conor.walsh@intel.com>",
        "References": "<20211112140111.922171-1-conor.walsh@intel.com>\n <20211115175855.1091621-1-conor.walsh@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": "This patch removes the us variable from the qat_pf2vf_exch_msg function\nwithin the PF to VF section of the QAT driver as it is an unused but set\nvariable.\n\nBugzilla ID: 881\nFixes: b17d16fb47b4 (\"common/qat: add PF to VF communication\")\nCc: stable@dpdk.org\n\nReported-by: Liang Longfeng <longfengx.liang@intel.com>\nSigned-off-by: Conor Walsh <conor.walsh@intel.com>\n---\n drivers/common/qat/qat_pf2vf.c | 2 --\n 1 file changed, 2 deletions(-)",
    "diff": "diff --git a/drivers/common/qat/qat_pf2vf.c b/drivers/common/qat/qat_pf2vf.c\nindex 6327311199..4e9ffc72fc 100644\n--- a/drivers/common/qat/qat_pf2vf.c\n+++ b/drivers/common/qat/qat_pf2vf.c\n@@ -54,14 +54,12 @@ int qat_pf2vf_exch_msg(struct qat_pci_device *qat_dev,\n \t\tmsg |= ADF_PFVF_INT | ADF_PFVF_MSGORIGIN_SYSTEM;\n \n \t\tADF_CSR_WR(pmisc_bar_addr, vf_csr_off, msg);\n-\t\tint us = 0;\n \t\t/*\n \t\t * Wait for confirmation from remote that it received\n \t\t * the message\n \t\t */\n \t\tdo {\n \t\t\trte_delay_us_sleep(5);\n-\t\t\tus += 5;\n \t\t\tval = ADF_CSR_RD(pmisc_bar_addr, vf_csr_off);\n \t\t} while ((val & ADF_PFVF_INT) &&\n \t\t\t(++count < ADF_IOV_MSG_ACK_MAX_RETRY));\n",
    "prefixes": [
        "3/6"
    ]
}