Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/69930/?format=api
http://patches.dpdk.org/api/patches/69930/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200507104645.31990-3-hemant.agrawal@nxp.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": "<20200507104645.31990-3-hemant.agrawal@nxp.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200507104645.31990-3-hemant.agrawal@nxp.com", "date": "2020-05-07T10:46:38", "name": "[v4,2/9] net/dpaa2: fix 10g port negotiation issue", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "a30a8949c6ef29c50259007a98ce70b1d344d699", "submitter": { "id": 477, "url": "http://patches.dpdk.org/api/people/477/?format=api", "name": "Hemant Agrawal", "email": "hemant.agrawal@nxp.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/20200507104645.31990-3-hemant.agrawal@nxp.com/mbox/", "series": [ { "id": 9919, "url": "http://patches.dpdk.org/api/series/9919/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=9919", "date": "2020-05-07T10:46:36", "name": "NXP DPAAx fixes and enhancements", "version": 4, "mbox": "http://patches.dpdk.org/series/9919/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/69930/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/69930/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 CFBEEA00C5;\n\tThu, 7 May 2020 12:49:16 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 06A2A1DBFD;\n\tThu, 7 May 2020 12:49:05 +0200 (CEST)", "from inva021.nxp.com (inva021.nxp.com [92.121.34.21])\n by dpdk.org (Postfix) with ESMTP id EFB151DBE1;\n Thu, 7 May 2020 12:49:00 +0200 (CEST)", "from inva021.nxp.com (localhost [127.0.0.1])\n by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id AA3E5200386;\n Thu, 7 May 2020 12:49:00 +0200 (CEST)", "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n [165.114.16.14])\n by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id A67D02017FB;\n Thu, 7 May 2020 12:48:58 +0200 (CEST)", "from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net\n [10.232.133.63])\n by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 0FFFA402D2;\n Thu, 7 May 2020 18:48:55 +0800 (SGT)" ], "From": "Hemant Agrawal <hemant.agrawal@nxp.com>", "To": "dev@dpdk.org,\n\tferruh.yigit@intel.com", "Cc": "stable@dpdk.org,\n\tRohit Raj <rohit.raj@nxp.com>", "Date": "Thu, 7 May 2020 16:16:38 +0530", "Message-Id": "<20200507104645.31990-3-hemant.agrawal@nxp.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20200507104645.31990-1-hemant.agrawal@nxp.com>", "References": "<20200504124118.22877-1-hemant.agrawal@nxp.com>\n <20200507104645.31990-1-hemant.agrawal@nxp.com>", "X-Virus-Scanned": "ClamAV using ClamSMTP", "Subject": "[dpdk-dev] [PATCH v4 2/9] 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 2cde55e7cc..4fc550a885 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": [ "v4", "2/9" ] }{ "id": 69930, "url": "