Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/62129/?format=api
https://patches.dpdk.org/api/patches/62129/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20191029125431.16862-1-jiaqix.min@intel.com/", "project": { "id": 1, "url": "https://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": "<20191029125431.16862-1-jiaqix.min@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20191029125431.16862-1-jiaqix.min@intel.com", "date": "2019-10-29T12:54:31", "name": "[v3] net/ice: fix setting max frame size", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "78fa78c28400adbd69d5ad25251323d99107b48b", "submitter": { "id": 1374, "url": "https://patches.dpdk.org/api/people/1374/?format=api", "name": "Min, JiaqiX", "email": "jiaqix.min@intel.com" }, "delegate": { "id": 31221, "url": "https://patches.dpdk.org/api/users/31221/?format=api", "username": "yexl", "first_name": "xiaolong", "last_name": "ye", "email": "xiaolong.ye@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20191029125431.16862-1-jiaqix.min@intel.com/mbox/", "series": [ { "id": 7114, "url": "https://patches.dpdk.org/api/series/7114/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=7114", "date": "2019-10-29T12:54:31", "name": "[v3] net/ice: fix setting max frame size", "version": 3, "mbox": "https://patches.dpdk.org/series/7114/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/62129/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/62129/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 6B0F7A00BE;\n\tTue, 29 Oct 2019 06:00:22 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id DCE5B1BED1;\n\tTue, 29 Oct 2019 06:00:20 +0100 (CET)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id 9B02C1BECE;\n Tue, 29 Oct 2019 06:00:18 +0100 (CET)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n 28 Oct 2019 22:00:17 -0700", "from intel.sh.intel.com ([10.239.255.128])\n by fmsmga001.fm.intel.com with ESMTP; 28 Oct 2019 22:00:15 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.68,242,1569308400\"; d=\"scan'208\";a=\"211030243\"", "From": "Min JiaqiX <jiaqix.min@intel.com>", "To": "dev@dpdk.org", "Cc": "Min JiaqiX <jiaqix.min@intel.com>,\n\tstable@dpdk.org", "Date": "Tue, 29 Oct 2019 12:54:31 +0000", "Message-Id": "<20191029125431.16862-1-jiaqix.min@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20191028155453.37207-1-jiaqix.min@intel.com>", "References": "<20191028155453.37207-1-jiaqix.min@intel.com>", "Subject": "[dpdk-dev] [PATCH v3] net/ice: fix setting max frame size", "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 <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": "Max frame size is not set to HW, so packets above the MTU\ndo not get dropped by HW. The patch fixed the issue.\n\nFixes: 50370662b727 (\"net/ice: support device and queue ops\")\nCc: stable@dpdk.org\n\nSigned-off-by: Min JiaqiX <jiaqix.min@intel.com>\nReviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>\n---\nv3:\n* Changed Fixes line.\nv2:\n* Changed commit message.\n---\n drivers/net/ice/ice_ethdev.c | 4 ++++\n 1 file changed, 4 insertions(+)", "diff": "diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c\nindex 022b58c01..403305cfb 100644\n--- a/drivers/net/ice/ice_ethdev.c\n+++ b/drivers/net/ice/ice_ethdev.c\n@@ -2506,6 +2506,10 @@ ice_dev_start(struct rte_eth_dev *dev)\n \n \tpf->adapter_stopped = false;\n \n+\t/* Set the max frame size */\n+\tice_aq_set_mac_cfg(hw,\n+\t\tpf->dev_data->dev_conf.rxmode.max_rx_pkt_len, NULL);\n+\n \treturn 0;\n \n \t/* stop the started queues if failed to start all queues */\n", "prefixes": [ "v3" ] }{ "id": 62129, "url": "