Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/140162/?format=api
http://patchwork.dpdk.org/api/patches/140162/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20240517074448.3146611-2-ndabilpuram@marvell.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": "<20240517074448.3146611-2-ndabilpuram@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20240517074448.3146611-2-ndabilpuram@marvell.com", "date": "2024-05-17T07:44:40", "name": "[02/10] net/cnxk: set VF default root schedule weight", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "ff9b45aa3dca02e62b3be37120a39868a994773c", "submitter": { "id": 1202, "url": "http://patchwork.dpdk.org/api/people/1202/?format=api", "name": "Nithin Dabilpuram", "email": "ndabilpuram@marvell.com" }, "delegate": { "id": 310, "url": "http://patchwork.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20240517074448.3146611-2-ndabilpuram@marvell.com/mbox/", "series": [ { "id": 31944, "url": "http://patchwork.dpdk.org/api/series/31944/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=31944", "date": "2024-05-17T07:44:39", "name": "[01/10] common/cnxk: sync VF root weight with kernel", "version": 1, "mbox": "http://patchwork.dpdk.org/series/31944/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/140162/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/140162/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 F1CBE44048;\n\tFri, 17 May 2024 09:45:03 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 404F3402E5;\n\tFri, 17 May 2024 09:45:01 +0200 (CEST)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id 01CC1402EC\n for <dev@dpdk.org>; Fri, 17 May 2024 09:44:59 +0200 (CEST)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id\n 44GLTc5t006304\n for <dev@dpdk.org>; Fri, 17 May 2024 00:44:59 -0700", "from dc6wp-exch02.marvell.com ([4.21.29.225])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3y579bcyhg-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Fri, 17 May 2024 00:44:59 -0700 (PDT)", "from DC6WP-EXCH02.marvell.com (10.76.176.209) by\n DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.2.1544.4; Fri, 17 May 2024 00:44:58 -0700", "from maili.marvell.com (10.69.176.80) by DC6WP-EXCH02.marvell.com\n (10.76.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend\n Transport; Fri, 17 May 2024 00:44:58 -0700", "from hyd1588t430.caveonetworks.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 8E7E43F7059;\n Fri, 17 May 2024 00:44:55 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=\n from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding:content-type; s=\n pfpt0220; bh=wDWh1O/YdizHciJvCWb4H8CCR8ZF4jR5rjxSbDIMf5s=; b=I0p\n 7pC8uoBh9oUs0NFwgFrHySNL+sEyPAHo2N102SpLBAthYLMZuyiCJO3kRFwZZY8t\n 9234ZgOHSzugPuKd710YwPyeAlf/SVIyTJlyvcqVW225JUefnAlz9PaWxpObTkna\n B1p2Ucc3ErshwFe1AEeAj67D5RhvTV5cro+JpbeROZxGMfgpkQ+6ZLw8+ycDO2zA\n nNW0eoq+OwqFzrzbMgwF1B0eGRWivd82PrcEdqGEAnDF0/TkFXwZ8YZZu/zjajM1\n rbzy+0VmiK5VD1VI5zV2554jr7+TVbvu03MdcsvjQLyOjNtMM7TniwsLTMeaVOZT\n BEfykpS2Y0sfR/w0tBQ==", "From": "Nithin Dabilpuram <ndabilpuram@marvell.com>", "To": "Nithin Dabilpuram <ndabilpuram@marvell.com>, Kiran Kumar K\n <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>, Satha Rao\n <skoteshwar@marvell.com>, Harman Kalra <hkalra@marvell.com>", "CC": "<jerinj@marvell.com>, <dev@dpdk.org>", "Subject": "[PATCH 02/10] net/cnxk: set VF default root schedule weight", "Date": "Fri, 17 May 2024 13:14:40 +0530", "Message-ID": "<20240517074448.3146611-2-ndabilpuram@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20240517074448.3146611-1-ndabilpuram@marvell.com>", "References": "<20240517074448.3146611-1-ndabilpuram@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-GUID": "LbcNjyNiPymZUsvwhpQOSQ_2D-RW4AZI", "X-Proofpoint-ORIG-GUID": "LbcNjyNiPymZUsvwhpQOSQ_2D-RW4AZI", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26\n definitions=2024-05-16_07,2024-05-15_01,2023-05-22_02", "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": "From: Satha Rao <skoteshwar@marvell.com>\n\nTo get better performance on LBK or VF interfaces, set the default\nroot schedule weight to known tested value.\n\nSigned-off-by: Satha Rao <skoteshwar@marvell.com>\n---\n drivers/net/cnxk/cnxk_ethdev.c | 4 ++++\n 1 file changed, 4 insertions(+)", "diff": "diff --git a/drivers/net/cnxk/cnxk_ethdev.c b/drivers/net/cnxk/cnxk_ethdev.c\nindex 95a3d8aaf9..1bccebad9f 100644\n--- a/drivers/net/cnxk/cnxk_ethdev.c\n+++ b/drivers/net/cnxk/cnxk_ethdev.c\n@@ -7,6 +7,8 @@\n \n #define CNXK_NIX_CQ_INL_CLAMP_MAX (64UL * 1024UL)\n \n+#define NIX_TM_DFLT_RR_WT 71\n+\n static inline uint64_t\n nix_get_rx_offload_capa(struct cnxk_eth_dev *dev)\n {\n@@ -1884,6 +1886,8 @@ cnxk_eth_dev_init(struct rte_eth_dev *eth_dev)\n \tnix->pci_dev = pci_dev;\n \tnix->hw_vlan_ins = true;\n \tnix->port_id = eth_dev->data->port_id;\n+\t/* For better performance set default VF root schedule weight */\n+\tnix->root_sched_weight = NIX_TM_DFLT_RR_WT;\n \tif (roc_feature_nix_has_own_meta_aura())\n \t\tnix->local_meta_aura_ena = true;\n \trc = roc_nix_dev_init(nix);\n", "prefixes": [ "02/10" ] }{ "id": 140162, "url": "