Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/7635/?format=api
https://patches.dpdk.org/api/patches/7635/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1444874628-5453-34-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": "<1444874628-5453-34-git-send-email-wenzhuo.lu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1444874628-5453-34-git-send-email-wenzhuo.lu@intel.com", "date": "2015-10-15T02:03:46", "name": "[dpdk-dev,v2,33/35] e1000/base: fix to enable both ulp and EEE in Sx state", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "47381d1b423f1496449f950fe9722cf89461bf4b", "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/1444874628-5453-34-git-send-email-wenzhuo.lu@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/7635/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/7635/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 45EAD9254;\n\tThu, 15 Oct 2015 04:05:14 +0200 (CEST)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby dpdk.org (Postfix) with ESMTP id 19B679266\n\tfor <dev@dpdk.org>; Thu, 15 Oct 2015 04:05:11 +0200 (CEST)", "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby fmsmga101.fm.intel.com with ESMTP; 14 Oct 2015 19:05:12 -0700", "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby orsmga003.jf.intel.com with ESMTP; 14 Oct 2015 19:05: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 t9F258pO006555;\n\tThu, 15 Oct 2015 10:05:08 +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 t9F255eY006001; Thu, 15 Oct 2015 10:05:07 +0800", "(from wenzhuol@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t9F255mS005997; \n\tThu, 15 Oct 2015 10:05:05 +0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.17,683,1437462000\"; d=\"scan'208\";a=\"664612575\"", "From": "Wenzhuo Lu <wenzhuo.lu@intel.com>", "To": "dev@dpdk.org", "Date": "Thu, 15 Oct 2015 10:03:46 +0800", "Message-Id": "<1444874628-5453-34-git-send-email-wenzhuo.lu@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "In-Reply-To": "<1444874628-5453-1-git-send-email-wenzhuo.lu@intel.com>", "References": "<1444804479-14840-1-git-send-email-wenzhuo.lu@intel.com>\n\t<1444874628-5453-1-git-send-email-wenzhuo.lu@intel.com>", "Subject": "[dpdk-dev] [PATCH v2 33/35] e1000/base: fix to enable both ulp and\n\tEEE in Sx state", "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": "This patch implements a modified flow that allows both ULP and EEE\nin Sx(Sticky mode).\n\nSigned-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>\n---\n drivers/net/e1000/base/e1000_ich8lan.c | 6 ++++++\n 1 file changed, 6 insertions(+)", "diff": "diff --git a/drivers/net/e1000/base/e1000_ich8lan.c b/drivers/net/e1000/base/e1000_ich8lan.c\nindex 6dc053f..f62ad0b 100644\n--- a/drivers/net/e1000/base/e1000_ich8lan.c\n+++ b/drivers/net/e1000/base/e1000_ich8lan.c\n@@ -1154,10 +1154,15 @@ skip_smbus:\n \tif (to_sx) {\n \t\tif (E1000_READ_REG(hw, E1000_WUFC) & E1000_WUFC_LNKC)\n \t\t\tphy_reg |= I218_ULP_CONFIG1_WOL_HOST;\n+\t\telse\n+\t\t\tphy_reg &= ~I218_ULP_CONFIG1_WOL_HOST;\n \n \t\tphy_reg |= I218_ULP_CONFIG1_STICKY_ULP;\n+\t\tphy_reg &= ~I218_ULP_CONFIG1_INBAND_EXIT;\n \t} else {\n \t\tphy_reg |= I218_ULP_CONFIG1_INBAND_EXIT;\n+\t\tphy_reg &= ~I218_ULP_CONFIG1_STICKY_ULP;\n+\t\tphy_reg &= ~I218_ULP_CONFIG1_WOL_HOST;\n \t}\n \te1000_write_phy_reg_hv_locked(hw, I218_ULP_CONFIG1, phy_reg);\n \n@@ -1178,6 +1183,7 @@ skip_smbus:\n \t\tmac_reg &= ~E1000_TCTL_EN;\n \t\tE1000_WRITE_REG(hw, E1000_TCTL, mac_reg);\n \t}\n+\n release:\n \thw->phy.ops.release(hw);\n out:\n", "prefixes": [ "dpdk-dev", "v2", "33/35" ] }{ "id": 7635, "url": "