Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/87412/?format=api
http://patches.dpdk.org/api/patches/87412/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210127160948.6008-6-lironh@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": "<20210127160948.6008-6-lironh@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210127160948.6008-6-lironh@marvell.com", "date": "2021-01-27T16:09:19", "name": "[v3,05/34] net/mvpp2: fix frame size checking", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "4a8fb8619046de2dc9ce2f2809ffad1344ceadb4", "submitter": { "id": 996, "url": "http://patches.dpdk.org/api/people/996/?format=api", "name": "Liron Himi", "email": "lironh@marvell.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210127160948.6008-6-lironh@marvell.com/mbox/", "series": [ { "id": 14976, "url": "http://patches.dpdk.org/api/series/14976/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=14976", "date": "2021-01-27T16:09:14", "name": "net/mvpp2: misc updates", "version": 3, "mbox": "http://patches.dpdk.org/series/14976/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/87412/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/87412/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 68FF0A052A;\n\tWed, 27 Jan 2021 17:11:19 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7878B140EA8;\n\tWed, 27 Jan 2021 17:10:15 +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 61DC4140EC8;\n Wed, 27 Jan 2021 17:10:11 +0100 (CET)", "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id\n 10RG5eQU027133; Wed, 27 Jan 2021 08:10:10 -0800", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com with ESMTP id 368j1uc37m-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Wed, 27 Jan 2021 08:10:10 -0800", "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Wed, 27 Jan 2021 08:10:09 -0800", "from pt-lxl0023.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Wed, 27 Jan 2021 08:10:07 -0800" ], "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-transfer-encoding : content-type; s=pfpt0220;\n bh=5fNXDILtn+hmAEVko6L6QU6Huhq5PRgPmhA7j5wW5VI=;\n b=bVL57IARSXWXYpIfNEQ6/2b4oCOxG095ZFVbHT7+fypeW7qsGsWqdT+8E4M8pFSYnVX+\n xRI9X0wwCuJD0DsuxAyKpl8YyfV6mUakInjmoYUKwbbi0KzYGbHRnhyttsmEyPJCGfAv\n PjtCKpC6Ve2fWW8bb1cZPXNIZrz8XU7d6PUgmds6awSkduRQi2O742i/n8iYwZ++aZS8\n TArJGKz3XsQFFEX1WR6/B82+fSxM6ngIzIYXDMbFb2XAks22d0/UZWdMR2hwKqX2Fxcc\n ZPeBW6bOotDAYmyxmH947igRgupvkB2RbahN0plWBaQAu7O8juIuvJJ/Pje4ps6nd61M iQ==", "From": "<lironh@marvell.com>", "To": "<jerinj@marvell.com>, <ferruh.yigit@intel.com>", "CC": "<dev@dpdk.org>, Liron Himi <lironh@marvell.com>, <stable@dpdk.org>, \"Yuri\n Chipchev\" <yuric@marvell.com>", "Date": "Wed, 27 Jan 2021 18:09:19 +0200", "Message-ID": "<20210127160948.6008-6-lironh@marvell.com>", "X-Mailer": "git-send-email 2.28.0", "In-Reply-To": "<20210127160948.6008-1-lironh@marvell.com>", "References": "<20210122191925.24308-1-lironh@marvell.com>\n <20210127160948.6008-1-lironh@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.343, 18.0.737\n definitions=2021-01-27_05:2021-01-27,\n 2021-01-27 signatures=0", "Subject": "[dpdk-dev] [PATCH v3 05/34] net/mvpp2: fix frame size checking", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "From: Liron Himi <lironh@marvell.com>\n\nNeed to add CRC len to the frame-size to compare against\nmax_rx_pkt_len which includes it.\n\nFixes: 79ec62028 (\"net/mvpp2: update MTU and MRU related calculations\")\nCc: stable@dpdk.org\n\nSigned-off-by: Liron Himi <lironh@marvell.com>\nReviewed-by: Yuri Chipchev <yuric@marvell.com>\n---\n drivers/net/mvpp2/mrvl_ethdev.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/mvpp2/mrvl_ethdev.c b/drivers/net/mvpp2/mrvl_ethdev.c\nindex eafe4f7ac9..6cd5acd337 100644\n--- a/drivers/net/mvpp2/mrvl_ethdev.c\n+++ b/drivers/net/mvpp2/mrvl_ethdev.c\n@@ -1699,7 +1699,8 @@ mrvl_rx_queue_setup(struct rte_eth_dev *dev, uint16_t idx, uint16_t desc,\n \t\treturn -EFAULT;\n \t}\n \n-\tframe_size = buf_size - RTE_PKTMBUF_HEADROOM - MRVL_PKT_EFFEC_OFFS;\n+\tframe_size = buf_size - RTE_PKTMBUF_HEADROOM -\n+\t\t MRVL_PKT_EFFEC_OFFS + RTE_ETHER_CRC_LEN;\n \tif (frame_size < max_rx_pkt_len) {\n \t\tMRVL_LOG(WARNING,\n \t\t\t\"Mbuf size must be increased to %u bytes to hold up \"\n", "prefixes": [ "v3", "05/34" ] }{ "id": 87412, "url": "