Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/66173/?format=api
https://patches.dpdk.org/api/patches/66173/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200302145829.27808-2-hemant.agrawal@nxp.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": "<20200302145829.27808-2-hemant.agrawal@nxp.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200302145829.27808-2-hemant.agrawal@nxp.com", "date": "2020-03-02T14:58:14", "name": "[01/16] net/dpaa2: fix 10g port negotiation issue", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "a30a8949c6ef29c50259007a98ce70b1d344d699", "submitter": { "id": 477, "url": "https://patches.dpdk.org/api/people/477/?format=api", "name": "Hemant Agrawal", "email": "hemant.agrawal@nxp.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/20200302145829.27808-2-hemant.agrawal@nxp.com/mbox/", "series": [ { "id": 8742, "url": "https://patches.dpdk.org/api/series/8742/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=8742", "date": "2020-03-02T14:58:13", "name": "NXP DPAAx fixes and enhancements", "version": 1, "mbox": "https://patches.dpdk.org/series/8742/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/66173/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/66173/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 7CE91A0568;\n\tMon, 2 Mar 2020 10:26:41 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id DC57D5681;\n\tMon, 2 Mar 2020 10:26:36 +0100 (CET)", "from inva020.nxp.com (inva020.nxp.com [92.121.34.13])\n by dpdk.org (Postfix) with ESMTP id CFB1731FC;\n Mon, 2 Mar 2020 10:26:34 +0100 (CET)", "from inva020.nxp.com (localhost [127.0.0.1])\n by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id ACE691A0FAA;\n Mon, 2 Mar 2020 10:26:34 +0100 (CET)", "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n [165.114.16.14])\n by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 2D33F1A02D7;\n Mon, 2 Mar 2020 10:26:32 +0100 (CET)", "from bf-netperf1.ap.com (bf-netperf1.ap.freescale.net\n [10.232.133.63])\n by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 5B1704029E;\n Mon, 2 Mar 2020 17:26:28 +0800 (SGT)" ], "From": "Hemant Agrawal <hemant.agrawal@nxp.com>", "To": "ferruh.yigit@intel.com", "Cc": "dev@dpdk.org,\n\tstable@dpdk.org,\n\tRohit Raj <rohit.raj@nxp.com>", "Date": "Mon, 2 Mar 2020 20:28:14 +0530", "Message-Id": "<20200302145829.27808-2-hemant.agrawal@nxp.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20200302145829.27808-1-hemant.agrawal@nxp.com>", "References": "<20200302145829.27808-1-hemant.agrawal@nxp.com>", "X-Virus-Scanned": "ClamAV using ClamSMTP", "Subject": "[dpdk-dev] [PATCH 01/16] net/dpaa2: fix 10g port negotiation issue", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "From: Rohit Raj <rohit.raj@nxp.com>\n\nFixed 10g port negotiation issue with another 10G/non 10G port.\nInitialize the port link speed.\n\nFixes: c5acbb5ea20e (\"net/dpaa2: support link status event\")\nCc: stable@dpdk.org\n\nSigned-off-by: Rohit Raj <rohit.raj@nxp.com>\n---\n drivers/net/dpaa2/dpaa2_ethdev.c | 4 +---\n 1 file changed, 1 insertion(+), 3 deletions(-)", "diff": "diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c\nindex 2cde55e7c..4fc550a88 100644\n--- a/drivers/net/dpaa2/dpaa2_ethdev.c\n+++ b/drivers/net/dpaa2/dpaa2_ethdev.c\n@@ -553,9 +553,6 @@ dpaa2_eth_dev_configure(struct rte_eth_dev *dev)\n \tif (rx_offloads & DEV_RX_OFFLOAD_VLAN_FILTER)\n \t\tdpaa2_vlan_offload_set(dev, ETH_VLAN_FILTER_MASK);\n \n-\t/* update the current status */\n-\tdpaa2_dev_link_update(dev, 0);\n-\n \treturn 0;\n }\n \n@@ -1757,6 +1754,7 @@ dpaa2_dev_set_link_up(struct rte_eth_dev *dev)\n \t/* changing tx burst function to start enqueues */\n \tdev->tx_pkt_burst = dpaa2_dev_tx;\n \tdev->data->dev_link.link_status = state.up;\n+\tdev->data->dev_link.link_speed = state.rate;\n \n \tif (state.up)\n \t\tDPAA2_PMD_INFO(\"Port %d Link is Up\", dev->data->port_id);\n", "prefixes": [ "01/16" ] }{ "id": 66173, "url": "