Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/139809/?format=api
https://patches.dpdk.org/api/patches/139809/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20240502204548.236729-2-hernan.vargas@intel.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": "<20240502204548.236729-2-hernan.vargas@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20240502204548.236729-2-hernan.vargas@intel.com", "date": "2024-05-02T20:45:44", "name": "[v2,1/5] baseband/acc: fix memory barrier", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "46cf47fe2ffea0176716dc0b4cc0f194ef2d1254", "submitter": { "id": 2659, "url": "https://patches.dpdk.org/api/people/2659/?format=api", "name": "Hernan Vargas", "email": "hernan.vargas@intel.com" }, "delegate": { "id": 2642, "url": "https://patches.dpdk.org/api/users/2642/?format=api", "username": "mcoquelin", "first_name": "Maxime", "last_name": "Coquelin", "email": "maxime.coquelin@redhat.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20240502204548.236729-2-hernan.vargas@intel.com/mbox/", "series": [ { "id": 31870, "url": "https://patches.dpdk.org/api/series/31870/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=31870", "date": "2024-05-02T20:45:43", "name": "ACC100 improvements and clean up", "version": 2, "mbox": "https://patches.dpdk.org/series/31870/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/139809/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/139809/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 AEFD943F6C;\n\tThu, 2 May 2024 22:49:26 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 174C5402DA;\n\tThu, 2 May 2024 22:49:22 +0200 (CEST)", "from mgamail.intel.com (mgamail.intel.com [198.175.65.11])\n by mails.dpdk.org (Postfix) with ESMTP id 306F1402B2;\n Thu, 2 May 2024 22:49:19 +0200 (CEST)", "from orviesa008.jf.intel.com ([10.64.159.148])\n by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 May 2024 13:49:18 -0700", "from unknown (HELO csl-npg-qt0.la.intel.com) ([10.233.181.103])\n by orviesa008.jf.intel.com with ESMTP; 02 May 2024 13:49:18 -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=1714682959; x=1746218959;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=X7H3n+cfp1WvAjJNy7V3T+W2CzpJGrVwOIkX8OushEs=;\n b=JI1QlSSlJ38VubeADPduZbcFnx2tFjRwain33c6x9DmqpZ/Fy4wVDnE2\n jrQB6U037/iE7cExaooaBFRnuIi9RwTs+HhFuNaXUNo1PCZw91QA+02ms\n AqJpeg4Iasj34ULnggChZhSHV/HilvNKC2wNbiWrn/LhWeV1jsW0pH5+X\n XxfGthl+6BYKrpSxU8Rxei/X1+Ccf7q5m+o5W5yD1kBbi8kfsk6qEkEJK\n NTvgiouT5q72nSTMeHxSCzWDl+jt1SPrdV8qmSpnH+wHtfOe2l67Y3bgW\n HRfWwFH2x3+IJbuIcFilYOGO5YAeNzS/p5Lbc/5wayh2xNTDJD3RnPfwa g==;", "X-CSE-ConnectionGUID": [ "Pup8fYqYTFmz3bj4KLjEng==", "E7sj/XEzSHq+VdOjgfFnzQ==" ], "X-CSE-MsgGUID": [ "IOxd7fsCTF60PK7TK8oYkA==", "WlD/rIk0T5O4YDHPYv2WeA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,11062\"; a=\"21032746\"", "E=Sophos;i=\"6.07,247,1708416000\"; d=\"scan'208\";a=\"21032746\"", "E=Sophos;i=\"6.07,247,1708416000\"; d=\"scan'208\";a=\"27838115\"" ], "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>, stable@dpdk.org", "Subject": "[PATCH v2 1/5] baseband/acc: fix memory barrier", "Date": "Thu, 2 May 2024 13:45:44 -0700", "Message-Id": "<20240502204548.236729-2-hernan.vargas@intel.com>", "X-Mailer": "git-send-email 2.37.1", "In-Reply-To": "<20240502204548.236729-1-hernan.vargas@intel.com>", "References": "<20240502204548.236729-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": "Moving memory barrier so that dequeue thread can be in sync with enqueue\nthread.\n\nFixes: 32e8b7ea35dd (\"baseband/acc100: refactor to segregate common code\")\nCc: stable@dpdk.org\n\nSigned-off-by: Hernan Vargas <hernan.vargas@intel.com>\n---\n drivers/baseband/acc/acc_common.h | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/baseband/acc/acc_common.h b/drivers/baseband/acc/acc_common.h\nindex fddeb0737b8b..e249f37e38fe 100644\n--- a/drivers/baseband/acc/acc_common.h\n+++ b/drivers/baseband/acc/acc_common.h\n@@ -1112,6 +1112,9 @@ acc_dma_enqueue(struct acc_queue *q, uint16_t n,\n \t\t\t\treq_elem_addr,\n \t\t\t\t(void *)q->mmio_reg_enqueue);\n \n+\t\tq->aq_enqueued++;\n+\t\tq->sw_ring_head += enq_batch_size;\n+\n \t\trte_wmb();\n \n \t\t/* Start time measurement for enqueue function offload. */\n@@ -1122,8 +1125,6 @@ acc_dma_enqueue(struct acc_queue *q, uint16_t n,\n \n \t\tqueue_stats->acc_offload_cycles += rte_rdtsc_precise() - start_time;\n \n-\t\tq->aq_enqueued++;\n-\t\tq->sw_ring_head += enq_batch_size;\n \t\tn -= enq_batch_size;\n \n \t} while (n);\n", "prefixes": [ "v2", "1/5" ] }{ "id": 139809, "url": "