Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/97737/?format=api
https://patches.dpdk.org/api/patches/97737/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210902021505.17607-12-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": "<20210902021505.17607-12-ndabilpuram@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210902021505.17607-12-ndabilpuram@marvell.com", "date": "2021-09-02T02:14:49", "name": "[11/27] common/cnxk: add cq enable support in nix Tx path", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "d13473d21d8963fefa3c7c9d2c86cd5a19f90635", "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/20210902021505.17607-12-ndabilpuram@marvell.com/mbox/", "series": [ { "id": 18612, "url": "https://patches.dpdk.org/api/series/18612/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=18612", "date": "2021-09-02T02:14:38", "name": "net/cnxk: support for inline ipsec", "version": 1, "mbox": "https://patches.dpdk.org/series/18612/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/97737/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/97737/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 610CDA0C4C;\n\tThu, 2 Sep 2021 04:18:02 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1479E41154;\n\tThu, 2 Sep 2021 04:17:20 +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 3024B4113A\n for <dev@dpdk.org>; Thu, 2 Sep 2021 04:17:18 +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 181K5Dsk025890\n for <dev@dpdk.org>; Wed, 1 Sep 2021 19:17:17 -0700", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com with ESMTP id 3atg8a91hs-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Wed, 01 Sep 2021 19:17:17 -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 Wed, 1 Sep 2021 19:17:15 -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; Wed, 1 Sep 2021 19:17:15 -0700", "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 7CFBF3F704B;\n Wed, 1 Sep 2021 19:17:13 -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=uKQrvS7i7sB5KBbDNxdj/7VhwTqa636bI7il4Y895G4=;\n b=XqWwUNc8SVDQUNzCYQzQVeSz+tRgpjzDnMVnr8rr9oqXtpU5hFWloMYJlfU20/6yOIFS\n vUJQIq5hKfKzINB9SyWs8DHJSflXMbBE02jL6/EryVRukBz8oW8nDxEPloCZCutgCYsu\n eP5ygs695U9hepdOseVoSlUrubEM9PHOIJZuprXGUEhVvaBtRq2o1iCQ737mIzEi/cun\n lavNNCsrj1YvfPUAPuW2w16kvTNPrKQ3EUYPCZvRw5V2gt+6s92PrDm0CUKy2H7z/cun\n Z66ivewZDP9SETzjbK0wOnMKHoVceyF7zLkymFi+717zegZGCdq0OqHnFCC8mCw+C8sc 2A==", "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>, <schalla@marvell.com>, <dev@dpdk.org>, \"Kommula\n Shiva Shankar\" <kshankar@marvell.com>", "Date": "Thu, 2 Sep 2021 07:44:49 +0530", "Message-ID": "<20210902021505.17607-12-ndabilpuram@marvell.com>", "X-Mailer": "git-send-email 2.8.4", "In-Reply-To": "<20210902021505.17607-1-ndabilpuram@marvell.com>", "References": "<20210902021505.17607-1-ndabilpuram@marvell.com>", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Proofpoint-GUID": "eOyDsf_4ZXxQLjfeG6j23zfzgKHsL7Ds", "X-Proofpoint-ORIG-GUID": "eOyDsf_4ZXxQLjfeG6j23zfzgKHsL7Ds", "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-01_05,2021-09-01_01,2020-04-07_01", "Subject": "[dpdk-dev] [PATCH 11/27] common/cnxk: add cq enable support in nix\n Tx path", "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: Kommula Shiva Shankar <kshankar@marvell.com>\n\nThis patch provides applications to add\ncq support in Tx path\n\nSigned-off-by: Kommula Shiva Shankar <kshankar@marvell.com>\n---\n drivers/common/cnxk/roc_nix.h | 2 ++\n drivers/common/cnxk/roc_nix_queue.c | 4 ++++\n 2 files changed, 6 insertions(+)", "diff": "diff --git a/drivers/common/cnxk/roc_nix.h b/drivers/common/cnxk/roc_nix.h\nindex ed6e721..95ea4e0 100644\n--- a/drivers/common/cnxk/roc_nix.h\n+++ b/drivers/common/cnxk/roc_nix.h\n@@ -194,7 +194,9 @@ struct roc_nix_sq {\n \tenum roc_nix_sq_max_sqe_sz max_sqe_sz;\n \tuint32_t nb_desc;\n \tuint16_t qid;\n+\tuint16_t cqid;\n \tbool sso_ena;\n+\tbool cq_ena;\n \t/* End of Input parameters */\n \tuint16_t sqes_per_sqb_log2;\n \tstruct roc_nix *roc_nix;\ndiff --git a/drivers/common/cnxk/roc_nix_queue.c b/drivers/common/cnxk/roc_nix_queue.c\nindex 03a3a06..8fbb13e 100644\n--- a/drivers/common/cnxk/roc_nix_queue.c\n+++ b/drivers/common/cnxk/roc_nix_queue.c\n@@ -648,6 +648,8 @@ sq_cn9k_init(struct nix *nix, struct roc_nix_sq *sq, uint32_t rr_quantum,\n \taq->sq.sqe_stype = NIX_STYPE_STF;\n \taq->sq.ena = 1;\n \taq->sq.sso_ena = !!sq->sso_ena;\n+\taq->sq.cq_ena = !!sq->cq_ena;\n+\taq->sq.cq = sq->cqid;\n \tif (aq->sq.max_sqe_size == NIX_MAXSQESZ_W8)\n \t\taq->sq.sqe_stype = NIX_STYPE_STP;\n \taq->sq.sqb_aura = roc_npa_aura_handle_to_aura(sq->aura_handle);\n@@ -746,6 +748,8 @@ sq_init(struct nix *nix, struct roc_nix_sq *sq, uint32_t rr_quantum,\n \taq->sq.sqe_stype = NIX_STYPE_STF;\n \taq->sq.ena = 1;\n \taq->sq.sso_ena = !!sq->sso_ena;\n+\taq->sq.cq_ena = !!sq->cq_ena;\n+\taq->sq.cq = sq->cqid;\n \tif (aq->sq.max_sqe_size == NIX_MAXSQESZ_W8)\n \t\taq->sq.sqe_stype = NIX_STYPE_STP;\n \taq->sq.sqb_aura = roc_npa_aura_handle_to_aura(sq->aura_handle);\n", "prefixes": [ "11/27" ] }{ "id": 97737, "url": "