get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 133852,
    "url": "http://patches.dpdk.org/api/patches/133852/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20231103182933.2831662-3-abdullah.sevincer@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": "<20231103182933.2831662-3-abdullah.sevincer@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20231103182933.2831662-3-abdullah.sevincer@intel.com",
    "date": "2023-11-03T18:29:33",
    "name": "[v6,2/2] event/dlb2: fix disable PASID",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "96294bae88b338b3bf202bbda8c30eff3c9dba54",
    "submitter": {
        "id": 2843,
        "url": "http://patches.dpdk.org/api/people/2843/?format=api",
        "name": "Sevincer, Abdullah",
        "email": "abdullah.sevincer@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20231103182933.2831662-3-abdullah.sevincer@intel.com/mbox/",
    "series": [
        {
            "id": 30148,
            "url": "http://patches.dpdk.org/api/series/30148/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30148",
            "date": "2023-11-03T18:29:31",
            "name": "*** Disable PASID for DLB Device ***",
            "version": 6,
            "mbox": "http://patches.dpdk.org/series/30148/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/133852/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/133852/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 24ADC4327C;\n\tFri,  3 Nov 2023 19:29:52 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 830D642DE9;\n\tFri,  3 Nov 2023 19:29:42 +0100 (CET)",
            "from mgamail.intel.com (mgamail.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id 8164A42DC3;\n Fri,  3 Nov 2023 19:29:40 +0100 (CET)",
            "from orviesa001.jf.intel.com ([10.64.159.141])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 03 Nov 2023 11:29:39 -0700",
            "from txanpdk02.an.intel.com ([10.123.117.76])\n by orviesa001.jf.intel.com with ESMTP; 03 Nov 2023 11:29:39 -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=1699036180; x=1730572180;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=IOyAk5GwxmDqdL/YB+pc3H4OcHdzkHfiQfsZ7gf+Wwo=;\n b=KfKH03pA9Ttm0AlK6wIlLLqfxJOccpVvADSurssVrwn71Gui0okDrpYi\n ujkm+HCMEW+RzY43peMtdMQ3/8kYH3Se2CzxT9s0eerLnfnt8G5M4MtEB\n YuanUt7MCqigd0kiIFtyP8Kwy70pEO6AGcZiz8NCU5j88A/UhQ/2EtXhJ\n hxugAv2yuwoGHLQnDbXr4vyjuJXhnZAG610WWTTJz7cL3bGR/bq9UYOSZ\n Q7wyrkNH2Si6MF+zCIWgAdMpkPiqKmTZ2yehuIHS4BgcCL6JDBwKw7eVz\n yeIY98j+oTYisyWWjttTklrItWoRP6jSK8ssTuhUJ12Qra/BjNnu4Yvvv w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10883\"; a=\"391867092\"",
            "E=Sophos;i=\"6.03,273,1694761200\"; d=\"scan'208\";a=\"391867092\"",
            "E=Sophos;i=\"6.03,273,1694761200\";\n   d=\"scan'208\";a=\"9465881\""
        ],
        "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 v6 2/2] event/dlb2: fix disable PASID",
        "Date": "Fri,  3 Nov 2023 13:29:33 -0500",
        "Message-Id": "<20231103182933.2831662-3-abdullah.sevincer@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20231103182933.2831662-1-abdullah.sevincer@intel.com>",
        "References": "<20231103182933.2831662-1-abdullah.sevincer@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": "In vfio-pci driver when PASID is enabled by default DLB hardware puts\nDLB in SIOV mode. This breaks DLB PF-PMD mode. For DLB PF-PMD mode to\nfunction properly PASID needs to be disabled.\n\nIn this commit this issue is addressed and PASID is disabled by writing\na 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 | 11 +++++++++++\n 1 file changed, 11 insertions(+)",
    "diff": "diff --git a/drivers/event/dlb2/pf/dlb2_main.c b/drivers/event/dlb2/pf/dlb2_main.c\nindex aa03e4c311..05c2354515 100644\n--- a/drivers/event/dlb2/pf/dlb2_main.c\n+++ b/drivers/event/dlb2/pf/dlb2_main.c\n@@ -26,6 +26,7 @@\n #define PF_ID_ZERO 0\t/* PF ONLY! */\n #define NO_OWNER_VF 0\t/* PF ONLY! */\n #define NOT_VF_REQ false /* PF ONLY! */\n+#define DLB2_PCI_PASID_CAP_OFFSET        0x148   /* PASID capability offset */\n \n static int\n dlb2_pf_init_driver_state(struct dlb2_dev *dlb2_dev)\n@@ -514,6 +515,16 @@ dlb2_pf_reset(struct dlb2_dev *dlb2_dev)\n \t\t}\n \t}\n \n+\t/* Disable PASID if it is enabled by default, which\n+\t * breaks the DLB if enabled.\n+\t */\n+\toff = DLB2_PCI_PASID_CAP_OFFSET + RTE_PCI_PASID_CTRL;\n+\tif (rte_pci_pasid_ena_dis(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": [
        "v6",
        "2/2"
    ]
}