get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 114773,
    "url": "http://patchwork.dpdk.org/api/patches/114773/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20220809184908.24030-15-ndabilpuram@marvell.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20220809184908.24030-15-ndabilpuram@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220809184908.24030-15-ndabilpuram@marvell.com",
    "date": "2022-08-09T18:48:59",
    "name": "[15/23] common/cnxk: enable aging on CN10K platform",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "5bc367d48f226eb55e4f3c1ff1299a51be52e36b",
    "submitter": {
        "id": 1202,
        "url": "http://patchwork.dpdk.org/api/people/1202/?format=api",
        "name": "Nithin Dabilpuram",
        "email": "ndabilpuram@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "http://patchwork.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20220809184908.24030-15-ndabilpuram@marvell.com/mbox/",
    "series": [
        {
            "id": 24239,
            "url": "http://patchwork.dpdk.org/api/series/24239/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=24239",
            "date": "2022-08-09T18:48:45",
            "name": "[01/23] common/cnxk: fix part value for cn10k",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/24239/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/114773/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/114773/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 9EE67A04FD;\n\tTue,  9 Aug 2022 20:50:41 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id CF6FA42BF7;\n\tTue,  9 Aug 2022 20:50:36 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 3DAA542BE7\n for <dev@dpdk.org>; Tue,  9 Aug 2022 20:50:35 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id\n 279D67Gw016173\n for <dev@dpdk.org>; Tue, 9 Aug 2022 11:50:34 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3huds2ukvd-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Tue, 09 Aug 2022 11:50:34 -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.18;\n Tue, 9 Aug 2022 11:50:32 -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.18 via Frontend\n Transport; Tue, 9 Aug 2022 11:50:32 -0700",
            "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id D89705B69B2;\n Tue,  9 Aug 2022 11:50:25 -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-type; s=pfpt0220; bh=hFBz7uChYlGWuyc+tpRoUvNxwFxcOQCJ74e+3XenxXY=;\n b=DTEd93jij3vhKk4mUlSg3idVcVew1BvzjBBnxtMr0axyU5aHI1VeYc/tDJ6k8b0UYNlf\n oOUyzZwVNiwM/QYvILyIYmrJ8BYTU7uxw/ali1JclUu8O4VClB1HjW38i3E+fiD87bJT\n k+yFfx1wxM7K4x9DTIeno2iImp5nu/CJvZzKp90ob25HeYyPUyZXmzVDF8M2Vgy/qFQ3\n itAki+N4gyae1RlYxFaecKcE7nwh5bCeR143GFsC3EOC2KYSkRX6Vc5jvN7Q9C3eb4YT\n blDIOBe5a8jFVkOZCcV16PsqfaSmSy9KuoP0DSPSkyB5nzrfcovIeWfWKmS0eJ0tL9EW RA==",
        "From": "Nithin Dabilpuram <ndabilpuram@marvell.com>",
        "To": "Nithin Dabilpuram <ndabilpuram@marvell.com>, Kiran Kumar K\n <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>, Satha Rao\n <skoteshwar@marvell.com>",
        "CC": "<jerinj@marvell.com>, <dev@dpdk.org>",
        "Subject": "[PATCH 15/23] common/cnxk: enable aging on CN10K platform",
        "Date": "Wed, 10 Aug 2022 00:18:59 +0530",
        "Message-ID": "<20220809184908.24030-15-ndabilpuram@marvell.com>",
        "X-Mailer": "git-send-email 2.8.4",
        "In-Reply-To": "<20220809184908.24030-1-ndabilpuram@marvell.com>",
        "References": "<20220809184908.24030-1-ndabilpuram@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "DQYCiN8WVNzykjJL2Gg0V_dmn4axhPDW",
        "X-Proofpoint-GUID": "DQYCiN8WVNzykjJL2Gg0V_dmn4axhPDW",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1\n definitions=2022-08-09_05,2022-08-09_02,2022-06-22_01",
        "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: Satha Rao <skoteshwar@marvell.com>\n\nThis patch set enables aging on CNF105 variant of CN10K platform.\nEnables aging statistics while dumping/reset SQ statistics.\n\nSigned-off-by: Satha Rao <skoteshwar@marvell.com>\n---\n drivers/common/cnxk/roc_errata.h    |  3 +--\n drivers/common/cnxk/roc_nix_debug.c | 19 +++++++++----------\n drivers/common/cnxk/roc_nix_stats.c |  2 ++\n 3 files changed, 12 insertions(+), 12 deletions(-)",
    "diff": "diff --git a/drivers/common/cnxk/roc_errata.h b/drivers/common/cnxk/roc_errata.h\nindex 8dc372f..d3b32f1 100644\n--- a/drivers/common/cnxk/roc_errata.h\n+++ b/drivers/common/cnxk/roc_errata.h\n@@ -30,8 +30,7 @@ roc_errata_npa_has_no_fc_stype_ststp(void)\n static inline bool\n roc_errata_nix_has_no_drop_aging(void)\n {\n-\treturn (roc_model_is_cn10ka_a0() || roc_model_is_cnf10ka_a0() ||\n-\t\troc_model_is_cnf10kb_a0());\n+\treturn (roc_model_is_cn10ka_a0() || roc_model_is_cnf10ka_a0());\n }\n \n /* Errata IPBUNIXRX-40130 */\ndiff --git a/drivers/common/cnxk/roc_nix_debug.c b/drivers/common/cnxk/roc_nix_debug.c\nindex efac7e5..bd7a5d3 100644\n--- a/drivers/common/cnxk/roc_nix_debug.c\n+++ b/drivers/common/cnxk/roc_nix_debug.c\n@@ -472,22 +472,21 @@ nix_lf_sq_dump(__io struct nix_cn10k_sq_ctx_s *ctx, uint32_t *sqb_aura_p)\n \tnix_dump(\"W7: smenq_next_sqb \\t\\t0x%\" PRIx64 \"\", ctx->smenq_next_sqb);\n \tnix_dump(\"W8: head_sqb \\t\\t\\t0x%\" PRIx64 \"\", ctx->head_sqb);\n \n-\tnix_dump(\"W9: vfi_lso_vld \\t\\t%d\\nW9: vfi_lso_vlan1_ins_ena\\t%d\",\n-\t\t ctx->vfi_lso_vld, ctx->vfi_lso_vlan1_ins_ena);\n+\tnix_dump(\"W9: vfi_lso_vld \\t\\t%d\\nW9: vfi_lso_vlan1_ins_ena\\t%d\", ctx->vfi_lso_vld,\n+\t\t ctx->vfi_lso_vlan1_ins_ena);\n \tnix_dump(\"W9: vfi_lso_vlan0_ins_ena\\t%d\\nW9: vfi_lso_mps\\t\\t\\t%d\",\n \t\t ctx->vfi_lso_vlan0_ins_ena, ctx->vfi_lso_mps);\n-\tnix_dump(\"W9: vfi_lso_sb \\t\\t\\t%d\\nW9: vfi_lso_sizem1\\t\\t%d\",\n-\t\t ctx->vfi_lso_sb, ctx->vfi_lso_sizem1);\n+\tnix_dump(\"W9: vfi_lso_sb \\t\\t\\t%d\\nW9: vfi_lso_sizem1\\t\\t%d\", ctx->vfi_lso_sb,\n+\t\t ctx->vfi_lso_sizem1);\n \tnix_dump(\"W9: vfi_lso_total\\t\\t%d\", ctx->vfi_lso_total);\n \n-\tnix_dump(\"W10: scm_lso_rem \\t\\t0x%\" PRIx64 \"\",\n-\t\t (uint64_t)ctx->scm_lso_rem);\n+\tnix_dump(\"W10: scm_lso_rem \\t\\t0x%\" PRIx64 \"\", (uint64_t)ctx->scm_lso_rem);\n \tnix_dump(\"W11: octs \\t\\t\\t0x%\" PRIx64 \"\", (uint64_t)ctx->octs);\n \tnix_dump(\"W12: pkts \\t\\t\\t0x%\" PRIx64 \"\", (uint64_t)ctx->pkts);\n-\tnix_dump(\"W14: dropped_octs \\t\\t0x%\" PRIx64 \"\",\n-\t\t (uint64_t)ctx->drop_octs);\n-\tnix_dump(\"W15: dropped_pkts \\t\\t0x%\" PRIx64 \"\",\n-\t\t (uint64_t)ctx->drop_pkts);\n+\tnix_dump(\"W13: aged_drop_pkts \\t\\t\\t0x%\" PRIx64 \"\", (uint64_t)ctx->aged_drop_pkts);\n+\tnix_dump(\"W13: aged_drop_octs \\t\\t\\t0x%\" PRIx64 \"\", (uint64_t)ctx->aged_drop_octs);\n+\tnix_dump(\"W14: dropped_octs \\t\\t0x%\" PRIx64 \"\", (uint64_t)ctx->drop_octs);\n+\tnix_dump(\"W15: dropped_pkts \\t\\t0x%\" PRIx64 \"\", (uint64_t)ctx->drop_pkts);\n \n \t*sqb_aura_p = ctx->sqb_aura;\n }\ndiff --git a/drivers/common/cnxk/roc_nix_stats.c b/drivers/common/cnxk/roc_nix_stats.c\nindex 8fd5c71..2e5071e 100644\n--- a/drivers/common/cnxk/roc_nix_stats.c\n+++ b/drivers/common/cnxk/roc_nix_stats.c\n@@ -238,6 +238,8 @@ nix_stat_tx_queue_reset(struct nix *nix, uint16_t qid)\n \t\taq->sq_mask.pkts = ~(aq->sq_mask.pkts);\n \t\taq->sq_mask.drop_octs = ~(aq->sq_mask.drop_octs);\n \t\taq->sq_mask.drop_pkts = ~(aq->sq_mask.drop_pkts);\n+\t\taq->sq_mask.aged_drop_octs = ~(aq->sq_mask.aged_drop_octs);\n+\t\taq->sq_mask.aged_drop_pkts = ~(aq->sq_mask.aged_drop_pkts);\n \t}\n \n \trc = mbox_process(mbox);\n",
    "prefixes": [
        "15/23"
    ]
}