Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/109816/?format=api
http://patches.dpdk.org/api/patches/109816/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220419055921.10566-11-ndabilpuram@marvell.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": "<20220419055921.10566-11-ndabilpuram@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220419055921.10566-11-ndabilpuram@marvell.com", "date": "2022-04-19T05:59:08", "name": "[11/24] net/cnxk: update LBK ethdev link info", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "1360f976fe83f94c61886daa11114ef6d3307480", "submitter": { "id": 1202, "url": "http://patches.dpdk.org/api/people/1202/?format=api", "name": "Nithin Dabilpuram", "email": "ndabilpuram@marvell.com" }, "delegate": { "id": 310, "url": "http://patches.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220419055921.10566-11-ndabilpuram@marvell.com/mbox/", "series": [ { "id": 22546, "url": "http://patches.dpdk.org/api/series/22546/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=22546", "date": "2022-04-19T05:58:58", "name": "[01/24] common/cnxk: add multi channel support for SDP send queues", "version": 1, "mbox": "http://patches.dpdk.org/series/22546/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/109816/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/109816/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 9CEADA00C3;\n\tTue, 19 Apr 2022 08:01:14 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DBA264280E;\n\tTue, 19 Apr 2022 08:00:28 +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 029F542813\n for <dev@dpdk.org>; Tue, 19 Apr 2022 08:00:26 +0200 (CEST)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id\n 23INFuu5010003\n for <dev@dpdk.org>; Mon, 18 Apr 2022 23:00:26 -0700", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3ffwap25x2-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Mon, 18 Apr 2022 23:00:26 -0700", "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Mon, 18 Apr 2022 23:00:24 -0700", "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend\n Transport; Mon, 18 Apr 2022 23:00:24 -0700", "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 531E65B6922;\n Mon, 18 Apr 2022 23:00:22 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-type; s=pfpt0220; bh=Ub1JxHaYCNEQAAiNwrCa6u7s0rtwgWole6uk86gCfqs=;\n b=O5VfiN2JKKyAvw4IpRuqpbfqYonJ8IekHYDfX5cd5QlcTjk6hkyApzJ6OeYqts1GnWY+\n xd65HDEujpNlPxbbJV93doeDZmKKA8jVph662IAcDH0Iqxk7klaktIkHvXOGCM/RFJ6s\n Ldt8sAXjUNPb9hU9rCam/fGvq/wkrjVG/G+2ExAEwv5pUJ2cIknTfGlkMiG7RZWayVYi\n xBsXN3bCVdguOk1JQID/666q7pd2ojY9vWcP8DkIz0SdTueA3R3tnPh/wNp6V8qULAVo\n 7KwXwq6Fa2SpP2ZpgoRvqjXyR4FlzEuESkCZ/ovXvmTbFWz9vPsCoM4MsS9rjSLEPZSa 1Q==", "From": "Nithin Dabilpuram <ndabilpuram@marvell.com>", "To": "<jerinj@marvell.com>, Nithin Dabilpuram <ndabilpuram@marvell.com>, \"Kiran\n Kumar K\" <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>,\n Satha Rao <skoteshwar@marvell.com>", "CC": "<dev@dpdk.org>", "Subject": "[PATCH 11/24] net/cnxk: update LBK ethdev link info", "Date": "Tue, 19 Apr 2022 11:29:08 +0530", "Message-ID": "<20220419055921.10566-11-ndabilpuram@marvell.com>", "X-Mailer": "git-send-email 2.8.4", "In-Reply-To": "<20220419055921.10566-1-ndabilpuram@marvell.com>", "References": "<20220419055921.10566-1-ndabilpuram@marvell.com>", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Proofpoint-GUID": "XT3ukB8JM9BotDyZCJ7usVAYRNUBYIKu", "X-Proofpoint-ORIG-GUID": "XT3ukB8JM9BotDyZCJ7usVAYRNUBYIKu", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514\n definitions=2022-04-19_02,2022-04-15_01,2022-02-23_01", "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": "Update link info of LBK ethdev i.e AF's VF's as always up\nand 100G. This is because there is no phy for the LBK interfaces\nand we won't get a link update notification for the same.\n\nSigned-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>\n---\n drivers/net/cnxk/cnxk_link.c | 11 +++++++++++\n 1 file changed, 11 insertions(+)", "diff": "diff --git a/drivers/net/cnxk/cnxk_link.c b/drivers/net/cnxk/cnxk_link.c\nindex f10a502..b1d59e3 100644\n--- a/drivers/net/cnxk/cnxk_link.c\n+++ b/drivers/net/cnxk/cnxk_link.c\n@@ -12,6 +12,17 @@ cnxk_nix_toggle_flag_link_cfg(struct cnxk_eth_dev *dev, bool set)\n \telse\n \t\tdev->flags &= ~CNXK_LINK_CFG_IN_PROGRESS_F;\n \n+\t/* Update link info for LBK */\n+\tif (!set && roc_nix_is_lbk(&dev->nix)) {\n+\t\tstruct rte_eth_link link;\n+\n+\t\tlink.link_status = RTE_ETH_LINK_UP;\n+\t\tlink.link_speed = RTE_ETH_SPEED_NUM_100G;\n+\t\tlink.link_autoneg = RTE_ETH_LINK_FIXED;\n+\t\tlink.link_duplex = RTE_ETH_LINK_FULL_DUPLEX;\n+\t\trte_eth_linkstatus_set(dev->eth_dev, &link);\n+\t}\n+\n \trte_wmb();\n }\n \n", "prefixes": [ "11/24" ] }{ "id": 109816, "url": "