Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/11929/?format=api
http://patches.dpdk.org/api/patches/11929/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1459853800-31760-1-git-send-email-bernard.iremonger@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": "<1459853800-31760-1-git-send-email-bernard.iremonger@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1459853800-31760-1-git-send-email-bernard.iremonger@intel.com", "date": "2016-04-05T10:56:40", "name": "[dpdk-dev] ixgbe: fix occasional timeouts when starting VF", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "6f9498cb5fff81384a7837c53d56cd7d6f855209", "submitter": { "id": 91, "url": "http://patches.dpdk.org/api/people/91/?format=api", "name": "Iremonger, Bernard", "email": "bernard.iremonger@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1459853800-31760-1-git-send-email-bernard.iremonger@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/11929/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/11929/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 A13CC293B;\n\tTue, 5 Apr 2016 12:56:51 +0200 (CEST)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id 0D976902\n\tfor <dev@dpdk.org>; Tue, 5 Apr 2016 12:56:49 +0200 (CEST)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby orsmga102.jf.intel.com with ESMTP; 05 Apr 2016 03:56:45 -0700", "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby fmsmga002.fm.intel.com with ESMTP; 05 Apr 2016 03:56:46 -0700", "from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com\n\t[10.237.217.45])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tu35Auh23024705; Tue, 5 Apr 2016 11:56:44 +0100", "from sivswdev01.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev01.ir.intel.com with ESMTP id u35AuhFR031796;\n\tTue, 5 Apr 2016 11:56:43 +0100", "(from bairemon@localhost)\n\tby sivswdev01.ir.intel.com with id u35Auhpj031792;\n\tTue, 5 Apr 2016 11:56:43 +0100" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.24,443,1455004800\"; d=\"scan'208\";a=\"951974056\"", "From": "Bernard Iremonger <bernard.iremonger@intel.com>", "To": "dev@dpdk.org", "Cc": "wenzhuo.lu@intel.com, Bernard Iremonger <bernard.iremonger@intel.com>", "Date": "Tue, 5 Apr 2016 11:56:40 +0100", "Message-Id": "<1459853800-31760-1-git-send-email-bernard.iremonger@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "Subject": "[dpdk-dev] [PATCH] ixgbe: fix occasional timeouts when starting VF", "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": "Increase the polling wait time from 10 milleseconds to 15.\n\nSigned-off-by: Bernard Iremonger <bernard.iremonger@intel.com>\n---\n drivers/net/ixgbe/ixgbe_rxtx.c | 6 +++---\n drivers/net/ixgbe/ixgbe_rxtx.h | 3 ++-\n 2 files changed, 5 insertions(+), 4 deletions(-)", "diff": "diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c\nindex b018ba7..4ad947f 100644\n--- a/drivers/net/ixgbe/ixgbe_rxtx.c\n+++ b/drivers/net/ixgbe/ixgbe_rxtx.c\n@@ -1,7 +1,7 @@\n /*-\n * BSD LICENSE\n *\n- * Copyright(c) 2010-2015 Intel Corporation. All rights reserved.\n+ * Copyright(c) 2010-2016 Intel Corporation. All rights reserved.\n * Copyright 2014 6WIND S.A.\n * All rights reserved.\n *\n@@ -4961,7 +4961,7 @@ ixgbevf_dev_rxtx_start(struct rte_eth_dev *dev)\n \t\ttxdctl |= IXGBE_TXDCTL_ENABLE;\n \t\tIXGBE_WRITE_REG(hw, IXGBE_VFTXDCTL(i), txdctl);\n \n-\t\tpoll_ms = 10;\n+\t\tpoll_ms = RTE_IXGBE_REGISTER_POLL_WAIT_15_MS;\n \t\t/* Wait until TX Enable ready */\n \t\tdo {\n \t\t\trte_delay_ms(1);\n@@ -4979,7 +4979,7 @@ ixgbevf_dev_rxtx_start(struct rte_eth_dev *dev)\n \t\tIXGBE_WRITE_REG(hw, IXGBE_VFRXDCTL(i), rxdctl);\n \n \t\t/* Wait until RX Enable ready */\n-\t\tpoll_ms = 10;\n+\t\tpoll_ms = RTE_IXGBE_REGISTER_POLL_WAIT_15_MS;\n \t\tdo {\n \t\t\trte_delay_ms(1);\n \t\t\trxdctl = IXGBE_READ_REG(hw, IXGBE_VFRXDCTL(i));\ndiff --git a/drivers/net/ixgbe/ixgbe_rxtx.h b/drivers/net/ixgbe/ixgbe_rxtx.h\nindex f9e708f..8085cf4 100644\n--- a/drivers/net/ixgbe/ixgbe_rxtx.h\n+++ b/drivers/net/ixgbe/ixgbe_rxtx.h\n@@ -1,7 +1,7 @@\n /*-\n * BSD LICENSE\n *\n- * Copyright(c) 2010-2014 Intel Corporation. All rights reserved.\n+ * Copyright(c) 2010-2016 Intel Corporation. All rights reserved.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n@@ -77,6 +77,7 @@\n #endif\n \n #define RTE_IXGBE_REGISTER_POLL_WAIT_10_MS 10\n+#define RTE_IXGBE_REGISTER_POLL_WAIT_15_MS 15\n #define RTE_IXGBE_WAIT_100_US 100\n #define RTE_IXGBE_VMTXSW_REGISTER_COUNT 2\n \n", "prefixes": [ "dpdk-dev" ] }{ "id": 11929, "url": "