Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2174/?format=api
https://patches.dpdk.org/api/patches/2174/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20141227094135.680f211a@urahara/", "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": "<20141227094135.680f211a@urahara>", "list_archive_url": "https://inbox.dpdk.org/dev/20141227094135.680f211a@urahara", "date": "2014-12-27T17:41:35", "name": "[dpdk-dev] ixgbe: initialize link status on initialization", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "185aee5e05ce4c3b9bf1934d019f5be7d4effdb6", "submitter": { "id": 27, "url": "https://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20141227094135.680f211a@urahara/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/2174/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/2174/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 E55753195;\n\tSat, 27 Dec 2014 18:41:52 +0100 (CET)", "from mail-pa0-f46.google.com (mail-pa0-f46.google.com\n\t[209.85.220.46]) by dpdk.org (Postfix) with ESMTP id 2DF1C3005\n\tfor <dev@dpdk.org>; Sat, 27 Dec 2014 18:41:51 +0100 (CET)", "by mail-pa0-f46.google.com with SMTP id lf10so14797507pab.33\n\tfor <dev@dpdk.org>; Sat, 27 Dec 2014 09:41:47 -0800 (PST)", "from urahara (static-50-53-82-155.bvtn.or.frontiernet.net.\n\t[50.53.82.155]) by mx.google.com with ESMTPSA id\n\tip1sm31373939pbc.0.2014.12.27.09.41.45 for <dev@dpdk.org>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSat, 27 Dec 2014 09:41:46 -0800 (PST)" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:date:from:to:subject:message-id:mime-version\n\t:content-type:content-transfer-encoding;\n\tbh=wHE3w2v1VCr0+xtGHdcSnRfaNTber3a/7eQT4laXdAw=;\n\tb=YrAJyHNhhrTvekudSguhZvar+mlobXbNQ0TJU4mRUSNvWI1BEqZCBowXd/b6i1cmhv\n\tMeQ/SNaMPXRpaQtEnFOpXUFrIH30BbXSkis+OO/R+t0FCkor3x8roEBmRxI8N1AY987Y\n\t7t/hUKfTdJixUwQ1TldkZpnvb319ulpeAO6ggJBxM51Xl/hDwIlZJhQkvjd7OsMMwaVc\n\t5B40xIrnMmj8sC48Kw5lc8+/DmWdMPJ825RmhZIxUoYtG9n9IquC4+hRoew7JC5ssGHc\n\tCEG7g+zjcExf03ozxDPl+MdMGE+cMkJCr3zocB9F9ZJ1qcAIDpL1/uHd2+vVDSbzVWPO\n\tiAEg==", "X-Gm-Message-State": "ALoCoQlf/LUyPeAzdEIPGa18Pq3fwk76sr/MQ5A5eniKxL+N8rPDhB43KQ2kDcWSGx+TDZRXzXtZ", "X-Received": "by 10.66.163.10 with SMTP id ye10mr2142937pab.21.1419702107299; \n\tSat, 27 Dec 2014 09:41:47 -0800 (PST)", "Date": "Sat, 27 Dec 2014 09:41:35 -0800", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Message-ID": "<20141227094135.680f211a@urahara>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=US-ASCII", "Content-Transfer-Encoding": "7bit", "Subject": "[dpdk-dev] [PATCH] ixgbe: initialize link status on initialization", "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": "The link_status variable is not set when device is initialized.\nThis can lead to problems with link never being reported as up\nif using some SFP modules where the link is instantly on.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>", "diff": "--- a/lib/librte_pmd_ixgbe/ixgbe_ethdev.c\n+++ b/lib/librte_pmd_ixgbe/ixgbe_ethdev.c\n@@ -1314,6 +1314,8 @@\n \terr = ixgbe_check_link(hw, &speed, &link_up, 0);\n \tif (err)\n \t\tgoto error;\n+\tdev->data->dev_link.link_status = link_up;\n+\n \terr = ixgbe_get_link_capabilities(hw, &speed, &negotiate);\n \tif (err)\n \t\tgoto error;\n", "prefixes": [ "dpdk-dev" ] }{ "id": 2174, "url": "