Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/73767/?format=api
http://patchwork.dpdk.org/api/patches/73767/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20200710162137.22973-7-hemant.agrawal@nxp.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": "<20200710162137.22973-7-hemant.agrawal@nxp.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200710162137.22973-7-hemant.agrawal@nxp.com", "date": "2020-07-10T16:21:35", "name": "[7/9] net/dpaa2: add support to use Tx Queue desc size", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "0eb59e65fe716054f4b2ab1a9be6534f2b7819ff", "submitter": { "id": 477, "url": "http://patchwork.dpdk.org/api/people/477/?format=api", "name": "Hemant Agrawal", "email": "hemant.agrawal@nxp.com" }, "delegate": { "id": 319, "url": "http://patchwork.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20200710162137.22973-7-hemant.agrawal@nxp.com/mbox/", "series": [ { "id": 10956, "url": "http://patchwork.dpdk.org/api/series/10956/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=10956", "date": "2020-07-10T16:21:29", "name": "[1/9] net/dpaa2: remove Rx timestamp enable PMD API", "version": 1, "mbox": "http://patchwork.dpdk.org/series/10956/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/73767/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/73767/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 48A04A052A;\n\tFri, 10 Jul 2020 18:26:50 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 011701DC71;\n\tFri, 10 Jul 2020 18:26:07 +0200 (CEST)", "from inva020.nxp.com (inva020.nxp.com [92.121.34.13])\n by dpdk.org (Postfix) with ESMTP id 581D81D9F0\n for <dev@dpdk.org>; Fri, 10 Jul 2020 18:26:00 +0200 (CEST)", "from inva020.nxp.com (localhost [127.0.0.1])\n by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 401421A1481;\n Fri, 10 Jul 2020 18:26:00 +0200 (CEST)", "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n [165.114.16.14])\n by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 92A921A04B2;\n Fri, 10 Jul 2020 18:25:58 +0200 (CEST)", "from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net\n [10.232.133.63])\n by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 090A4402F7;\n Sat, 11 Jul 2020 00:25:55 +0800 (SGT)" ], "From": "Hemant Agrawal <hemant.agrawal@nxp.com>", "To": "dev@dpdk.org", "Cc": "ferruh.yigit@intel.com,\n\tHemant Agrawal <hemant.agrawal@nxp.com>", "Date": "Fri, 10 Jul 2020 21:51:35 +0530", "Message-Id": "<20200710162137.22973-7-hemant.agrawal@nxp.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20200710162137.22973-1-hemant.agrawal@nxp.com>", "References": "<20200710162137.22973-1-hemant.agrawal@nxp.com>", "X-Virus-Scanned": "ClamAV using ClamSMTP", "Subject": "[dpdk-dev] [PATCH 7/9] net/dpaa2: add support to use Tx Queue desc\n\tsize", "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": "Add support to use Tx queue desc size to configure\ncongestion notification on TX queue\n\nSigned-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>\n---\n drivers/net/dpaa2/dpaa2_ethdev.c | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)", "diff": "diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c\nindex 701a6ca68..33d52efd7 100644\n--- a/drivers/net/dpaa2/dpaa2_ethdev.c\n+++ b/drivers/net/dpaa2/dpaa2_ethdev.c\n@@ -799,7 +799,7 @@ dpaa2_dev_rx_queue_setup(struct rte_eth_dev *dev,\n static int\n dpaa2_dev_tx_queue_setup(struct rte_eth_dev *dev,\n \t\t\t uint16_t tx_queue_id,\n-\t\t\t uint16_t nb_tx_desc __rte_unused,\n+\t\t\t uint16_t nb_tx_desc,\n \t\t\t unsigned int socket_id __rte_unused,\n \t\t\t const struct rte_eth_txconf *tx_conf)\n {\n@@ -879,11 +879,11 @@ dpaa2_dev_tx_queue_setup(struct rte_eth_dev *dev,\n \t\tstruct dpni_congestion_notification_cfg cong_notif_cfg = {0};\n \n \t\tcong_notif_cfg.units = DPNI_CONGESTION_UNIT_FRAMES;\n-\t\tcong_notif_cfg.threshold_entry = CONG_ENTER_TX_THRESHOLD;\n+\t\tcong_notif_cfg.threshold_entry = nb_tx_desc;\n \t\t/* Notify that the queue is not congested when the data in\n \t\t * the queue is below this thershold.\n \t\t */\n-\t\tcong_notif_cfg.threshold_exit = CONG_EXIT_TX_THRESHOLD;\n+\t\tcong_notif_cfg.threshold_exit = nb_tx_desc - 24;\n \t\tcong_notif_cfg.message_ctx = 0;\n \t\tcong_notif_cfg.message_iova =\n \t\t\t\t(size_t)DPAA2_VADDR_TO_IOVA(dpaa2_q->cscn);\n", "prefixes": [ "7/9" ] }{ "id": 73767, "url": "