Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/135419/?format=api
http://patches.dpdk.org/api/patches/135419/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20231221063811.17376-1-hkalra@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": "<20231221063811.17376-1-hkalra@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20231221063811.17376-1-hkalra@marvell.com", "date": "2023-12-21T06:38:10", "name": "[1/2] common/cnxk: fix mbox region copy", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "fb7b0e8e154aa87c0eb2e1ad59e96628d5a2ef61", "submitter": { "id": 1182, "url": "http://patches.dpdk.org/api/people/1182/?format=api", "name": "Harman Kalra", "email": "hkalra@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/20231221063811.17376-1-hkalra@marvell.com/mbox/", "series": [ { "id": 30638, "url": "http://patches.dpdk.org/api/series/30638/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30638", "date": "2023-12-21T06:38:10", "name": "[1/2] common/cnxk: fix mbox region copy", "version": 1, "mbox": "http://patches.dpdk.org/series/30638/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/135419/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/135419/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 79F964373A;\n\tThu, 21 Dec 2023 07:38:34 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 54B45402EA;\n\tThu, 21 Dec 2023 07:38:34 +0100 (CET)", "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 6AECE402E5;\n Thu, 21 Dec 2023 07:38:33 +0100 (CET)", "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id\n 3BL6IGIt019052; Wed, 20 Dec 2023 22:38:32 -0800", "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3v4fyr037x-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Wed, 20 Dec 2023 22:38:32 -0800 (PST)", "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48;\n Wed, 20 Dec 2023 22:38:30 -0800", "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.48 via Frontend\n Transport; Wed, 20 Dec 2023 22:38:30 -0800", "from localhost.localdomain (unknown [10.29.52.211])\n by maili.marvell.com (Postfix) with ESMTP id C80793F7057;\n Wed, 20 Dec 2023 22:38:27 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=\n from:to:cc:subject:date:message-id:mime-version:content-type; s=\n pfpt0220; bh=XcXY827QeAhyBRHbze6bb6+dxR0jQBMiwvhXmWGl0TE=; b=W88\n ySSMG0y2zQ+t+UgXScoaXr0RaU2C9Fxbv69zIyd6QCIZgYyA8fg+YdZCybUJ4YSz\n VKSnke8tPb7jDigGj5Pj3V1RqaVCxx2LnBh7ruKcncrfIbGV5S6zrb6aURd0e2+R\n rN/hk1wXidOCgsSZycXRsIUr5kHJUk1hE53pxXk7CdfbHDYRm3PPd7NfK7/wzwON\n L2yHibXLzKtdw8H0vwCv2CtP+KaDL4hAF8gaAWhrN48amvb4Fk7/Q5siMZrFyw2t\n P7cXuVbAWhj0tyF83FBavrIIv/NgQH08pysi4yftyzDvLkZlpJZQrsJeZNXXNUDH\n Kdo3g95Su4JDz1EnTQQ==", "From": "Harman Kalra <hkalra@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>", "CC": "<dev@dpdk.org>, <jerinj@marvell.com>, Harman Kalra <hkalra@marvell.com>,\n <stable@dpdk.org>", "Subject": "[PATCH 1/2] common/cnxk: fix mbox region copy", "Date": "Thu, 21 Dec 2023 12:08:10 +0530", "Message-ID": "<20231221063811.17376-1-hkalra@marvell.com>", "X-Mailer": "git-send-email 2.18.0", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Proofpoint-GUID": "4su7V-sdqJrQmCk8JKHHTj8_9I_B58KL", "X-Proofpoint-ORIG-GUID": "4su7V-sdqJrQmCk8JKHHTj8_9I_B58KL", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26\n definitions=2023-12-09_02,2023-12-07_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": "Using proper API to perform copy to mbox device memory region\n\nFixes: 02719901d50f (\"common/cnxk: send link status event to VF\")\nCc: stable@dpdk.org\n\nSigned-off-by: Harman Kalra <hkalra@marvell.com>\n---\n drivers/common/cnxk/roc_dev.c | 5 ++---\n 1 file changed, 2 insertions(+), 3 deletions(-)", "diff": "diff --git a/drivers/common/cnxk/roc_dev.c b/drivers/common/cnxk/roc_dev.c\nindex e7e89bf3d6..084343c3b4 100644\n--- a/drivers/common/cnxk/roc_dev.c\n+++ b/drivers/common/cnxk/roc_dev.c\n@@ -198,9 +198,8 @@ af_pf_wait_msg(struct dev *dev, uint16_t vf, int num_msg)\n \t\t\tvf_msg = mbox_alloc_msg(&dev->mbox_vfpf_up, vf, sz);\n \t\t\tif (vf_msg) {\n \t\t\t\tmbox_req_init(MBOX_MSG_CGX_LINK_EVENT, vf_msg);\n-\t\t\t\tmemcpy((uint8_t *)vf_msg +\n-\t\t\t\t sizeof(struct mbox_msghdr), &linfo,\n-\t\t\t\t sizeof(struct cgx_link_user_info));\n+\t\t\t\tmbox_memcpy((uint8_t *)vf_msg + sizeof(struct mbox_msghdr), &linfo,\n+\t\t\t\t\t sizeof(struct cgx_link_user_info));\n \n \t\t\t\tvf_msg->rc = msg->rc;\n \t\t\t\tvf_msg->pcifunc = msg->pcifunc;\n", "prefixes": [ "1/2" ] }{ "id": 135419, "url": "