Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/99097/?format=api
https://patches.dpdk.org/api/patches/99097/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210917093437.269363-2-asekhar@marvell.com/", "project": { "id": 1, "url": "https://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": "<20210917093437.269363-2-asekhar@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210917093437.269363-2-asekhar@marvell.com", "date": "2021-09-17T09:34:37", "name": "[v2,2/2] common/cnxk: avoid using stashing option of stype", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "f25ea1e1b2397caf0d3be9da95fe6627c79591da", "submitter": { "id": 2125, "url": "https://patches.dpdk.org/api/people/2125/?format=api", "name": "Ashwin Sekhar T K", "email": "asekhar@marvell.com" }, "delegate": { "id": 310, "url": "https://patches.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210917093437.269363-2-asekhar@marvell.com/mbox/", "series": [ { "id": 19001, "url": "https://patches.dpdk.org/api/series/19001/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=19001", "date": "2021-09-17T09:34:36", "name": "[v2,1/2] common/cnxk: update roc models", "version": 2, "mbox": "https://patches.dpdk.org/series/19001/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/99097/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/99097/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 5797BA0C46;\n\tFri, 17 Sep 2021 11:36:13 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id E7F4F410EA;\n\tFri, 17 Sep 2021 11:36:12 +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 53403410E9\n for <dev@dpdk.org>; Fri, 17 Sep 2021 11:36:11 +0200 (CEST)", "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 18GNENha030260\n for <dev@dpdk.org>; Fri, 17 Sep 2021 02:36:10 -0700", "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com with ESMTP id 3b4fe1sksb-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Fri, 17 Sep 2021 02:36:10 -0700", "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Fri, 17 Sep 2021 02:36:09 -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; Fri, 17 Sep 2021 02:36:09 -0700", "from lab-ci-142.marvell.com (unknown [10.28.36.142])\n by maili.marvell.com (Postfix) with ESMTP id 6C8FF3F707D;\n Fri, 17 Sep 2021 02:36:05 -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=KyrH971xUB6Yd6Ki8hce1Oxu8jOzCWB+Xy94tdAmKcg=;\n b=YTwHn5rtG2Nd1qc06S9Gz4STBS0bX2K1AbmebctyjwdweW6ddRP886eAIOALpmZgf5jb\n 3UeVFJ6n69wY6kqF59u6HCVYzo5ySBDffQdIGtJFonVw0lspPOyktXwLsEW1TyL7s882\n 0n+FEAJjVDktgrTOI4bGvTQRBS8sNWnHn2jGiDG3fkSoNaiKC3j1Zl02mag50axgWWHn\n MC9OxKkG/UWirB4UTld8hBn9YDNaSPjC4smfeyoR9jHZg6mLSKLgfbyZbBBB/GEOVdei\n xedZCXqLvYtTAwTyJV5DTkXaPEEF3YmadG/3bGeAObjj2x6m74yRogsndqUbRF3TzW6Z PA==", "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>, <anoobj@marvell.com>,\n <gakhil@marvell.com>", "Date": "Fri, 17 Sep 2021 15:04:37 +0530", "Message-ID": "<20210917093437.269363-2-asekhar@marvell.com>", "X-Mailer": "git-send-email 2.32.0", "In-Reply-To": "<20210917093437.269363-1-asekhar@marvell.com>", "References": "<20210830162903.2736191-1-asekhar@marvell.com>\n <20210917093437.269363-1-asekhar@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-GUID": "GhQIBMcm0HHLKE_VsYCRYxINksRRfmWK", "X-Proofpoint-ORIG-GUID": "GhQIBMcm0HHLKE_VsYCRYxINksRRfmWK", "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-09-17_04,2021-09-16_01,2020-04-07_01", "Subject": "[dpdk-dev] [PATCH v2 2/2] common/cnxk: avoid using stashing option\n of 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>\nAcked-by: Jerin Jacob <jerinj@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": [ "v2", "2/2" ] }{ "id": 99097, "url": "