Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/24693/?format=api
https://patches.dpdk.org/api/patches/24693/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1495856866-89539-6-git-send-email-jingjing.wu@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": "<1495856866-89539-6-git-send-email-jingjing.wu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1495856866-89539-6-git-send-email-jingjing.wu@intel.com", "date": "2017-05-27T03:47:41", "name": "[dpdk-dev,05/10] net/i40e/base: store the requested FEC information", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "4e7f1ece85bf1929b306df7aade9816a0a8e877f", "submitter": { "id": 47, "url": "https://patches.dpdk.org/api/people/47/?format=api", "name": "Jingjing Wu", "email": "jingjing.wu@intel.com" }, "delegate": { "id": 319, "url": "https://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1495856866-89539-6-git-send-email-jingjing.wu@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/24693/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/24693/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id D33E15398;\n\tSat, 27 May 2017 05:52:15 +0200 (CEST)", "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n\tby dpdk.org (Postfix) with ESMTP id AB1C5377A\n\tfor <dev@dpdk.org>; Sat, 27 May 2017 05:52:05 +0200 (CEST)", "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby fmsmga105.fm.intel.com with ESMTP; 26 May 2017 20:52:05 -0700", "from dpdk2.sh.intel.com ([10.239.128.246])\n\tby orsmga004.jf.intel.com with ESMTP; 26 May 2017 20:52:04 -0700" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.38,400,1491289200\"; d=\"scan'208\";a=\"91965069\"", "From": "Jingjing Wu <jingjing.wu@intel.com>", "To": "helin.zhang@intel.com", "Cc": "dev@dpdk.org,\n\tjingjing.wu@intel.com", "Date": "Sat, 27 May 2017 11:47:41 +0800", "Message-Id": "<1495856866-89539-6-git-send-email-jingjing.wu@intel.com>", "X-Mailer": "git-send-email 2.4.11", "In-Reply-To": "<1495856866-89539-1-git-send-email-jingjing.wu@intel.com>", "References": "<1495856866-89539-1-git-send-email-jingjing.wu@intel.com>", "Subject": "[dpdk-dev] [PATCH 05/10] net/i40e/base: store the requested FEC\n\tinformation", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Store information about FEC modes, that were requested. It will be used\nin printing link status information function and this way there is no\nneed to call admin queue there.\n\nSigned-off-by: Jingjing Wu <jingjing.wu@intel.com>\n---\n drivers/net/i40e/base/i40e_common.c | 4 ++++\n drivers/net/i40e/base/i40e_type.h | 1 +\n 2 files changed, 5 insertions(+)", "diff": "diff --git a/drivers/net/i40e/base/i40e_common.c b/drivers/net/i40e/base/i40e_common.c\nindex 5f6dd7b..7d59b59 100644\n--- a/drivers/net/i40e/base/i40e_common.c\n+++ b/drivers/net/i40e/base/i40e_common.c\n@@ -2826,6 +2826,10 @@ enum i40e_status_code i40e_update_link_info(struct i40e_hw *hw)\n \t\tif (status)\n \t\t\treturn status;\n \n+\t\thw->phy.link_info.req_fec_info =\n+\t\t\tabilities.fec_cfg_curr_mod_ext_info &\n+\t\t\t(I40E_AQ_REQUEST_FEC_KR | I40E_AQ_REQUEST_FEC_RS);\n+\n \t\ti40e_memcpy(hw->phy.link_info.module_type, &abilities.module_type,\n \t\t\tsizeof(hw->phy.link_info.module_type), I40E_NONDMA_TO_NONDMA);\n \t}\ndiff --git a/drivers/net/i40e/base/i40e_type.h b/drivers/net/i40e/base/i40e_type.h\nindex 52a114a..af5347b 100644\n--- a/drivers/net/i40e/base/i40e_type.h\n+++ b/drivers/net/i40e/base/i40e_type.h\n@@ -271,6 +271,7 @@ struct i40e_link_status {\n \tenum i40e_aq_link_speed link_speed;\n \tu8 link_info;\n \tu8 an_info;\n+\tu8 req_fec_info;\n \tu8 fec_info;\n \tu8 ext_info;\n \tu8 loopback;\n", "prefixes": [ "dpdk-dev", "05/10" ] }{ "id": 24693, "url": "