Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/7670/?format=api
https://patches.dpdk.org/api/patches/7670/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1444963882-30931-18-git-send-email-wenzhuo.lu@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": "<1444963882-30931-18-git-send-email-wenzhuo.lu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1444963882-30931-18-git-send-email-wenzhuo.lu@intel.com", "date": "2015-10-16T02:51:03", "name": "[dpdk-dev,v3,17/36] e1000/base: prevent ulp flow if cable connected", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "dd9777fd7f7ca8bfcf8ca70d50699adc95a17a65", "submitter": { "id": 258, "url": "https://patches.dpdk.org/api/people/258/?format=api", "name": "Wenzhuo Lu", "email": "wenzhuo.lu@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1444963882-30931-18-git-send-email-wenzhuo.lu@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/7670/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/7670/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 96D7E9408;\n\tFri, 16 Oct 2015 04:52:20 +0200 (CEST)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id ED18C93E4\n\tfor <dev@dpdk.org>; Fri, 16 Oct 2015 04:52:15 +0200 (CEST)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby orsmga102.jf.intel.com with ESMTP; 15 Oct 2015 19:52:16 -0700", "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby fmsmga002.fm.intel.com with ESMTP; 15 Oct 2015 19:52:10 -0700", "from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com\n\t[10.239.29.89])\n\tby shvmail01.sh.intel.com with ESMTP id t9G2q46E029391;\n\tFri, 16 Oct 2015 10:52:04 +0800", "from shecgisg004.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid t9G2q1R8031085; Fri, 16 Oct 2015 10:52:03 +0800", "(from wenzhuol@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t9G2q1aJ031081; \n\tFri, 16 Oct 2015 10:52:01 +0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.17,687,1437462000\"; d=\"scan'208\";a=\"828176097\"", "From": "Wenzhuo Lu <wenzhuo.lu@intel.com>", "To": "dev@dpdk.org", "Date": "Fri, 16 Oct 2015 10:51:03 +0800", "Message-Id": "<1444963882-30931-18-git-send-email-wenzhuo.lu@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "In-Reply-To": "<1444963882-30931-1-git-send-email-wenzhuo.lu@intel.com>", "References": "<1444804479-14840-1-git-send-email-wenzhuo.lu@intel.com>\n\t<1444963882-30931-1-git-send-email-wenzhuo.lu@intel.com>", "Subject": "[dpdk-dev] [PATCH v3 17/36] e1000/base: prevent ulp flow if cable\n\tconnected", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <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": "Enabling ulp on link down when cable is connect caused an infinite\nloop of linkup/down indications in the NDIS driver.\nAfter discussed, correct flow is to enable ULP only when cable is\ndisconnected.\n\nSigned-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>\n---\n drivers/net/e1000/base/e1000_ich8lan.c | 3 +++\n 1 file changed, 3 insertions(+)", "diff": "diff --git a/drivers/net/e1000/base/e1000_ich8lan.c b/drivers/net/e1000/base/e1000_ich8lan.c\nindex 228d4c5..5077a3f 100644\n--- a/drivers/net/e1000/base/e1000_ich8lan.c\n+++ b/drivers/net/e1000/base/e1000_ich8lan.c\n@@ -1089,6 +1089,9 @@ s32 e1000_enable_ulp_lpt_lp(struct e1000_hw *hw, bool to_sx)\n \t\t\t (E1000_READ_REG(hw, E1000_FEXT) &\n \t\t\t E1000_FEXT_PHY_CABLE_DISCONNECTED) ? \"\" : \"not\",\n \t\t\t i * 50);\n+\t\tif (!(E1000_READ_REG(hw, E1000_FEXT) &\n+\t\t E1000_FEXT_PHY_CABLE_DISCONNECTED))\n+\t\t\treturn 0;\n \t}\n \n \tif (E1000_READ_REG(hw, E1000_FWSM) & E1000_ICH_FWSM_FW_VALID) {\n", "prefixes": [ "dpdk-dev", "v3", "17/36" ] }{ "id": 7670, "url": "