get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 139482,
    "url": "http://patches.dpdk.org/api/patches/139482/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20240418082023.1767998-3-david.marchand@redhat.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": "<20240418082023.1767998-3-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240418082023.1767998-3-david.marchand@redhat.com",
    "date": "2024-04-18T08:20:16",
    "name": "[v3,2/7] net/ice: enhance debug when HW fails to transmit",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "bd020547722005174bf51a596ef5310daa2cb507",
    "submitter": {
        "id": 1173,
        "url": "http://patches.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20240418082023.1767998-3-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 31780,
            "url": "http://patches.dpdk.org/api/series/31780/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31780",
            "date": "2024-04-18T08:20:14",
            "name": "Fix outer UDP checksum for Intel nics",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/31780/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/139482/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/139482/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 D4C1243E9E;\n\tThu, 18 Apr 2024 10:20:49 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4BF8F40E09;\n\tThu, 18 Apr 2024 10:20:44 +0200 (CEST)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by mails.dpdk.org (Postfix) with ESMTP id DF5C940E09\n for <dev@dpdk.org>; Thu, 18 Apr 2024 10:20:40 +0200 (CEST)",
            "from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com\n [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-583-n5I9iRnePlef1wqVCHstow-1; Thu, 18 Apr 2024 04:20:36 -0400",
            "from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com\n [10.11.54.1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9E14080253A;\n Thu, 18 Apr 2024 08:20:36 +0000 (UTC)",
            "from dmarchan.redhat.com (unknown [10.45.225.69])\n by smtp.corp.redhat.com (Postfix) with ESMTP id D6290490EB;\n Thu, 18 Apr 2024 08:20:35 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1713428440;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=tHSFOhY5PNwK4dm6qcVwa8bbDyveDuGNuRO+JJFO9p0=;\n b=FbuYtfyGo+IeZMJZBrhTo7gcJMQF97z7DdIOquZfTXtPiSpoLLccknG6TdMd84UuFD3XhT\n B0jCQ4N0ZTLAHoyXLHRlOWyjxCJ734tfPjciK9gsQhabrRop8hBFc3FXrqfviIOiTsKd/s\n MHYWjTGYlKHYn0cKYEPEp3Ooq7HaPd0=",
        "X-MC-Unique": "n5I9iRnePlef1wqVCHstow-1",
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net,\n\tferruh.yigit@amd.com",
        "Subject": "[PATCH v3 2/7] net/ice: enhance debug when HW fails to transmit",
        "Date": "Thu, 18 Apr 2024 10:20:16 +0200",
        "Message-ID": "<20240418082023.1767998-3-david.marchand@redhat.com>",
        "In-Reply-To": "<20240418082023.1767998-1-david.marchand@redhat.com>",
        "References": "<20240405125039.897933-1-david.marchand@redhat.com>\n <20240418082023.1767998-1-david.marchand@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.4.1 on 10.11.54.1",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain; charset=\"US-ASCII\"; x-default=true",
        "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": "At the moment, if the driver sets an incorrect Tx descriptor, the HW\nwill raise a MDD event reported as:\nice_interrupt_handler(): OICR: MDD event\n\nAdd some debug info for this case.\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\nChanges since v2:\n- dropped VF index from logs,\n\n---\n drivers/net/ice/ice_ethdev.c | 14 ++++++++++++++\n 1 file changed, 14 insertions(+)",
    "diff": "diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c\nindex 87385d2649..16a6caf555 100644\n--- a/drivers/net/ice/ice_ethdev.c\n+++ b/drivers/net/ice/ice_ethdev.c\n@@ -1455,6 +1455,20 @@ ice_interrupt_handler(void *param)\n \t\t\t\t    \"%d by TCLAN on TX queue %d PF# %d\",\n \t\t\t\t    event, queue, pf_num);\n \t\t}\n+\n+\t\treg = ICE_READ_REG(hw, GL_MDET_TX_TDPU);\n+\t\tif (reg & GL_MDET_TX_TDPU_VALID_M) {\n+\t\t\tpf_num = (reg & GL_MDET_TX_TDPU_PF_NUM_M) >>\n+\t\t\t\t GL_MDET_TX_TDPU_PF_NUM_S;\n+\t\t\tevent = (reg & GL_MDET_TX_TDPU_MAL_TYPE_M) >>\n+\t\t\t\tGL_MDET_TX_TDPU_MAL_TYPE_S;\n+\t\t\tqueue = (reg & GL_MDET_TX_TDPU_QNUM_M) >>\n+\t\t\t\tGL_MDET_TX_TDPU_QNUM_S;\n+\n+\t\t\tPMD_DRV_LOG(WARNING, \"Malicious Driver Detection event \"\n+\t\t\t\t    \"%d by TDPU on TX queue %d PF# %d\",\n+\t\t\t\t    event, queue, pf_num);\n+\t\t}\n \t}\n done:\n \t/* Enable interrupt */\n",
    "prefixes": [
        "v3",
        "2/7"
    ]
}