get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 97562,
    "url": "http://patches.dpdk.org/api/patches/97562/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210830162903.2736191-2-asekhar@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": "<20210830162903.2736191-2-asekhar@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210830162903.2736191-2-asekhar@marvell.com",
    "date": "2021-08-30T16:29:03",
    "name": "[2/2] common/cnxk: avoid using stashing option of stype",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "f25ea1e1b2397caf0d3be9da95fe6627c79591da",
    "submitter": {
        "id": 2125,
        "url": "http://patches.dpdk.org/api/people/2125/?format=api",
        "name": "Ashwin Sekhar T K",
        "email": "asekhar@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/20210830162903.2736191-2-asekhar@marvell.com/mbox/",
    "series": [
        {
            "id": 18535,
            "url": "http://patches.dpdk.org/api/series/18535/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=18535",
            "date": "2021-08-30T16:29:02",
            "name": "[1/2] common/cnxk: update roc models",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/18535/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/97562/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/97562/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 28D0BA0547;\n\tMon, 30 Aug 2021 18:30:41 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1594F41103;\n\tMon, 30 Aug 2021 18:30:41 +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 9999C41103\n for <dev@dpdk.org>; Mon, 30 Aug 2021 18:30:39 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 17UA1mBs011121\n for <dev@dpdk.org>; Mon, 30 Aug 2021 09:30:38 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com with ESMTP id 3arj9m31s3-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Mon, 30 Aug 2021 09:30:38 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Mon, 30 Aug 2021 09:30:36 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.18 via Frontend\n Transport; Mon, 30 Aug 2021 09:30:36 -0700",
            "from lab-ci-142.marvell.com (unknown [10.28.36.142])\n by maili.marvell.com (Postfix) with ESMTP id 099823F7078;\n Mon, 30 Aug 2021 09:30:33 -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=TL7lMtsLiTD/zapzhxvE6QqvqnmEFo6XiXi3/RxRyiA=;\n b=KATYV05aIAFqWKQhIBZOeVzv4tMKAYXINzh8UVSUfDkPR5kVsi/5r1+P1ATi82nAjFCy\n mPTHolpyL7/McBA/G9m8Hp//v+Bx+HAAwgedaNblYGkl/Gldeo/Q3J15Gx8YqsreOeaB\n XJ6cHHtkApPAWn0loUzMj4SL/9pwS7wTKZbcHLFqYZq9nFgYtUS3/+Cwn/m/d3Nn5aog\n NnhAzcGzzJGYt1kfj9B5/ulhDuTwaXW3TiSpC41acq4+ZJqFoTfNq48hDdPtzSqs6ht2\n bhZo96Tg6PMzt8Xi14pzgfkqRFTPQ/fQk+0EQKtWplhht8ZAt2USx95SCXOsvf92bm1Q hA==",
        "From": "Ashwin Sekhar T K <asekhar@marvell.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<jerinj@marvell.com>, <skori@marvell.com>, <skoteshwar@marvell.com>,\n <pbhagavatula@marvell.com>, <kirankumark@marvell.com>,\n <psatheesh@marvell.com>, <asekhar@marvell.com>,\n <ndabilpuram@marvell.com>, <gakhil@marvell.com>",
        "Date": "Mon, 30 Aug 2021 21:59:03 +0530",
        "Message-ID": "<20210830162903.2736191-2-asekhar@marvell.com>",
        "X-Mailer": "git-send-email 2.32.0",
        "In-Reply-To": "<20210830162903.2736191-1-asekhar@marvell.com>",
        "References": "<20210830140819.2610366-1-asekhar@marvell.com>\n <20210830162903.2736191-1-asekhar@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "t5h5ve1Q73Macy03atSiSDzRJU8Rpe4h",
        "X-Proofpoint-ORIG-GUID": "t5h5ve1Q73Macy03atSiSDzRJU8Rpe4h",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475\n definitions=2021-08-30_05,2021-08-30_01,2020-04-07_01",
        "Subject": "[dpdk-dev] [PATCH 2/2] common/cnxk: avoid using stashing option of\n stype",
        "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": "Avoid using stashing option of stype in NPA in cn10k-a0 stepping.\n\nThis is a workaround for a HW Errata due to which NPA stashing operations\nwill never result in writing the data into L2 cache. But instead, it will\nbe written into LLC.\n\nSigned-off-by: Ashwin Sekhar T K <asekhar@marvell.com>\n---\n drivers/common/cnxk/roc_nix_queue.c  | 4 ++++\n drivers/common/cnxk/roc_nix_tm_ops.c | 7 +++++++\n drivers/common/cnxk/roc_npa.h        | 2 +-\n 3 files changed, 12 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/common/cnxk/roc_nix_queue.c b/drivers/common/cnxk/roc_nix_queue.c\nindex 7e2f86eca7..76e439e7a9 100644\n--- a/drivers/common/cnxk/roc_nix_queue.c\n+++ b/drivers/common/cnxk/roc_nix_queue.c\n@@ -585,6 +585,10 @@ sqb_pool_populate(struct roc_nix *roc_nix, struct roc_nix_sq *sq)\n \n \tmemset(&aura, 0, sizeof(aura));\n \taura.fc_ena = 1;\n+\tif (roc_model_is_cn9k() || roc_model_is_cn10ka_a0())\n+\t\taura.fc_stype = 0x0; /* STF */\n+\telse\n+\t\taura.fc_stype = 0x3; /* STSTP */\n \taura.fc_addr = (uint64_t)sq->fc;\n \taura.fc_hyst_bits = 0; /* Store count on all updates */\n \trc = roc_npa_pool_create(&sq->aura_handle, blk_sz, NIX_MAX_SQB, &aura,\ndiff --git a/drivers/common/cnxk/roc_nix_tm_ops.c b/drivers/common/cnxk/roc_nix_tm_ops.c\nindex ed244d4214..f2173c9a58 100644\n--- a/drivers/common/cnxk/roc_nix_tm_ops.c\n+++ b/drivers/common/cnxk/roc_nix_tm_ops.c\n@@ -38,6 +38,13 @@ roc_nix_tm_sq_aura_fc(struct roc_nix_sq *sq, bool enable)\n \n \treq->aura.fc_ena = enable;\n \treq->aura_mask.fc_ena = 1;\n+\tif (roc_model_is_cn9k() || roc_model_is_cn10ka_a0()) {\n+\t\treq->aura.fc_stype = 0x0;      /* STF */\n+\t\treq->aura_mask.fc_stype = 0x0; /* STF */\n+\t} else {\n+\t\treq->aura.fc_stype = 0x3;      /* STSTP */\n+\t\treq->aura_mask.fc_stype = 0x3; /* STSTP */\n+\t}\n \n \trc = mbox_process(mbox);\n \tif (rc)\ndiff --git a/drivers/common/cnxk/roc_npa.h b/drivers/common/cnxk/roc_npa.h\nindex 3fc6192e57..1cf50e5c4e 100644\n--- a/drivers/common/cnxk/roc_npa.h\n+++ b/drivers/common/cnxk/roc_npa.h\n@@ -214,7 +214,7 @@ roc_npa_aura_batch_alloc_issue(uint64_t aura_handle, uint64_t *buf,\n \tcmp.u = 0;\n \tcmp.compare_s.aura = roc_npa_aura_handle_to_aura(aura_handle);\n \tcmp.compare_s.drop = drop;\n-\tcmp.compare_s.stype = ALLOC_STYPE_STSTP;\n+\tcmp.compare_s.stype = ALLOC_STYPE_STF;\n \tcmp.compare_s.dis_wait = dis_wait;\n \tcmp.compare_s.count = num;\n \n",
    "prefixes": [
        "2/2"
    ]
}