Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/131809/?format=api
http://patchwork.dpdk.org/api/patches/131809/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230921204349.3285318-3-nicolas.chautru@intel.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20230921204349.3285318-3-nicolas.chautru@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230921204349.3285318-3-nicolas.chautru@intel.com", "date": "2023-09-21T20:43:44", "name": "[v2,2/7] baseband/acc: add FFT version in the VRB PMD", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "a8a7a2e7e19690271358eea499e76ed5264a69f0", "submitter": { "id": 1314, "url": "http://patchwork.dpdk.org/api/people/1314/?format=api", "name": "Chautru, Nicolas", "email": "nicolas.chautru@intel.com" }, "delegate": { "id": 2642, "url": "http://patchwork.dpdk.org/api/users/2642/?format=api", "username": "mcoquelin", "first_name": "Maxime", "last_name": "Coquelin", "email": "maxime.coquelin@redhat.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230921204349.3285318-3-nicolas.chautru@intel.com/mbox/", "series": [ { "id": 29596, "url": "http://patchwork.dpdk.org/api/series/29596/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=29596", "date": "2023-09-21T20:43:42", "name": "VRB2 bbdev PMD introduction", "version": 2, "mbox": "http://patchwork.dpdk.org/series/29596/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/131809/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/131809/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 0BCAE4260E;\n\tThu, 21 Sep 2023 22:47:13 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 62A1E402EC;\n\tThu, 21 Sep 2023 22:47:02 +0200 (CEST)", "from mgamail.intel.com (mgamail.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id DCF8D402C9\n for <dev@dpdk.org>; Thu, 21 Sep 2023 22:46:58 +0200 (CEST)", "from orsmga003.jf.intel.com ([10.7.209.27])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 21 Sep 2023 13:46:58 -0700", "from spr-npg-bds1-eec2.sn.intel.com (HELO spr-npg-bds1-eec2..)\n ([10.233.181.123])\n by orsmga003.jf.intel.com with ESMTP; 21 Sep 2023 13:46:57 -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=1695329219; x=1726865219;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=a5DAaG1Y13G8DM6GNnGQQ9xbBjXoq03SwQgjOHx7qGo=;\n b=oDk1bT33kpFZGq9C4p/G+XaL7uZwPMbaRsKLDFZNa3NnwSZKnNaKHnwD\n W/l214mvpcpHA0NktQbD9uE2K8PyGO1TkDmPSujUBEQg5T34p6D3O8PDa\n FuiwwFeVBROqUFylY+KD35TIM38eQvcOB9H4QC32VZo/u4sD5VtzUgtbH\n Jmanhjoty2rgYf7qEktPDW6xxfydgLwqOYBUWy2pUzbL8x7uem8Wv3hGD\n vHYQ8bfu9z8SPN2tEA5/wVuyVY+ejAdxjpTK4iNOHs85bjsJ/Ew3ClGkF\n 4Bq6DGAuiYCnb3Z2dVsxWjPOYyGAPyTWJWSWZ2Xapw8TgHI/xPXAVZe8R g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10840\"; a=\"447138103\"", "E=Sophos;i=\"6.03,166,1694761200\"; d=\"scan'208\";a=\"447138103\"", "E=McAfee;i=\"6600,9927,10840\"; a=\"696907247\"", "E=Sophos;i=\"6.03,166,1694761200\"; d=\"scan'208\";a=\"696907247\"" ], "X-ExtLoop1": "1", "From": "Nicolas Chautru <nicolas.chautru@intel.com>", "To": "dev@dpdk.org,\n\tmaxime.coquelin@redhat.com", "Cc": "hemant.agrawal@nxp.com, david.marchand@redhat.com,\n hernan.vargas@intel.com,\n Nicolas Chautru <nicolas.chautru@intel.com>", "Subject": "[PATCH v2 2/7] baseband/acc: add FFT version in the VRB PMD", "Date": "Thu, 21 Sep 2023 20:43:44 +0000", "Message-Id": "<20230921204349.3285318-3-nicolas.chautru@intel.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20230921204349.3285318-1-nicolas.chautru@intel.com>", "References": "<20230921204349.3285318-1-nicolas.chautru@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": "This allows to expose the flexible version of the pointwise\nflexible multiplication being dynamically configured on the device.\n\nSigned-off-by: Nicolas Chautru <nicolas.chautru@intel.com>\n---\n drivers/baseband/acc/acc_common.h | 1 +\n drivers/baseband/acc/rte_vrb_pmd.c | 22 ++++++++++++++++++++++\n 2 files changed, 23 insertions(+)", "diff": "diff --git a/drivers/baseband/acc/acc_common.h b/drivers/baseband/acc/acc_common.h\nindex 5bb00746c3..df18506e75 100644\n--- a/drivers/baseband/acc/acc_common.h\n+++ b/drivers/baseband/acc/acc_common.h\n@@ -512,6 +512,7 @@ struct acc_deq_intr_details {\n enum {\n \tACC_VF2PF_STATUS_REQUEST = 1,\n \tACC_VF2PF_USING_VF = 2,\n+\tACC_VF2PF_LUT_VER_REQUEST = 3,\n };\n \n \ndiff --git a/drivers/baseband/acc/rte_vrb_pmd.c b/drivers/baseband/acc/rte_vrb_pmd.c\nindex 9e5a73c9c7..3c8f3409ed 100644\n--- a/drivers/baseband/acc/rte_vrb_pmd.c\n+++ b/drivers/baseband/acc/rte_vrb_pmd.c\n@@ -298,6 +298,27 @@ vrb_device_status(struct rte_bbdev *dev)\n \treturn reg;\n }\n \n+/* Request device FFT related version information. */\n+static inline uint32_t\n+vrb_device_fft_ver(struct rte_bbdev *dev)\n+{\n+\tstruct acc_device *d = dev->data->dev_private;\n+\tuint32_t reg, time_out = 0;\n+\n+\tif (d->pf_device)\n+\t\treturn 0;\n+\n+\tvrb_vf2pf(d, ACC_VF2PF_LUT_VER_REQUEST);\n+\treg = acc_reg_read(d, d->reg_addr->pf2vf_doorbell);\n+\twhile ((time_out < ACC_STATUS_TO) && (reg == RTE_BBDEV_DEV_NOSTATUS)) {\n+\t\tusleep(ACC_STATUS_WAIT); /*< Wait or VF->PF->VF Comms */\n+\t\treg = acc_reg_read(d, d->reg_addr->pf2vf_doorbell);\n+\t\ttime_out++;\n+\t}\n+\n+\treturn reg;\n+}\n+\n /* Checks PF Info Ring to find the interrupt cause and handles it accordingly. */\n static inline void\n vrb_check_ir(struct acc_device *acc_dev)\n@@ -1100,6 +1121,7 @@ vrb_dev_info_get(struct rte_bbdev *dev, struct rte_bbdev_driver_info *dev_info)\n \tfetch_acc_config(dev);\n \t/* Check the status of device. */\n \tdev_info->device_status = vrb_device_status(dev);\n+\tdev_info->fft_version = vrb_device_fft_ver(dev);\n \n \t/* Exposed number of queues. */\n \tdev_info->num_queues[RTE_BBDEV_OP_NONE] = 0;\n", "prefixes": [ "v2", "2/7" ] }{ "id": 131809, "url": "