get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 109365,
    "url": "http://patches.dpdk.org/api/patches/109365/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220407105706.18889-14-kevinx.liu@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": "<20220407105706.18889-14-kevinx.liu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220407105706.18889-14-kevinx.liu@intel.com",
    "date": "2022-04-07T10:56:40",
    "name": "[13/39] common/iavf: support flushing rules and reporting DCF id",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "bd015f8d8ad07061dafe3bb0f77ddc1fb263fe81",
    "submitter": {
        "id": 2440,
        "url": "http://patches.dpdk.org/api/people/2440/?format=api",
        "name": "Kevin Liu",
        "email": "kevinx.liu@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220407105706.18889-14-kevinx.liu@intel.com/mbox/",
    "series": [
        {
            "id": 22387,
            "url": "http://patches.dpdk.org/api/series/22387/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=22387",
            "date": "2022-04-07T10:56:27",
            "name": "support full function of DCF",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/22387/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/109365/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/109365/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 1A435A0508;\n\tThu,  7 Apr 2022 04:59:26 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id CBEBC4288E;\n\tThu,  7 Apr 2022 04:58:53 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 476DC42889\n for <dev@dpdk.org>; Thu,  7 Apr 2022 04:58:52 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 06 Apr 2022 19:58:51 -0700",
            "from intel-cd-odc-kevin.cd.intel.com ([10.240.178.195])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 06 Apr 2022 19:58:49 -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=1649300332; x=1680836332;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=Eg+W1/VI+8uwinFV5UxZmP882/27WuMKR2L8a+fQOsw=;\n b=Qi324CTWSggJ+qQgU0Mku4HiJmHgR3nXVgV377phNsjap0sKMUxFw5kL\n gLlRb4duELBaejrqq7g+fbwMqgHwCGXzVgajOy0M6VidlMUgkhikRNXig\n MXxVfyE9uD9zKha4kD1t2QIkEfqnBcktr697zCyXcJDK7FqlL4JZ/Mhc7\n jBWv2uda4GgVOwwGwDFwdwddp5IKjnvAcquSUOREYYOjsKxmWVN9CxkXU\n GhKt5ctGr+eN7zzkjCJPxHn4O/BZt9EUPwszsgR7OwPFFOirjPnCYYlA4\n h+qn+nO+HTMFYC3rWEEbf+ZJ0rSdRr1C9YjMh4VY1n5/kGrs8IQ4gtTGI w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10309\"; a=\"248738364\"",
            "E=Sophos;i=\"5.90,241,1643702400\"; d=\"scan'208\";a=\"248738364\"",
            "E=Sophos;i=\"5.90,241,1643702400\"; d=\"scan'208\";a=\"570850578\""
        ],
        "From": "Kevin Liu <kevinx.liu@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "qiming.yang@intel.com, qi.z.zhang@intel.com, stevex.yang@intel.com,\n Alvin Zhang <alvinx.zhang@intel.com>, Steven Zou <steven.zou@intel.com>,\n Kevin Liu <kevinx.liu@intel.com>",
        "Subject": "[PATCH 13/39] common/iavf: support flushing rules and reporting DCF\n id",
        "Date": "Thu,  7 Apr 2022 10:56:40 +0000",
        "Message-Id": "<20220407105706.18889-14-kevinx.liu@intel.com>",
        "X-Mailer": "git-send-email 2.33.1",
        "In-Reply-To": "<20220407105706.18889-1-kevinx.liu@intel.com>",
        "References": "<20220407105706.18889-1-kevinx.liu@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": "From: Alvin Zhang <alvinx.zhang@intel.com>\n\nAdd virtual channel opcode for DCF flushing rules.\nAdd virtual channel event for PF reporting DCF id.\n\nSigned-off-by: Steven Zou <steven.zou@intel.com>\nSigned-off-by: Alvin Zhang <alvinx.zhang@intel.com>\nSigned-off-by: Kevin Liu <kevinx.liu@intel.com>\n---\n drivers/common/iavf/virtchnl.h | 13 +++++++++++++\n 1 file changed, 13 insertions(+)",
    "diff": "diff --git a/drivers/common/iavf/virtchnl.h b/drivers/common/iavf/virtchnl.h\nindex 3e44eca7d8..6e2a24b281 100644\n--- a/drivers/common/iavf/virtchnl.h\n+++ b/drivers/common/iavf/virtchnl.h\n@@ -164,6 +164,12 @@ enum virtchnl_ops {\n \tVIRTCHNL_OP_ENABLE_QUEUES_V2 = 107,\n \tVIRTCHNL_OP_DISABLE_QUEUES_V2 = 108,\n \tVIRTCHNL_OP_MAP_QUEUE_VECTOR = 111,\n+\n+\t/**\n+\t * To reduce the risk for future combability issue,\n+\t * set VIRTCHNL_OP_DCF_RULE_FLUSH carefully by using a special value.\n+\t */\n+\tVIRTCHNL_OP_DCF_RULE_FLUSH = 6000,\n \tVIRTCHNL_OP_MAX,\n };\n \n@@ -1424,6 +1430,12 @@ enum virtchnl_event_codes {\n \tVIRTCHNL_EVENT_RESET_IMPENDING,\n \tVIRTCHNL_EVENT_PF_DRIVER_CLOSE,\n \tVIRTCHNL_EVENT_DCF_VSI_MAP_UPDATE,\n+\n+\t/**\n+\t * To reduce the risk for future combability issue,\n+\t * set VIRTCHNL_EVENT_DCF_VSI_INFO carefully by using a special value.\n+\t */\n+\tVIRTCHNL_EVENT_DCF_VSI_INFO = 1000,\n };\n \n #define PF_EVENT_SEVERITY_INFO\t\t0\n@@ -2200,6 +2212,7 @@ virtchnl_vc_validate_vf_msg(struct virtchnl_version_info *ver, u32 v_opcode,\n \t\t */\n \t\tvalid_len = msglen;\n \t\tbreak;\n+\tcase VIRTCHNL_OP_DCF_RULE_FLUSH:\n \tcase VIRTCHNL_OP_DCF_DISABLE:\n \tcase VIRTCHNL_OP_DCF_GET_VSI_MAP:\n \tcase VIRTCHNL_OP_DCF_GET_PKG_INFO:\n",
    "prefixes": [
        "13/39"
    ]
}