Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/117962/?format=api
http://patches.dpdk.org/api/patches/117962/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20221012025346.204394-25-hernan.vargas@intel.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": "<20221012025346.204394-25-hernan.vargas@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20221012025346.204394-25-hernan.vargas@intel.com", "date": "2022-10-12T02:53:40", "name": "[v3,24/30] baseband/acc100: rename ldpc encode function arg", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "450905afe36c649d840ca507b11283da429935a2", "submitter": { "id": 2659, "url": "http://patches.dpdk.org/api/people/2659/?format=api", "name": "Hernan Vargas", "email": "hernan.vargas@intel.com" }, "delegate": { "id": 6690, "url": "http://patches.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20221012025346.204394-25-hernan.vargas@intel.com/mbox/", "series": [ { "id": 25150, "url": "http://patches.dpdk.org/api/series/25150/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=25150", "date": "2022-10-12T02:53:16", "name": "baseband/acc100: changes for 22.11", "version": 3, "mbox": "http://patches.dpdk.org/series/25150/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/117962/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/117962/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 F00B6A0548;\n\tTue, 11 Oct 2022 20:59:44 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2381942C32;\n\tTue, 11 Oct 2022 20:57:46 +0200 (CEST)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id D98C542BD6\n for <dev@dpdk.org>; Tue, 11 Oct 2022 20:57:31 +0200 (CEST)", "from orsmga006.jf.intel.com ([10.7.209.51])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 11 Oct 2022 11:57:31 -0700", "from unknown (HELO csl-npg-qt0.la.intel.com) ([10.233.181.103])\n by orsmga006.jf.intel.com with ESMTP; 11 Oct 2022 11:57:31 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1665514652; x=1697050652;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=p5kCtqt26il3HDDzmN6u4CVaykibbO5/yGeRTUIxwkU=;\n b=e8R04uxBQ18LqsXLkNpcu6F4/42VFX8YB8zSEkQQzIo/UZHVntHyzZ2n\n 1+OvJPGw4cOalVRFtvcrzwHNgkgPLYu9b7ducF/C/Ntbjzwj8DD4Jys4R\n 9mXtekrtnOVvYfhZVmVLuhKP7VFQbfHhE9CUO/fh02ydDCLr0JIZRx3mK\n IjD9RKxz9eDuBYQtpM7s6WfCpCh5JmenOXJXlpcZEyyxbosi9q9F1XBht\n pDVwFBsHCaGIe+L+cVVc9bI/cJ45EDQ1W5dnWcCNuyb5xxmtDZC147wO+\n pf3WXKJzIvz4lclL5iR/XI1y+6kk/rtqhy/yC7da+jf3ve9Yu6zzOMHCv w==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10497\"; a=\"284981658\"", "E=Sophos;i=\"5.95,177,1661842800\"; d=\"scan'208\";a=\"284981658\"", "E=McAfee;i=\"6500,9779,10497\"; a=\"604261586\"", "E=Sophos;i=\"5.95,177,1661842800\"; d=\"scan'208\";a=\"604261586\"" ], "X-ExtLoop1": "1", "From": "Hernan Vargas <hernan.vargas@intel.com>", "To": "dev@dpdk.org, gakhil@marvell.com, trix@redhat.com,\n maxime.coquelin@redhat.com", "Cc": "nicolas.chautru@intel.com, qi.z.zhang@intel.com,\n Hernan Vargas <hernan.vargas@intel.com>", "Subject": "[PATCH v3 24/30] baseband/acc100: rename ldpc encode function arg", "Date": "Tue, 11 Oct 2022 19:53:40 -0700", "Message-Id": "<20221012025346.204394-25-hernan.vargas@intel.com>", "X-Mailer": "git-send-email 2.37.1", "In-Reply-To": "<20221012025346.204394-1-hernan.vargas@intel.com>", "References": "<20221012025346.204394-1-hernan.vargas@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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" }, "content": "Rename total_enqueued_cbs to total_enqueued_descs in the\nenqueue_ldpc_enc_n_op_cb function. No functional impact.\n\nSigned-off-by: Hernan Vargas <hernan.vargas@intel.com>\n\nReviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>\n---\n drivers/baseband/acc/rte_acc100_pmd.c | 13 +++++++------\n 1 file changed, 7 insertions(+), 6 deletions(-)", "diff": "diff --git a/drivers/baseband/acc/rte_acc100_pmd.c b/drivers/baseband/acc/rte_acc100_pmd.c\nindex e0d22525e9..c74b1c61d2 100644\n--- a/drivers/baseband/acc/rte_acc100_pmd.c\n+++ b/drivers/baseband/acc/rte_acc100_pmd.c\n@@ -2378,28 +2378,29 @@ enqueue_enc_one_op_cb(struct acc_queue *q, struct rte_bbdev_enc_op *op,\n \treturn 1;\n }\n \n-/* Enqueue one encode operations for ACC100 device in CB mode */\n+\n+/* Enqueue one encode operations for ACC100 device in CB mode\n+ * multiplexed on the same descriptor\n+ */\n static inline int\n enqueue_ldpc_enc_n_op_cb(struct acc_queue *q, struct rte_bbdev_enc_op **ops,\n-\t\tuint16_t total_enqueued_cbs, int16_t num)\n+\t\tuint16_t total_enqueued_descs, int16_t num)\n {\n \tunion acc_dma_desc *desc = NULL;\n \tuint32_t out_length;\n \tstruct rte_mbuf *output_head, *output;\n \tint i, next_triplet;\n-\tuint16_t in_length_in_bytes;\n+\tuint16_t in_length_in_bytes, desc_idx;\n \tstruct rte_bbdev_op_ldpc_enc *enc = &ops[0]->ldpc_enc;\n \n #ifndef RTE_LIBRTE_BBDEV_SKIP_VALIDATE\n-\t/* Validate op structure */\n \tif (validate_ldpc_enc_op(ops[0], q) == -1) {\n \t\trte_bbdev_log(ERR, \"LDPC encoder validation rejected\");\n \t\treturn -EINVAL;\n \t}\n #endif\n \n-\tuint16_t desc_idx = ((q->sw_ring_head + total_enqueued_cbs)\n-\t\t\t& q->sw_ring_wrap_mask);\n+\tdesc_idx = ((q->sw_ring_head + total_enqueued_descs) & q->sw_ring_wrap_mask);\n \tdesc = q->ring_addr + desc_idx;\n \tacc_fcw_le_fill(ops[0], &desc->req.fcw_le, num, 0);\n \n", "prefixes": [ "v3", "24/30" ] }{ "id": 117962, "url": "