get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 127105,
    "url": "http://patches.dpdk.org/api/patches/127105/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230519083110.809913-4-wenjing.qiao@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": "<20230519083110.809913-4-wenjing.qiao@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230519083110.809913-4-wenjing.qiao@intel.com",
    "date": "2023-05-19T08:31:06",
    "name": "[v4,3/7] net/cpfl: save main time by alarm",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "0c6d5f23c87bd3c23dc58737df090c609ee42839",
    "submitter": {
        "id": 2680,
        "url": "http://patches.dpdk.org/api/people/2680/?format=api",
        "name": "Wenjing Qiao",
        "email": "wenjing.qiao@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/20230519083110.809913-4-wenjing.qiao@intel.com/mbox/",
    "series": [
        {
            "id": 28088,
            "url": "http://patches.dpdk.org/api/series/28088/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=28088",
            "date": "2023-05-19T08:31:03",
            "name": "fix idpf and cpfl timestamp",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/28088/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/127105/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/127105/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 E48F142B47;\n\tFri, 19 May 2023 10:37:11 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0A99742D37;\n\tFri, 19 May 2023 10:37:04 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id 99DB142D2D;\n Fri, 19 May 2023 10:37:01 +0200 (CEST)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 19 May 2023 01:37:01 -0700",
            "from dpdk-wenjing-01.sh.intel.com ([10.67.118.161])\n by fmsmga004.fm.intel.com with ESMTP; 19 May 2023 01:36:59 -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=1684485421; x=1716021421;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=HrwRMFjw+OxVylIb8IK8lo6TbYMXS1yTkJHC5lMY6ts=;\n b=jCx8SIZOiSVJ3zvZdxOg5Xy8MhmpaAF+dFoAf2SqmYGjJk26Gk6sScL0\n O2Xu7N6OCtOMmazTW9Hlr3Bo7J/O7/wigN5TJ6JwWKN1A+8unp9oNbnb0\n QxF8kOVSE96hioccWeerG48DKXcE/QblNV1M31qFdztEOYPWbldAW8dUf\n BR9dMT2pppD0eOf/GBNVLO/5BCTVkQoiYEQEV6nrTsNaH9zunlux6AIAh\n XhPzbq0+LNz6X4i+J+WeJiM7EKpTMoj3rg3qIHw8Fr+fsjn/zI7KGE90t\n J65LdVKoDwYm7P1z9U09oGR59zXW56Dv2LxyRIA9tZEooXVUu9mx3Hfzz Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10714\"; a=\"354670390\"",
            "E=Sophos;i=\"6.00,176,1681196400\"; d=\"scan'208\";a=\"354670390\"",
            "E=McAfee;i=\"6600,9927,10714\"; a=\"772216238\"",
            "E=Sophos;i=\"6.00,176,1681196400\"; d=\"scan'208\";a=\"772216238\""
        ],
        "X-ExtLoop1": "1",
        "From": "Wenjing Qiao <wenjing.qiao@intel.com>",
        "To": "jingjing.wu@intel.com,\n\tbeilei.xing@intel.com,\n\tqi.z.zhang@intel.com",
        "Cc": "dev@dpdk.org, mingxia.liu@intel.com,\n Wenjing Qiao <wenjing.qiao@intel.com>,\n stable@dpdk.org",
        "Subject": "[PATCH v4 3/7] net/cpfl: save main time by alarm",
        "Date": "Fri, 19 May 2023 04:31:06 -0400",
        "Message-Id": "<20230519083110.809913-4-wenjing.qiao@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230519083110.809913-1-wenjing.qiao@intel.com>",
        "References": "<20230424091707.488045-2-wenjing.qiao@intel.com>\n <20230519083110.809913-1-wenjing.qiao@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": "Using alarm to save main time from registers every 1 second.\n\nFixes: 8c6098afa075 (\"common/idpf: add Rx/Tx data path\")\nCc: stable@dpdk.org\n\nSigned-off-by: Wenjing Qiao <wenjing.qiao@intel.com>\n---\n drivers/net/cpfl/cpfl_ethdev.c | 7 +++++++\n 1 file changed, 7 insertions(+)",
    "diff": "diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c\nindex 7528a14d05..702fd6f4ec 100644\n--- a/drivers/net/cpfl/cpfl_ethdev.c\n+++ b/drivers/net/cpfl/cpfl_ethdev.c\n@@ -767,6 +767,9 @@ cpfl_dev_start(struct rte_eth_dev *dev)\n \t\tgoto err_vec;\n \t}\n \n+\tif (dev->data->dev_conf.rxmode.offloads & RTE_ETH_RX_OFFLOAD_TIMESTAMP)\n+\t\tidpf_rx_timestamp_start(base);\n+\n \tret = idpf_vc_vectors_alloc(vport, req_vecs_num);\n \tif (ret != 0) {\n \t\tPMD_DRV_LOG(ERR, \"Failed to allocate interrupt vectors\");\n@@ -814,6 +817,7 @@ static int\n cpfl_dev_stop(struct rte_eth_dev *dev)\n {\n \tstruct idpf_vport *vport = dev->data->dev_private;\n+\tstruct idpf_adapter *base = vport->adapter;\n \n \tif (dev->data->dev_started == 0)\n \t\treturn 0;\n@@ -826,6 +830,9 @@ cpfl_dev_stop(struct rte_eth_dev *dev)\n \n \tidpf_vc_vectors_dealloc(vport);\n \n+\tif (dev->data->dev_conf.rxmode.offloads & RTE_ETH_RX_OFFLOAD_TIMESTAMP)\n+\t\tidpf_rx_timestamp_stop(base);\n+\n \treturn 0;\n }\n \n",
    "prefixes": [
        "v4",
        "3/7"
    ]
}