get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 107810,
    "url": "https://patches.dpdk.org/api/patches/107810/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220218115719.20471-1-michal.wilczynski@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": "<20220218115719.20471-1-michal.wilczynski@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220218115719.20471-1-michal.wilczynski@intel.com",
    "date": "2022-02-18T11:57:19",
    "name": "net/ice: fix overwriting of LSE bit by DCF",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "ce8cdac883d6ee883a115f926310d88f252f5f4c",
    "submitter": {
        "id": 2524,
        "url": "https://patches.dpdk.org/api/people/2524/?format=api",
        "name": "Michal Wilczynski",
        "email": "michal.wilczynski@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "https://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220218115719.20471-1-michal.wilczynski@intel.com/mbox/",
    "series": [
        {
            "id": 21738,
            "url": "https://patches.dpdk.org/api/series/21738/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=21738",
            "date": "2022-02-18T11:57:19",
            "name": "net/ice: fix overwriting of LSE bit by DCF",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/21738/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/107810/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/107810/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 99CD3A0032;\n\tFri, 18 Feb 2022 16:29:50 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2C2674014E;\n\tFri, 18 Feb 2022 16:29:50 +0100 (CET)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id A912B40141\n for <dev@dpdk.org>; Fri, 18 Feb 2022 12:57:41 +0100 (CET)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 Feb 2022 03:57:40 -0800",
            "from mwilczyn-mobl.ger.corp.intel.com ([10.249.143.70])\n by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 Feb 2022 03:57:39 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1645185461; x=1676721461;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=1qpS5yCPrqvUYYzGBptnayU+1z25XjL/wB9myImMQYc=;\n b=m6lmpgsZ108fwZYQVQ7uliiipclBUULZNnl7KPRecZzki99VsQvetJLU\n NUVeHEMWutNvEuWVQN2UahVngsl7ZTQ++H6qm/Io3lMHUX/7Djytjp0Ge\n w44scDv8pxQzAfwzNJiiii+7/TxMKT7xAHL6qJgxNZDAPsQiKitSrsaTK\n QK1Zzh7302qRm4zQWYi/ijzIUEaUzowqOLQ45pckQIGxrJPsjFzFoGJF0\n fjtFscj6RDerthAAlm37ZK6BrT2h+SpbCdw1EVdj7Am/PZo8xi+IWiZ6f\n dyO0GKERcJQgX/mM3D56fHMAfHGXq5hK44WTrDxkQxiOd634eoLuSydsT g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10261\"; a=\"311854912\"",
            "E=Sophos;i=\"5.88,378,1635231600\"; d=\"scan'208\";a=\"311854912\"",
            "E=Sophos;i=\"5.88,378,1635231600\"; d=\"scan'208\";a=\"505587422\""
        ],
        "From": "Michal Wilczynski <michal.wilczynski@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "haiyue.wang@intel.com, qi.z.zhang@intel.com,\n Michal Wilczynski <michal.wilczynski@intel.com>",
        "Subject": "[PATCH] net/ice: fix overwriting of LSE bit by DCF",
        "Date": "Fri, 18 Feb 2022 12:57:19 +0100",
        "Message-Id": "<20220218115719.20471-1-michal.wilczynski@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "X-Mailman-Approved-At": "Fri, 18 Feb 2022 16:29:49 +0100",
        "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": "After enabling DCF on a VF, the ice driver stops receiving\nlink updates on it's Admin Receive Queue. During the init\nof DCF ice_aqc_opc_get_link_status command is send to the\nfirmware without LSE(LINK STATUS EVENT) bit set. This prevents\nthe ice driver from receiving up/down events, and correspondingly\nupdating netdev.\n\nSigned-off-by: Michal Wilczynski <michal.wilczynski@intel.com>\n---\n drivers/net/ice/ice_dcf_parent.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ice/ice_dcf_parent.c b/drivers/net/ice/ice_dcf_parent.c\nindex 0c8c2ed6c7..2f96dedcce 100644\n--- a/drivers/net/ice/ice_dcf_parent.c\n+++ b/drivers/net/ice/ice_dcf_parent.c\n@@ -340,7 +340,7 @@ ice_dcf_init_parent_hw(struct ice_hw *hw)\n \t\tgoto err_unroll_alloc;\n \n \t/* Initialize port_info struct with link information */\n-\tstatus = ice_aq_get_link_info(hw->port_info, false, NULL, NULL);\n+\tstatus = ice_aq_get_link_info(hw->port_info, true, NULL, NULL);\n \tif (status)\n \t\tgoto err_unroll_alloc;\n \n",
    "prefixes": []
}