Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/17222/?format=api
https://patches.dpdk.org/api/patches/17222/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1479921780-9813-15-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": "<1479921780-9813-15-git-send-email-wenzhuo.lu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1479921780-9813-15-git-send-email-wenzhuo.lu@intel.com", "date": "2016-11-23T17:22:58", "name": "[dpdk-dev,14/16] e1000/base: support more i219 devices", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "ad38febaba1429dec3abaa9893faed9fe05dfc2b", "submitter": { "id": 258, "url": "https://patches.dpdk.org/api/people/258/?format=api", "name": "Wenzhuo Lu", "email": "wenzhuo.lu@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/1479921780-9813-15-git-send-email-wenzhuo.lu@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/17222/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/17222/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 752ACD496;\n\tThu, 24 Nov 2016 02:33:30 +0100 (CET)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n\tby dpdk.org (Postfix) with ESMTP id 74A6A29D6\n\tfor <dev@dpdk.org>; Thu, 24 Nov 2016 02:32:19 +0100 (CET)", "from fmsmga006.fm.intel.com ([10.253.24.20])\n\tby orsmga105.jf.intel.com with ESMTP; 23 Nov 2016 17:32:18 -0800", "from dpdk26.sh.intel.com ([10.239.128.228])\n\tby fmsmga006.fm.intel.com with ESMTP; 23 Nov 2016 17:32:18 -0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.31,689,1473145200\"; d=\"scan'208\";a=\"35041945\"", "From": "Wenzhuo Lu <wenzhuo.lu@intel.com>", "To": "dev@dpdk.org", "Cc": "Wenzhuo Lu <wenzhuo.lu@intel.com>", "Date": "Wed, 23 Nov 2016 12:22:58 -0500", "Message-Id": "<1479921780-9813-15-git-send-email-wenzhuo.lu@intel.com>", "X-Mailer": "git-send-email 1.9.3", "In-Reply-To": "<1479921780-9813-1-git-send-email-wenzhuo.lu@intel.com>", "References": "<1479921780-9813-1-git-send-email-wenzhuo.lu@intel.com>", "Subject": "[dpdk-dev] [PATCH 14/16] e1000/base: support more i219 devices", "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": "Add the support of more new i219 devices.\n\nSigned-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>\n---\n drivers/net/e1000/base/e1000_api.c | 7 +++++++\n drivers/net/e1000/base/e1000_hw.h | 5 +++++\n drivers/net/e1000/base/e1000_ich8lan.c | 7 +++++++\n 3 files changed, 19 insertions(+)", "diff": "diff --git a/drivers/net/e1000/base/e1000_api.c b/drivers/net/e1000/base/e1000_api.c\nindex 2abe8db..f7cf83b 100644\n--- a/drivers/net/e1000/base/e1000_api.c\n+++ b/drivers/net/e1000/base/e1000_api.c\n@@ -309,6 +309,12 @@ s32 e1000_set_mac_type(struct e1000_hw *hw)\n \tcase E1000_DEV_ID_PCH_SPT_I219_V5:\n \t\tmac->type = e1000_pch_spt;\n \t\tbreak;\n+\tcase E1000_DEV_ID_PCH_CNP_I219_LM6:\n+\tcase E1000_DEV_ID_PCH_CNP_I219_V6:\n+\tcase E1000_DEV_ID_PCH_CNP_I219_LM7:\n+\tcase E1000_DEV_ID_PCH_CNP_I219_V7:\n+\t\tmac->type = e1000_pch_cnp;\n+\t\tbreak;\n \tcase E1000_DEV_ID_82575EB_COPPER:\n \tcase E1000_DEV_ID_82575EB_FIBER_SERDES:\n \tcase E1000_DEV_ID_82575GB_QUAD_COPPER:\n@@ -460,6 +466,7 @@ s32 e1000_setup_init_funcs(struct e1000_hw *hw, bool init_device)\n \tcase e1000_pch2lan:\n \tcase e1000_pch_lpt:\n \tcase e1000_pch_spt:\n+\tcase e1000_pch_cnp:\n \t\te1000_init_function_pointers_ich8lan(hw);\n \t\tbreak;\n \tcase e1000_82575:\ndiff --git a/drivers/net/e1000/base/e1000_hw.h b/drivers/net/e1000/base/e1000_hw.h\nindex 39a2a41..d9de9fc 100644\n--- a/drivers/net/e1000/base/e1000_hw.h\n+++ b/drivers/net/e1000/base/e1000_hw.h\n@@ -145,6 +145,10 @@ struct e1000_hw;\n #define E1000_DEV_ID_PCH_SPT_I219_V4\t\t0x15D8\n #define E1000_DEV_ID_PCH_SPT_I219_LM5\t\t0x15E3\n #define E1000_DEV_ID_PCH_SPT_I219_V5\t\t0x15D6\n+#define E1000_DEV_ID_PCH_CNP_I219_LM6\t\t0x15BD\n+#define E1000_DEV_ID_PCH_CNP_I219_V6\t\t0x15BE\n+#define E1000_DEV_ID_PCH_CNP_I219_LM7\t\t0x15BB\n+#define E1000_DEV_ID_PCH_CNP_I219_V7\t\t0x15BC\n #define E1000_DEV_ID_82576\t\t\t0x10C9\n #define E1000_DEV_ID_82576_FIBER\t\t0x10E6\n #define E1000_DEV_ID_82576_SERDES\t\t0x10E7\n@@ -231,6 +235,7 @@ enum e1000_mac_type {\n \te1000_pch2lan,\n \te1000_pch_lpt,\n \te1000_pch_spt,\n+\te1000_pch_cnp,\n \te1000_82575,\n \te1000_82576,\n \te1000_82580,\ndiff --git a/drivers/net/e1000/base/e1000_ich8lan.c b/drivers/net/e1000/base/e1000_ich8lan.c\nindex 92d92c8..6dd046d 100644\n--- a/drivers/net/e1000/base/e1000_ich8lan.c\n+++ b/drivers/net/e1000/base/e1000_ich8lan.c\n@@ -346,6 +346,7 @@ STATIC s32 e1000_init_phy_workarounds_pchlan(struct e1000_hw *hw)\n \tswitch (hw->mac.type) {\n \tcase e1000_pch_lpt:\n \tcase e1000_pch_spt:\n+\tcase e1000_pch_cnp:\n \t\tif (e1000_phy_is_accessible_pchlan(hw))\n \t\t\tbreak;\n \n@@ -494,6 +495,7 @@ STATIC s32 e1000_init_phy_params_pchlan(struct e1000_hw *hw)\n \t\tcase e1000_pch2lan:\n \t\tcase e1000_pch_lpt:\n \t\tcase e1000_pch_spt:\n+\t\tcase e1000_pch_cnp:\n \t\t\t/* In case the PHY needs to be in mdio slow mode,\n \t\t\t * set slow mode and try to get the PHY id again.\n \t\t\t */\n@@ -798,6 +800,7 @@ STATIC s32 e1000_init_mac_params_ich8lan(struct e1000_hw *hw)\n \t\t/* fall-through */\n \tcase e1000_pch_lpt:\n \tcase e1000_pch_spt:\n+\tcase e1000_pch_cnp:\n #ifndef NO_NON_BLOCKING_PHY_MTA_UPDATE_SUPPORT\n \t\t/* multicast address update for pch2 */\n \t\tmac->ops.update_mc_addr_list =\n@@ -1788,6 +1791,7 @@ void e1000_init_function_pointers_ich8lan(struct e1000_hw *hw)\n \tcase e1000_pch2lan:\n \tcase e1000_pch_lpt:\n \tcase e1000_pch_spt:\n+\tcase e1000_pch_cnp:\n \t\thw->phy.ops.init_params = e1000_init_phy_params_pchlan;\n \t\tbreak;\n \tdefault:\n@@ -2254,6 +2258,7 @@ STATIC s32 e1000_sw_lcd_config_ich8lan(struct e1000_hw *hw)\n \tcase e1000_pch2lan:\n \tcase e1000_pch_lpt:\n \tcase e1000_pch_spt:\n+\tcase e1000_pch_cnp:\n \t\tsw_cfg_mask = E1000_FEXTNVM_SW_CONFIG_ICH8M;\n \t\tbreak;\n \tdefault:\n@@ -3378,6 +3383,7 @@ STATIC s32 e1000_valid_nvm_bank_detect_ich8lan(struct e1000_hw *hw, u32 *bank)\n \n \tswitch (hw->mac.type) {\n \tcase e1000_pch_spt:\n+\tcase e1000_pch_cnp:\n \t\tbank1_offset = nvm->flash_bank_size;\n \t\tact_offset = E1000_ICH_NVM_SIG_WORD;\n \n@@ -4353,6 +4359,7 @@ STATIC s32 e1000_validate_nvm_checksum_ich8lan(struct e1000_hw *hw)\n \tswitch (hw->mac.type) {\n \tcase e1000_pch_lpt:\n \tcase e1000_pch_spt:\n+\tcase e1000_pch_cnp:\n \t\tword = NVM_COMPAT;\n \t\tvalid_csum_mask = NVM_COMPAT_VALID_CSUM;\n \t\tbreak;\n", "prefixes": [ "dpdk-dev", "14/16" ] }{ "id": 17222, "url": "