Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/74229/?format=api
http://patches.dpdk.org/api/patches/74229/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1594902556-19511-4-git-send-email-radu.nicolau@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": "<1594902556-19511-4-git-send-email-radu.nicolau@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1594902556-19511-4-git-send-email-radu.nicolau@intel.com", "date": "2020-07-16T12:29:15", "name": "[v7,3/4] common/qat: use WC store to update queue tail registers", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "717aff0e3537cd12ee766de014e1bcac4f2bbe03", "submitter": { "id": 743, "url": "http://patches.dpdk.org/api/people/743/?format=api", "name": "Radu Nicolau", "email": "radu.nicolau@intel.com" }, "delegate": { "id": 24651, "url": "http://patches.dpdk.org/api/users/24651/?format=api", "username": "dmarchand", "first_name": "David", "last_name": "Marchand", "email": "david.marchand@redhat.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1594902556-19511-4-git-send-email-radu.nicolau@intel.com/mbox/", "series": [ { "id": 11091, "url": "http://patches.dpdk.org/api/series/11091/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11091", "date": "2020-07-16T12:29:12", "name": "eal: add WC store functions", "version": 7, "mbox": "http://patches.dpdk.org/series/11091/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/74229/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/74229/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 E3802A0549;\n\tThu, 16 Jul 2020 14:33:52 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id EDDA21C2DE;\n\tThu, 16 Jul 2020 14:32:55 +0200 (CEST)", "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by dpdk.org (Postfix) with ESMTP id 15B9F1C2A3\n for <dev@dpdk.org>; Thu, 16 Jul 2020 14:32:52 +0200 (CEST)", "from orsmga006.jf.intel.com ([10.7.209.51])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Jul 2020 05:32:50 -0700", "from silpixa00383879.ir.intel.com ([10.237.222.142])\n by orsmga006.jf.intel.com with ESMTP; 16 Jul 2020 05:32:48 -0700" ], "IronPort-SDR": [ "\n 2V4Ip3yhj9BZPVIqEkS45EEs83IPOqUOnmyRR/EcMV3u9T25V/rhnk5alfyt5kj5Z28qU7yT0o\n xZnn82GUMe4Q==", "\n L0DwFUZOlK67W8usQc/xWsO0M06JiNq4uwPvinhCX99WBAYpnI4yt6rfCqrAqUb2AuUaMLvUVg\n gxU/hp8Gnf3Q==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9683\"; a=\"234224368\"", "E=Sophos;i=\"5.75,359,1589266800\"; d=\"scan'208\";a=\"234224368\"", "E=Sophos;i=\"5.75,359,1589266800\"; d=\"scan'208\";a=\"286466695\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Radu Nicolau <radu.nicolau@intel.com>", "To": "dev@dpdk.org", "Cc": "beilei.xing@intel.com, jia.guo@intel.com, bruce.richardson@intel.com,\n konstantin.ananyev@intel.com, jerinjacobk@gmail.com,\n david.marchand@redhat.com, fiona.trahe@intel.com, wei.zhao1@intel.com,\n ruifeng.wang@arm.com, Radu Nicolau <radu.nicolau@intel.com>", "Date": "Thu, 16 Jul 2020 13:29:15 +0100", "Message-Id": "<1594902556-19511-4-git-send-email-radu.nicolau@intel.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1594902556-19511-1-git-send-email-radu.nicolau@intel.com>", "References": "<1591870283-7776-1-git-send-email-radu.nicolau@intel.com>\n <1594902556-19511-1-git-send-email-radu.nicolau@intel.com>", "Subject": "[dpdk-dev] [PATCH v7 3/4] common/qat: use WC store to update queue\n\ttail registers", "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": "Performance improvement: use a write combining store\ninstead of a regular mmio write to update queue tail\nregisters.\n\nSigned-off-by: Radu Nicolau <radu.nicolau@intel.com>\n---\n drivers/common/qat/qat_adf/adf_transport_access_macros.h | 6 ++++--\n 1 file changed, 4 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/common/qat/qat_adf/adf_transport_access_macros.h b/drivers/common/qat/qat_adf/adf_transport_access_macros.h\nindex 1eef551..504ffb7 100644\n--- a/drivers/common/qat/qat_adf/adf_transport_access_macros.h\n+++ b/drivers/common/qat/qat_adf/adf_transport_access_macros.h\n@@ -9,6 +9,8 @@\n /* CSR write macro */\n #define ADF_CSR_WR(csrAddr, csrOffset, val)\t\t\\\n \trte_write32(val, (((uint8_t *)csrAddr) + csrOffset))\n+#define ADF_CSR_WC_WR(csrAddr, csrOffset, val)\t\t\\\n+\trte_write32_wc(val, (((uint8_t *)csrAddr) + csrOffset))\n \n /* CSR read macro */\n #define ADF_CSR_RD(csrAddr, csrOffset)\t\t\t\\\n@@ -110,10 +112,10 @@ do { \\\n \t\tADF_RING_CSR_RING_UBASE + (ring << 2), u_base);\t\\\n } while (0)\n #define WRITE_CSR_RING_HEAD(csr_base_addr, bank, ring, value) \\\n-\tADF_CSR_WR(csr_base_addr, (ADF_RING_BUNDLE_SIZE * bank) + \\\n+\tADF_CSR_WC_WR(csr_base_addr, (ADF_RING_BUNDLE_SIZE * bank) + \\\n \t\tADF_RING_CSR_RING_HEAD + (ring << 2), value)\n #define WRITE_CSR_RING_TAIL(csr_base_addr, bank, ring, value) \\\n-\tADF_CSR_WR(csr_base_addr, (ADF_RING_BUNDLE_SIZE * bank) + \\\n+\tADF_CSR_WC_WR(csr_base_addr, (ADF_RING_BUNDLE_SIZE * bank) + \\\n \t\tADF_RING_CSR_RING_TAIL + (ring << 2), value)\n #define WRITE_CSR_INT_SRCSEL(csr_base_addr, bank) \\\n do { \\\n", "prefixes": [ "v7", "3/4" ] }{ "id": 74229, "url": "