Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/100137/?format=api
https://patches.dpdk.org/api/patches/100137/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210930170113.29030-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": "<20210930170113.29030-9-ndabilpuram@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210930170113.29030-9-ndabilpuram@marvell.com", "date": "2021-09-30T17:00:53", "name": "[v2,08/28] common/cnxk: disable CQ drop when inline inbound is enabled", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "86cab2ea2faf14adcd0679836473142a028cdab3", "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/20210930170113.29030-9-ndabilpuram@marvell.com/mbox/", "series": [ { "id": 19307, "url": "https://patches.dpdk.org/api/series/19307/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=19307", "date": "2021-09-30T17:00:48", "name": "net/cnxk: support for inline ipsec", "version": 2, "mbox": "https://patches.dpdk.org/series/19307/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/100137/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/100137/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 5DD0DA0C43;\n\tThu, 30 Sep 2021 19:02:12 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 82DA6410FF;\n\tThu, 30 Sep 2021 19:02:06 +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 7BCC3410ED\n for <dev@dpdk.org>; Thu, 30 Sep 2021 19:01:56 +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 18UCUQBu001428\n for <dev@dpdk.org>; Thu, 30 Sep 2021 10:01:55 -0700", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com with ESMTP id 3bd3g3b9da-9\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Thu, 30 Sep 2021 10:01:55 -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 Thu, 30 Sep 2021 10:01:43 -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; Thu, 30 Sep 2021 10:01:42 -0700", "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 335763F7067;\n Thu, 30 Sep 2021 10:01:40 -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=51RnhpBfBjqbOPKvicNQ+i9Cp0tgbz3hX/CdNvcaBTY=;\n b=IVqKkeATZ1plFFToNVgM2x0uyMI7hhwAHMX88YoEmkPeO8hB/Pyv3jFLf+oGGfYNTn7l\n NwtUr7S146Sa9xZbrvlvvqJR9qg0qAfO4qzeUucIvrJOb781aB/BbSTuOL8p5EWXA/xG\n VvpBl0ENKN7ETqKor754WnbHm0nsqShdO2OnCS2pLBvIq1V5ZJ8M2jd1US7X3J5SI8fZ\n dIDIhmVl6eo2K82lTZ1/WX+wx1Fbv8bSnKcvBw18gqpWfPVbe+T2jucxRucnCg3eR+Qx\n pGMF/aYrJ2uYriDrF18V5kj/SWk8xJ8PDOH6IuwboDLKt68gTRM0NgDNaZCshps7l3Sp ag==", "From": "Nithin Dabilpuram <ndabilpuram@marvell.com>", "To": "<jerinj@marvell.com>, Nithin Dabilpuram <ndabilpuram@marvell.com>, \"Kiran\n Kumar K\" <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>,\n Satha Rao <skoteshwar@marvell.com>", "CC": "<dev@dpdk.org>", "Date": "Thu, 30 Sep 2021 22:30:53 +0530", "Message-ID": "<20210930170113.29030-9-ndabilpuram@marvell.com>", "X-Mailer": "git-send-email 2.8.4", "In-Reply-To": "<20210930170113.29030-1-ndabilpuram@marvell.com>", "References": "<20210902021505.17607-1-ndabilpuram@marvell.com>\n <20210930170113.29030-1-ndabilpuram@marvell.com>", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Proofpoint-GUID": "RZ0SsgFj7qceWIL39M6MWpBsXvRpYhGz", "X-Proofpoint-ORIG-GUID": "RZ0SsgFj7qceWIL39M6MWpBsXvRpYhGz", "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-30_06,2021-09-30_01,2020-04-07_01", "Subject": "[dpdk-dev] [PATCH v2 08/28] common/cnxk: disable CQ drop when\n inline inbound is enabled", "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": "Disable CQ drop when inline inbound is enabled. CQ drop\nis not supported for second pass IPsec decrypted packets.\n\nSigned-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>\n---\n drivers/common/cnxk/roc_nix_queue.c | 11 ++++++++---\n 1 file changed, 8 insertions(+), 3 deletions(-)", "diff": "diff --git a/drivers/common/cnxk/roc_nix_queue.c b/drivers/common/cnxk/roc_nix_queue.c\nindex 41e8f2c..41a1422 100644\n--- a/drivers/common/cnxk/roc_nix_queue.c\n+++ b/drivers/common/cnxk/roc_nix_queue.c\n@@ -492,15 +492,20 @@ roc_nix_cq_init(struct roc_nix *roc_nix, struct roc_nix_cq *cq)\n \t\tcq->drop_thresh = min_rx_drop;\n \t} else {\n \t\tcq->drop_thresh = NIX_CQ_THRESH_LEVEL;\n-\t\tcq_ctx->drop = cq->drop_thresh;\n-\t\tcq_ctx->drop_ena = 1;\n+\t\t/* Drop processing or red drop cannot be enabled due to\n+\t\t * due to packets coming for second pass from CPT.\n+\t\t */\n+\t\tif (!roc_nix_inl_inb_is_enabled(roc_nix)) {\n+\t\t\tcq_ctx->drop = cq->drop_thresh;\n+\t\t\tcq_ctx->drop_ena = 1;\n+\t\t}\n \t}\n \n \t/* TX pause frames enable flow ctrl on RX side */\n \tif (nix->tx_pause) {\n \t\t/* Single BPID is allocated for all rx channels for now */\n \t\tcq_ctx->bpid = nix->bpid[0];\n-\t\tcq_ctx->bp = cq_ctx->drop;\n+\t\tcq_ctx->bp = cq->drop_thresh;\n \t\tcq_ctx->bp_ena = 1;\n \t}\n \n", "prefixes": [ "v2", "08/28" ] }{ "id": 100137, "url": "