Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/94417/?format=api
https://patches.dpdk.org/api/patches/94417/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210618103741.26526-9-ndabilpuram@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": "<20210618103741.26526-9-ndabilpuram@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210618103741.26526-9-ndabilpuram@marvell.com", "date": "2021-06-18T10:36:47", "name": "[v3,08/62] common/cnxk: fix flow create on CN98xx", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "670568623856785f9fe120efb7dff3014c76ea8d", "submitter": { "id": 1202, "url": "https://patches.dpdk.org/api/people/1202/?format=api", "name": "Nithin Dabilpuram", "email": "ndabilpuram@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/20210618103741.26526-9-ndabilpuram@marvell.com/mbox/", "series": [ { "id": 17394, "url": "https://patches.dpdk.org/api/series/17394/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=17394", "date": "2021-06-18T10:36:39", "name": "Marvell CNXK Ethdev Driver", "version": 3, "mbox": "https://patches.dpdk.org/series/17394/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/94417/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/94417/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 2C927A0C46;\n\tFri, 18 Jun 2021 12:40:22 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4003A40142;\n\tFri, 18 Jun 2021 12:39:44 +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 9ED2C410F5\n for <dev@dpdk.org>; Fri, 18 Jun 2021 12:39:42 +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 15IAZPAQ003484 for <dev@dpdk.org>; Fri, 18 Jun 2021 03:39:42 -0700", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com with ESMTP id 397udry7dg-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Fri, 18 Jun 2021 03:39:42 -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 Fri, 18 Jun 2021 03:39:40 -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; Fri, 18 Jun 2021 03:39:40 -0700", "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 439025B6967;\n Fri, 18 Jun 2021 03:38:53 -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=mnsL+ODcghOvFFNXCmB2vUM5/a7TLIgdU2b/8MfwyrI=;\n b=RLXg8jZuX7LjPFUBPpqerf1L0XhTl2fYP5QhlYUNELxe9v6g5R52HBMJEQne3otyO/mk\n 74DN7zeAi0Vl8UldrV4BQ6kkm94g/UTZiXs0cGSkQLxGeYYowtvQvtaAt7lqCNgSEK2D\n 5NU72vMM2OENWdHVcY1N/9ObjRDiNmID9B7za/lyMhC/vo5/OONJm7dXB25sI4lMoj+l\n XM6b85VFoLapZCYWSd8o9i/na7eXe4wEtU3VKvtR8j6GvA01DMjkwR2zoxxwoz6nJPyG\n lZEjF2mkuJw32ul9kk0QZLAQCpt/eWPejw/Qyf1jcRjREA52a1deYc5SOmyHa2N4KU6M 7Q==", "From": "Nithin Dabilpuram <ndabilpuram@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>, <hkalra@marvell.com>", "Date": "Fri, 18 Jun 2021 16:06:47 +0530", "Message-ID": "<20210618103741.26526-9-ndabilpuram@marvell.com>", "X-Mailer": "git-send-email 2.8.4", "In-Reply-To": "<20210618103741.26526-1-ndabilpuram@marvell.com>", "References": "<20210306153404.10781-1-ndabilpuram@marvell.com>\n <20210618103741.26526-1-ndabilpuram@marvell.com>", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Proofpoint-ORIG-GUID": "U1D_AeRswdDBRO9NUKLunxhA6qKIJB4j", "X-Proofpoint-GUID": "U1D_AeRswdDBRO9NUKLunxhA6qKIJB4j", "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790\n definitions=2021-06-18_04:2021-06-18,\n 2021-06-18 signatures=0", "Subject": "[dpdk-dev] [PATCH v3 08/62] common/cnxk: fix flow create on CN98xx", "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: Satheesh Paul <psatheesh@marvell.com>\n\nCN96xx and CN98xx have 4096 and 16384 MCAM entries respectively.\nAligning the code with the same numbers.\n\nFixes: a07f7ced436d (\"common/cnxk: add NPC init and fini\")\n\nSigned-off-by: Satheesh Paul <psatheesh@marvell.com>\n---\n drivers/common/cnxk/roc_model.h | 6 ++++++\n drivers/common/cnxk/roc_npc.c | 2 +-\n 2 files changed, 7 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/common/cnxk/roc_model.h b/drivers/common/cnxk/roc_model.h\nindex fb774ac..d6ef459 100644\n--- a/drivers/common/cnxk/roc_model.h\n+++ b/drivers/common/cnxk/roc_model.h\n@@ -88,6 +88,12 @@ roc_model_is_cn10k(void)\n }\n \n static inline uint64_t\n+roc_model_is_cn98xx(void)\n+{\n+\treturn (roc_model->flag & ROC_MODEL_CN98xx_A0);\n+}\n+\n+static inline uint64_t\n roc_model_is_cn96_A0(void)\n {\n \treturn roc_model->flag & ROC_MODEL_CN96xx_A0;\ndiff --git a/drivers/common/cnxk/roc_npc.c b/drivers/common/cnxk/roc_npc.c\nindex bb55f3d..8a76823 100644\n--- a/drivers/common/cnxk/roc_npc.c\n+++ b/drivers/common/cnxk/roc_npc.c\n@@ -118,7 +118,7 @@ npc_mcam_tot_entries(void)\n \t/* FIXME: change to reading in AF from NPC_AF_CONST1/2\n \t * MCAM_BANK_DEPTH(_EXT) * MCAM_BANKS\n \t */\n-\tif (roc_model_is_cn10k())\n+\tif (roc_model_is_cn10k() || roc_model_is_cn98xx())\n \t\treturn 16 * 1024; /* MCAM_BANKS = 4, BANK_DEPTH_EXT = 4096 */\n \telse\n \t\treturn 4 * 1024; /* MCAM_BANKS = 4, BANK_DEPTH_EXT = 1024 */\n", "prefixes": [ "v3", "08/62" ] }{ "id": 94417, "url": "