Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/75679/?format=api
http://patches.dpdk.org/api/patches/75679/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1597795557-39612-8-git-send-email-nicolas.chautru@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": "<1597795557-39612-8-git-send-email-nicolas.chautru@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1597795557-39612-8-git-send-email-nicolas.chautru@intel.com", "date": "2020-08-19T00:05:57", "name": "[v3,7/7] app/bbdev: update offload test to dequeue full ring", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "2122f3311a412b09feaf01cf20cffa883561b0d5", "submitter": { "id": 1314, "url": "http://patches.dpdk.org/api/people/1314/?format=api", "name": "Chautru, Nicolas", "email": "nicolas.chautru@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/1597795557-39612-8-git-send-email-nicolas.chautru@intel.com/mbox/", "series": [ { "id": 11698, "url": "http://patches.dpdk.org/api/series/11698/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11698", "date": "2020-08-19T00:05:50", "name": "BBDEV test updates", "version": 3, "mbox": "http://patches.dpdk.org/series/11698/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/75679/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/75679/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id F2B46A04AF;\n\tWed, 19 Aug 2020 02:08:53 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 178D91C126;\n\tWed, 19 Aug 2020 02:08:00 +0200 (CEST)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id 7BE551C042\n for <dev@dpdk.org>; Wed, 19 Aug 2020 02:07:52 +0200 (CEST)", "from orsmga007.jf.intel.com ([10.7.209.58])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 Aug 2020 17:07:49 -0700", "from skx-5gnr-sc12-4.sc.intel.com ([172.25.69.210])\n by orsmga007.jf.intel.com with ESMTP; 18 Aug 2020 17:07:49 -0700" ], "IronPort-SDR": [ "\n aaFowxvo5IyAYVt2p7AoUB6BqUksHs3WkACKEYc7/o3wR7JqXws08Brs9RpAmf/Y9yuSQNDnAQ\n SjUq91j/qjNw==", "\n VeYQfJ2dP2Q01HGJKlvX+khjoRqhycHFRFy2V/vPEmRAKB1w/GEVUa0DulxYGO7pSe9oFDJPXE\n wyQRhD54WcOA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9717\"; a=\"142653496\"", "E=Sophos;i=\"5.76,329,1592895600\"; d=\"scan'208\";a=\"142653496\"", "E=Sophos;i=\"5.76,329,1592895600\"; d=\"scan'208\";a=\"336789168\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Nicolas Chautru <nicolas.chautru@intel.com>", "To": "dev@dpdk.org,\n\takhil.goyal@nxp.com", "Cc": "bruce.richardson@intel.com,\n\tNicolas Chautru <nicolas.chautru@intel.com>", "Date": "Tue, 18 Aug 2020 17:05:57 -0700", "Message-Id": "<1597795557-39612-8-git-send-email-nicolas.chautru@intel.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1597795557-39612-1-git-send-email-nicolas.chautru@intel.com>", "References": "<1597795557-39612-1-git-send-email-nicolas.chautru@intel.com>", "Subject": "[dpdk-dev] [PATCH v3 7/7] app/bbdev: update offload test to dequeue\n\tfull ring", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "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": "update offload dequeue to retrieve the full ring to be\nagnostic of implementation.\n\nSigned-off-by: Nicolas Chautru <nicolas.chautru@intel.com>\n---\n app/test-bbdev/test_bbdev_perf.c | 16 ++++++++--------\n 1 file changed, 8 insertions(+), 8 deletions(-)", "diff": "diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c\nindex c5156a2..ccb6b38 100644\n--- a/app/test-bbdev/test_bbdev_perf.c\n+++ b/app/test-bbdev/test_bbdev_perf.c\n@@ -4392,8 +4392,8 @@ typedef int (test_case_function)(struct active_device *ad,\n \t\t/* Dequeue one operation */\n \t\tdo {\n \t\t\tdeq += rte_bbdev_dequeue_dec_ops(dev_id, queue_id,\n-\t\t\t\t\t&ops_deq[deq], 1);\n-\t\t} while (unlikely(deq != 1));\n+\t\t\t\t\t&ops_deq[deq], enq);\n+\t\t} while (unlikely(deq == 0));\n \n \t\tdeq_last_time = rte_rdtsc_precise() - deq_start_time;\n \t\ttime_st->deq_max_time = RTE_MAX(time_st->deq_max_time,\n@@ -4483,8 +4483,8 @@ typedef int (test_case_function)(struct active_device *ad,\n \t\t/* Dequeue one operation */\n \t\tdo {\n \t\t\tdeq += rte_bbdev_dequeue_ldpc_dec_ops(dev_id, queue_id,\n-\t\t\t\t\t&ops_deq[deq], 1);\n-\t\t} while (unlikely(deq != 1));\n+\t\t\t\t\t&ops_deq[deq], enq);\n+\t\t} while (unlikely(deq == 0));\n \n \t\tdeq_last_time = rte_rdtsc_precise() - deq_start_time;\n \t\ttime_st->deq_max_time = RTE_MAX(time_st->deq_max_time,\n@@ -4571,8 +4571,8 @@ typedef int (test_case_function)(struct active_device *ad,\n \t\t/* Dequeue one operation */\n \t\tdo {\n \t\t\tdeq += rte_bbdev_dequeue_enc_ops(dev_id, queue_id,\n-\t\t\t\t\t&ops_deq[deq], 1);\n-\t\t} while (unlikely(deq != 1));\n+\t\t\t\t\t&ops_deq[deq], enq);\n+\t\t} while (unlikely(deq == 0));\n \n \t\tdeq_last_time = rte_rdtsc_precise() - deq_start_time;\n \t\ttime_st->deq_max_time = RTE_MAX(time_st->deq_max_time,\n@@ -4654,8 +4654,8 @@ typedef int (test_case_function)(struct active_device *ad,\n \t\t/* Dequeue one operation */\n \t\tdo {\n \t\t\tdeq += rte_bbdev_dequeue_ldpc_enc_ops(dev_id, queue_id,\n-\t\t\t\t\t&ops_deq[deq], 1);\n-\t\t} while (unlikely(deq != 1));\n+\t\t\t\t\t&ops_deq[deq], enq);\n+\t\t} while (unlikely(deq == 0));\n \n \t\tdeq_last_time = rte_rdtsc_precise() - deq_start_time;\n \t\ttime_st->deq_max_time = RTE_MAX(time_st->deq_max_time,\n", "prefixes": [ "v3", "7/7" ] }{ "id": 75679, "url": "