Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/44846/?format=api
http://patches.dpdk.org/api/patches/44846/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1537277516-8876-3-git-send-email-hemant.agrawal@nxp.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": "<1537277516-8876-3-git-send-email-hemant.agrawal@nxp.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1537277516-8876-3-git-send-email-hemant.agrawal@nxp.com", "date": "2018-09-18T13:31:45", "name": "[v2,02/13] net/dpaa: fix jumbo buffer config", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "e977c41b81288c17660ba8c91feaa1be5d079c47", "submitter": { "id": 477, "url": "http://patches.dpdk.org/api/people/477/?format=api", "name": "Hemant Agrawal", "email": "hemant.agrawal@nxp.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/1537277516-8876-3-git-send-email-hemant.agrawal@nxp.com/mbox/", "series": [ { "id": 1371, "url": "http://patches.dpdk.org/api/series/1371/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1371", "date": "2018-09-18T13:31:43", "name": "NXP DPAA driver enhancements", "version": 2, "mbox": "http://patches.dpdk.org/series/1371/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/44846/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/44846/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0AC634D3A;\n\tTue, 18 Sep 2018 15:34:05 +0200 (CEST)", "from inva021.nxp.com (inva021.nxp.com [92.121.34.21])\n\tby dpdk.org (Postfix) with ESMTP id B770034F3;\n\tTue, 18 Sep 2018 15:34:00 +0200 (CEST)", "from inva021.nxp.com (localhost [127.0.0.1])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 4EE8F200130;\n\tTue, 18 Sep 2018 15:34:00 +0200 (CEST)", "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n\t[165.114.16.14])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id B531720002E;\n\tTue, 18 Sep 2018 15:33:57 +0200 (CEST)", "from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net\n\t[10.232.134.28])\n\tby invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 7BF7F402F7;\n\tTue, 18 Sep 2018 21:33:53 +0800 (SGT)" ], "From": "Hemant Agrawal <hemant.agrawal@nxp.com>", "To": "dev@dpdk.org,\n\tthomas@monjalon.net,\n\tferruh.yigit@intel.com", "Cc": "stable@dpdk.org", "Date": "Tue, 18 Sep 2018 19:01:45 +0530", "Message-Id": "<1537277516-8876-3-git-send-email-hemant.agrawal@nxp.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1537277516-8876-1-git-send-email-hemant.agrawal@nxp.com>", "References": "<1535539660-20228-2-git-send-email-hemant.agrawal@nxp.com>\n\t<1537277516-8876-1-git-send-email-hemant.agrawal@nxp.com>", "X-Virus-Scanned": "ClamAV using ClamSMTP", "Subject": "[dpdk-dev] [PATCH v2 02/13] net/dpaa: fix jumbo buffer config", "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Avoid return after the jumbo buffer config in dev config API\n\nFixes: 9658ac3a4ef6 (\"net/dpaa: set the correct frame size in device MTU\")\nCc: stable@dpdk.org\n\nSigned-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>\n---\n drivers/net/dpaa/dpaa_ethdev.c | 10 ++++++++--\n 1 file changed, 8 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c\nindex b9bd557..db166f5 100644\n--- a/drivers/net/dpaa/dpaa_ethdev.c\n+++ b/drivers/net/dpaa/dpaa_ethdev.c\n@@ -195,11 +195,17 @@ dpaa_eth_dev_configure(struct rte_eth_dev *dev)\n \tif (rx_offloads & DEV_RX_OFFLOAD_JUMBO_FRAME) {\n \t\tif (dev->data->dev_conf.rxmode.max_rx_pkt_len <=\n \t\t DPAA_MAX_RX_PKT_LEN) {\n+\t\t\tDPAA_PMD_DEBUG(\"enabling jumbo\");\n \t\t\tfman_if_set_maxfrm(dpaa_intf->fif,\n \t\t\t\tdev->data->dev_conf.rxmode.max_rx_pkt_len);\n-\t\t\treturn 0;\n+\t\t\tdev->data->mtu =\n+\t\t\t\tdev->data->dev_conf.rxmode.max_rx_pkt_len -\n+\t\t\t\tETHER_HDR_LEN - ETHER_CRC_LEN - VLAN_TAG_SIZE;\n \t\t} else {\n-\t\t\treturn -1;\n+\t\t\tDPAA_PMD_ERR(\"enabling jumbo err conf max len=%d \"\n+\t\t\t\t\"supported is %d\",\n+\t\t\t\tdev->data->dev_conf.rxmode.max_rx_pkt_len,\n+\t\t\t\tDPAA_MAX_RX_PKT_LEN);\n \t\t}\n \t}\n \treturn 0;\n", "prefixes": [ "v2", "02/13" ] }{ "id": 44846, "url": "