Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/87875/?format=api
http://patches.dpdk.org/api/patches/87875/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210211141620.12482-21-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": "<20210211141620.12482-21-hemant.agrawal@nxp.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210211141620.12482-21-hemant.agrawal@nxp.com", "date": "2021-02-11T14:16:20", "name": "[v2,20/20] bus/dpaa: enhance checks for bus and device detection", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "696c0336018977f51ba30340ef5628a2e9295de6", "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/20210211141620.12482-21-hemant.agrawal@nxp.com/mbox/", "series": [ { "id": 15239, "url": "http://patches.dpdk.org/api/series/15239/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=15239", "date": "2021-02-11T14:16:00", "name": "NXP DPAAx ethernet PMD changes", "version": 2, "mbox": "http://patches.dpdk.org/series/15239/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/87875/comments/", "check": "warning", "checks": "http://patches.dpdk.org/api/patches/87875/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 446ADA054A;\n\tThu, 11 Feb 2021 15:30:51 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9730D1CC5C9;\n\tThu, 11 Feb 2021 15:28:27 +0100 (CET)", "from inva020.nxp.com (inva020.nxp.com [92.121.34.13])\n by mails.dpdk.org (Postfix) with ESMTP id 21BD41CC38A\n for <dev@dpdk.org>; Thu, 11 Feb 2021 15:28:09 +0100 (CET)", "from inva020.nxp.com (localhost [127.0.0.1])\n by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id A5CC11A05C7;\n Thu, 11 Feb 2021 15:28:08 +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 656561A05EF;\n Thu, 11 Feb 2021 15:28:07 +0100 (CET)", "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 AFA65402E5;\n Thu, 11 Feb 2021 15:28:05 +0100 (CET)" ], "From": "Hemant Agrawal <hemant.agrawal@nxp.com>", "To": "dev@dpdk.org,\n\tferruh.yigit@intel.com", "Date": "Thu, 11 Feb 2021 19:46:20 +0530", "Message-Id": "<20210211141620.12482-21-hemant.agrawal@nxp.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20210211141620.12482-1-hemant.agrawal@nxp.com>", "References": "<20210120142723.14090-1-hemant.agrawal@nxp.com>\n <20210211141620.12482-1-hemant.agrawal@nxp.com>", "X-Virus-Scanned": "ClamAV using ClamSMTP", "Subject": "[dpdk-dev] [PATCH v2 20/20] bus/dpaa: enhance checks for bus and\n device detection", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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": "1. It is not a error if no network device available. One can\nonly use crypto device\n2. Improve logging for failure in detecting the bus\n\nSigned-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>\n---\n drivers/bus/dpaa/dpaa_bus.c | 8 +++++---\n 1 file changed, 5 insertions(+), 3 deletions(-)", "diff": "diff --git a/drivers/bus/dpaa/dpaa_bus.c b/drivers/bus/dpaa/dpaa_bus.c\nindex 37cf55d60b..173041c026 100644\n--- a/drivers/bus/dpaa/dpaa_bus.c\n+++ b/drivers/bus/dpaa/dpaa_bus.c\n@@ -521,16 +521,18 @@ rte_dpaa_bus_dev_build(void)\n \t/* Get the interface configurations from device-tree */\n \tdpaa_netcfg = netcfg_acquire();\n \tif (!dpaa_netcfg) {\n-\t\tDPAA_BUS_LOG(ERR, \"netcfg_acquire failed\");\n+\t\tDPAA_BUS_LOG(ERR,\n+\t\t\t\"netcfg failed: /dev/fsl_usdpaa device not available\");\n+\t\tDPAA_BUS_WARN(\n+\t\t\t\"Check if you are using USDPAA based device tree\");\n \t\treturn -EINVAL;\n \t}\n \n \tRTE_LOG(NOTICE, EAL, \"DPAA Bus Detected\\n\");\n \n \tif (!dpaa_netcfg->num_ethports) {\n-\t\tDPAA_BUS_LOG(INFO, \"no network interfaces available\");\n+\t\tDPAA_BUS_LOG(INFO, \"NO DPDK mapped net interfaces available\");\n \t\t/* This is not an error */\n-\t\treturn 0;\n \t}\n \n #ifdef RTE_LIBRTE_DPAA_DEBUG_DRIVER\n", "prefixes": [ "v2", "20/20" ] }{ "id": 87875, "url": "