Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/17224/?format=api
http://patches.dpdk.org/api/patches/17224/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1479921780-9813-17-git-send-email-wenzhuo.lu@intel.com/", "project": { "id": 1, "url": "http://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-17-git-send-email-wenzhuo.lu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1479921780-9813-17-git-send-email-wenzhuo.lu@intel.com", "date": "2016-11-23T17:23:00", "name": "[dpdk-dev,16/16] e1000: add new i219 devices", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "d2c2134f1fafb9fba031d745af97c688cd66d2e9", "submitter": { "id": 258, "url": "http://patches.dpdk.org/api/people/258/?format=api", "name": "Wenzhuo Lu", "email": "wenzhuo.lu@intel.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1479921780-9813-17-git-send-email-wenzhuo.lu@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/17224/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/17224/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 68549D4B4;\n\tThu, 24 Nov 2016 02:33:33 +0100 (CET)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n\tby dpdk.org (Postfix) with ESMTP id D583C29D6\n\tfor <dev@dpdk.org>; Thu, 24 Nov 2016 02:32:20 +0100 (CET)", "from fmsmga006.fm.intel.com ([10.253.24.20])\n\tby orsmga105.jf.intel.com with ESMTP; 23 Nov 2016 17:32:20 -0800", "from dpdk26.sh.intel.com ([10.239.128.228])\n\tby fmsmga006.fm.intel.com with ESMTP; 23 Nov 2016 17:32:19 -0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.31,689,1473145200\"; d=\"scan'208\";a=\"35041954\"", "From": "Wenzhuo Lu <wenzhuo.lu@intel.com>", "To": "dev@dpdk.org", "Cc": "Wenzhuo Lu <wenzhuo.lu@intel.com>", "Date": "Wed, 23 Nov 2016 12:23:00 -0500", "Message-Id": "<1479921780-9813-17-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 16/16] e1000: add new 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": "Enable the new i219 devices.\n\nSigned-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>\n---\n drivers/net/e1000/em_ethdev.c | 34 +++++++++++++++++++++++++++++++++-\n 1 file changed, 33 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c\nindex aee3d34..6a4cf2b 100644\n--- a/drivers/net/e1000/em_ethdev.c\n+++ b/drivers/net/e1000/em_ethdev.c\n@@ -168,6 +168,19 @@ static const struct rte_pci_id pci_id_em_map[] = {\n \t{ RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_I218_V2) },\n \t{ RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_I218_LM3) },\n \t{ RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_I218_V3) },\n+\t{ RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_SPT_I219_LM) },\n+\t{ RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_SPT_I219_V) },\n+\t{ RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_SPT_I219_LM2) },\n+\t{ RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_SPT_I219_V2) },\n+\t{ RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_LBG_I219_LM3) },\n+\t{ RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_SPT_I219_LM4) },\n+\t{ RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_SPT_I219_V4) },\n+\t{ RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_SPT_I219_LM5) },\n+\t{ RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_SPT_I219_V5) },\n+\t{ RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_CNP_I219_LM6) },\n+\t{ RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_CNP_I219_V6) },\n+\t{ RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_CNP_I219_LM7) },\n+\t{ RTE_PCI_DEVICE(E1000_INTEL_VENDOR_ID, E1000_DEV_ID_PCH_CNP_I219_V7) },\n \t{ .vendor_id = 0, /* sentinel */ },\n };\n \n@@ -278,6 +291,19 @@ eth_em_dev_is_ich8(struct e1000_hw *hw)\n \tcase E1000_DEV_ID_PCH_I218_LM2:\n \tcase E1000_DEV_ID_PCH_I218_V3:\n \tcase E1000_DEV_ID_PCH_I218_LM3:\n+\tcase E1000_DEV_ID_PCH_SPT_I219_LM:\n+\tcase E1000_DEV_ID_PCH_SPT_I219_V:\n+\tcase E1000_DEV_ID_PCH_SPT_I219_LM2:\n+\tcase E1000_DEV_ID_PCH_SPT_I219_V2:\n+\tcase E1000_DEV_ID_PCH_LBG_I219_LM3:\n+\tcase E1000_DEV_ID_PCH_SPT_I219_LM4:\n+\tcase E1000_DEV_ID_PCH_SPT_I219_V4:\n+\tcase E1000_DEV_ID_PCH_SPT_I219_LM5:\n+\tcase E1000_DEV_ID_PCH_SPT_I219_V5:\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\treturn 1;\n \tdefault:\n \t\treturn 0;\n@@ -540,6 +566,8 @@ em_set_pba(struct e1000_hw *hw)\n \t\tcase e1000_pchlan:\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\tpba = E1000_PBA_26K;\n \t\t\tbreak;\n \t\tdefault:\n@@ -853,7 +881,9 @@ em_hardware_init(struct e1000_hw *hw)\n \t\thw->fc.low_water = 0x5048;\n \t\thw->fc.pause_time = 0x0650;\n \t\thw->fc.refresh_time = 0x0400;\n-\t} else if (hw->mac.type == e1000_pch_lpt) {\n+\t} else if (hw->mac.type == e1000_pch_lpt ||\n+\t\t hw->mac.type == e1000_pch_spt ||\n+\t\t hw->mac.type == e1000_pch_cnp) {\n \t\thw->fc.requested_mode = e1000_fc_full;\n \t}\n \n@@ -1026,6 +1056,8 @@ em_get_max_pktlen(const struct e1000_hw *hw)\n \tcase e1000_ich10lan:\n \tcase e1000_pch2lan:\n \tcase e1000_pch_lpt:\n+\tcase e1000_pch_spt:\n+\tcase e1000_pch_cnp:\n \tcase e1000_82574:\n \tcase e1000_80003es2lan: /* 9K Jumbo Frame size */\n \tcase e1000_82583:\n", "prefixes": [ "dpdk-dev", "16/16" ] }{ "id": 17224, "url": "