get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 133848,
    "url": "https://patches.dpdk.org/api/patches/133848/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20231103171436.2791832-1-abdullah.sevincer@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": "<20231103171436.2791832-1-abdullah.sevincer@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20231103171436.2791832-1-abdullah.sevincer@intel.com",
    "date": "2023-11-03T17:14:36",
    "name": "[v4] event/dlb2: fix disable PASID",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "49629e2a0fce6db330c350e36b80db9e1a8ec1c3",
    "submitter": {
        "id": 2843,
        "url": "https://patches.dpdk.org/api/people/2843/?format=api",
        "name": "Sevincer, Abdullah",
        "email": "abdullah.sevincer@intel.com"
    },
    "delegate": {
        "id": 310,
        "url": "https://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20231103171436.2791832-1-abdullah.sevincer@intel.com/mbox/",
    "series": [
        {
            "id": 30146,
            "url": "https://patches.dpdk.org/api/series/30146/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=30146",
            "date": "2023-11-03T17:14:36",
            "name": "[v4] event/dlb2: fix disable PASID",
            "version": 4,
            "mbox": "https://patches.dpdk.org/series/30146/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/133848/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/133848/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 A34DB4327C;\n\tFri,  3 Nov 2023 18:14:42 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 356C440263;\n\tFri,  3 Nov 2023 18:14:42 +0100 (CET)",
            "from mgamail.intel.com (mgamail.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id B2E9E4014F;\n Fri,  3 Nov 2023 18:14:40 +0100 (CET)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 03 Nov 2023 10:14:39 -0700",
            "from txanpdk02.an.intel.com ([10.123.117.76])\n by orsmga003.jf.intel.com with ESMTP; 03 Nov 2023 10:14:38 -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=1699031681; x=1730567681;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=pHeWedwQlGruPE2OYCaQj7mBzsaIKSH6hjsy3JCLXjo=;\n b=RZwAI4DWnP5aKbgv+2VmpMUUyI9cvmF0qF3CWBr21i2vdOEzkBiu3VC8\n DC6ZkqfzFK7N7Dtp0z2aFqr5hfoet/+/JGJzmWstxBIhUWWjHemRM7XsE\n etannGH4gEPgkwfewSuDSRuoaF+Iv4YEBAHAQobQ0G4ct0BCOYvgNnH38\n DeCqD9uAHm6WhjGA1MPsSXYVj/MxcjnbTPyw7lY4d2dDn94lchqjyxuFB\n MLz/yABP3zdLLm2A1aSQZWYHJPUKb4M7E2DiiA5jNozNpKMk59+6+fVW0\n 8CRCNUbKg433ifGpvwffQDeIjcDIjO5zXt+mColfxCb/kjVHxUxe8Qo+g Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10883\"; a=\"392867580\"",
            "E=Sophos;i=\"6.03,273,1694761200\"; d=\"scan'208\";a=\"392867580\"",
            "E=McAfee;i=\"6600,9927,10883\"; a=\"711564387\"",
            "E=Sophos;i=\"6.03,273,1694761200\"; d=\"scan'208\";a=\"711564387\""
        ],
        "X-ExtLoop1": "1",
        "From": "Abdullah Sevincer <abdullah.sevincer@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "jerinj@marvell.com, mike.ximing.chen@intel.com,\n bruce.richardson@intel.com,\n thomas@monjalon.net, Abdullah Sevincer <abdullah.sevincer@intel.com>,\n stable@dpdk.org",
        "Subject": "[PATCH v4] event/dlb2: fix disable PASID",
        "Date": "Fri,  3 Nov 2023 12:14:36 -0500",
        "Message-Id": "<20231103171436.2791832-1-abdullah.sevincer@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "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": "In vfio-pci driver when PASID is enabled by default\nDLB hardware puts DLB in SIOV mode. This breaks\nDLB PF-PMD mode. For DLB PF-PMD mode to function properly\nPASID needs to be disabled.\n\nIn this commit this issue is addressed and PASID is disabled\nby writing a zero to PASID control register.\n\nFixes: 5433956d5185 (\"event/dlb2: add eventdev probe\")\nCc: stable@dpdk.org\n\nSigned-off-by: Abdullah Sevincer <abdullah.sevincer@intel.com>\n---\n drivers/event/dlb2/pf/dlb2_main.c | 10 ++++++++++\n 1 file changed, 10 insertions(+)",
    "diff": "diff --git a/drivers/event/dlb2/pf/dlb2_main.c b/drivers/event/dlb2/pf/dlb2_main.c\nindex aa03e4c311..63a18df71c 100644\n--- a/drivers/event/dlb2/pf/dlb2_main.c\n+++ b/drivers/event/dlb2/pf/dlb2_main.c\n@@ -514,6 +514,16 @@ dlb2_pf_reset(struct dlb2_dev *dlb2_dev)\n \t\t}\n \t}\n \n+\t/* Disable PASID incase it is enabled by default, which\n+\t * breaks the DLB if enabled.\n+\t */\n+\toff = RTE_PCI_PASID_CAP_OFFSET + RTE_PCI_PASID_CTRL;\n+\tif (rte_pci_set_pasid(pdev, off, false)) {\n+\t\tDLB2_LOG_ERR(\"[%s()] failed to write the pcie config space at offset %d\\n\",\n+\t\t\t\t__func__, (int)off);\n+\t\treturn -1;\n+\t}\n+\n \treturn 0;\n }\n \n",
    "prefixes": [
        "v4"
    ]
}