get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 92211,
    "url": "http://patches.dpdk.org/api/patches/92211/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210426174441.2302-26-pbhagavatula@marvell.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": "<20210426174441.2302-26-pbhagavatula@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210426174441.2302-26-pbhagavatula@marvell.com",
    "date": "2021-04-26T17:44:32",
    "name": "[v2,25/33] event/cnxk: add timer adapter info function",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "55a01a9d1e0098357475f4bb1b39e96c57b9b8c1",
    "submitter": {
        "id": 1183,
        "url": "http://patches.dpdk.org/api/people/1183/?format=api",
        "name": "Pavan Nikhilesh Bhagavatula",
        "email": "pbhagavatula@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "http://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210426174441.2302-26-pbhagavatula@marvell.com/mbox/",
    "series": [
        {
            "id": 16682,
            "url": "http://patches.dpdk.org/api/series/16682/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=16682",
            "date": "2021-04-26T17:44:07",
            "name": "Marvell CNXK Event device Driver",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/16682/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/92211/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/92211/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 68332A0548;\n\tMon, 26 Apr 2021 19:48:08 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id F017041265;\n\tMon, 26 Apr 2021 19:46:24 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id 18AD2411F1\n for <dev@dpdk.org>; Mon, 26 Apr 2021 19:46:24 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id\n 13QHivag030137 for <dev@dpdk.org>; Mon, 26 Apr 2021 10:46:23 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com with ESMTP id 385tvvhdk4-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Mon, 26 Apr 2021 10:46:23 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Mon, 26 Apr 2021 10:46:21 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Mon, 26 Apr 2021 10:46:21 -0700",
            "from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176])\n by maili.marvell.com (Postfix) with ESMTP id 98F5C5B6C96;\n Mon, 26 Apr 2021 10:46:19 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=UUIbvVseT/huibNTuEksqhEjCYnygjy/bGwznB5YghM=;\n b=a+Nq/EQEgmlmW46zM4aqZ0bhnuWogpg5mzc2nXV9DNRcEX7HoPzvvZkKanEqx6WoAIby\n 1wAOftL6uTp9PWH4TqfhsPiuK2ZWZKKOyaeal9+/oazqpiRd88DaH2aFHjwhc0nn3p+7\n SKmNrNuMxlVpmNBKrKczGAi1C/UezoYCo5BbXcPIRPCDch6w/D90D9qkEvoSOUTCT30U\n YUPhbLFngjjN/DXcZKSfzNbeaKJLP/+y8zM47N6WL4Mhoy3AI1/IhxWbbh9as+YH25VO\n o28D+7JShj1ViPl6zVZ7FrmWbtECPCPlV3URJiqjuSoSoeG3R0fH63ITGRn37fKQCmZt CA==",
        "From": "<pbhagavatula@marvell.com>",
        "To": "<jerinj@marvell.com>, Pavan Nikhilesh <pbhagavatula@marvell.com>, \"Shijith\n Thotton\" <sthotton@marvell.com>",
        "CC": "<dev@dpdk.org>",
        "Date": "Mon, 26 Apr 2021 23:14:32 +0530",
        "Message-ID": "<20210426174441.2302-26-pbhagavatula@marvell.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20210426174441.2302-1-pbhagavatula@marvell.com>",
        "References": "<20210306162942.6845-1-pbhagavatula@marvell.com>\n <20210426174441.2302-1-pbhagavatula@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "bdNk3Kn1jGkX2BSNa1LSmZto4PKlJtuD",
        "X-Proofpoint-ORIG-GUID": "bdNk3Kn1jGkX2BSNa1LSmZto4PKlJtuD",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761\n definitions=2021-04-26_09:2021-04-26,\n 2021-04-26 signatures=0",
        "Subject": "[dpdk-dev] [PATCH v2 25/33] event/cnxk: add timer adapter info\n function",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Shijith Thotton <sthotton@marvell.com>\n\nAdd TIM event timer adapter info get function.\n\nSigned-off-by: Shijith Thotton <sthotton@marvell.com>\nSigned-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>\n---\n drivers/event/cnxk/cnxk_tim_evdev.c | 13 +++++++++++++\n 1 file changed, 13 insertions(+)",
    "diff": "diff --git a/drivers/event/cnxk/cnxk_tim_evdev.c b/drivers/event/cnxk/cnxk_tim_evdev.c\nindex 4add1d659..6bbfadb25 100644\n--- a/drivers/event/cnxk/cnxk_tim_evdev.c\n+++ b/drivers/event/cnxk/cnxk_tim_evdev.c\n@@ -76,6 +76,18 @@ cnxk_tim_chnk_pool_create(struct cnxk_tim_ring *tim_ring,\n \treturn rc;\n }\n \n+static void\n+cnxk_tim_ring_info_get(const struct rte_event_timer_adapter *adptr,\n+\t\t       struct rte_event_timer_adapter_info *adptr_info)\n+{\n+\tstruct cnxk_tim_ring *tim_ring = adptr->data->adapter_priv;\n+\n+\tadptr_info->max_tmo_ns = tim_ring->max_tout;\n+\tadptr_info->min_resolution_ns = tim_ring->tck_nsec;\n+\trte_memcpy(&adptr_info->conf, &adptr->data->conf,\n+\t\t   sizeof(struct rte_event_timer_adapter_conf));\n+}\n+\n static int\n cnxk_tim_ring_create(struct rte_event_timer_adapter *adptr)\n {\n@@ -218,6 +230,7 @@ cnxk_tim_caps_get(const struct rte_eventdev *evdev, uint64_t flags,\n \n \tcnxk_tim_ops.init = cnxk_tim_ring_create;\n \tcnxk_tim_ops.uninit = cnxk_tim_ring_free;\n+\tcnxk_tim_ops.get_info = cnxk_tim_ring_info_get;\n \n \t/* Store evdev pointer for later use. */\n \tdev->event_dev = (struct rte_eventdev *)(uintptr_t)evdev;\n",
    "prefixes": [
        "v2",
        "25/33"
    ]
}