Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/56019/?format=api
http://patches.dpdk.org/api/patches/56019/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1562159174-12183-1-git-send-email-lavanyax.govindarajan@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": "<1562159174-12183-1-git-send-email-lavanyax.govindarajan@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1562159174-12183-1-git-send-email-lavanyax.govindarajan@intel.com", "date": "2019-07-03T13:06:14", "name": "[v3] test/eal: add ut for eal options proc-type and uio", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "8fa743b36ca1a5bf33c5ae9e0a6139613bebafbd", "submitter": { "id": 1225, "url": "http://patches.dpdk.org/api/people/1225/?format=api", "name": "Lavanya Govindarajan", "email": "lavanyax.govindarajan@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1562159174-12183-1-git-send-email-lavanyax.govindarajan@intel.com/mbox/", "series": [ { "id": 5311, "url": "http://patches.dpdk.org/api/series/5311/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5311", "date": "2019-07-03T13:06:14", "name": "[v3] test/eal: add ut for eal options proc-type and uio", "version": 3, "mbox": "http://patches.dpdk.org/series/5311/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/56019/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/56019/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 5593AF04;\n\tWed, 3 Jul 2019 15:07:06 +0200 (CEST)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n\tby dpdk.org (Postfix) with ESMTP id 6DBC23DC\n\tfor <dev@dpdk.org>; Wed, 3 Jul 2019 15:07:04 +0200 (CEST)", "from orsmga006.jf.intel.com ([10.7.209.51])\n\tby orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t03 Jul 2019 06:07:03 -0700", "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga006.jf.intel.com with ESMTP; 03 Jul 2019 06:07:01 -0700", "from wgcvswdev001.ir.intel.com (wgcvswdev001.ir.intel.com\n\t[10.102.246.100])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tx63D70NC028329; Wed, 3 Jul 2019 14:07:00 +0100", "from wgcvswdev001.ir.intel.com (localhost [127.0.0.1])\n\tby wgcvswdev001.ir.intel.com with ESMTP id x63D6WBQ012801;\n\tWed, 3 Jul 2019 14:06:32 +0100", "(from lgovin3x@localhost)\n\tby wgcvswdev001.ir.intel.com with ? id x63D6WAM012797;\n\tWed, 3 Jul 2019 14:06:32 +0100" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.63,446,1557212400\"; d=\"scan'208\";a=\"169131953\"", "From": "Lavanya Govindarajan <lavanyax.govindarajan@intel.com>", "To": "dev@dpdk.org", "Cc": "reshma.pattan@intel.com, anatoly.burakov@intel.com,\n\tdavid.marchand@redhat.com, jananeex.m.parthasarathy@intel.com,\n\tLavanya Govindarajan <lavanyax.govindarajan@intel.com>", "Date": "Wed, 3 Jul 2019 14:06:14 +0100", "Message-Id": "<1562159174-12183-1-git-send-email-lavanyax.govindarajan@intel.com>", "X-Mailer": "git-send-email 1.7.0.7", "In-Reply-To": "<1561637559-27164-1-git-send-email-lavanyax.govindarajan@intel.com>", "References": "<1561637559-27164-1-git-send-email-lavanyax.govindarajan@intel.com>", "Subject": "[dpdk-dev] [PATCH v3] test/eal: add ut for eal options proc-type\n\tand uio", "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Added unit test cases for EAL flags --proc-type=auto and\n--create-uio-dev in order to cover the below functions\neal_proc_type_detect()\nrte_eal_create_uio_dev()\n\nSigned-off-by: Lavanya Govindarajan <lavanyax.govindarajan@intel.com>\nReviewed-by: David Marchand <david.marchand@redhat.com>\nAcked-by: Anatoly Burakov <anatoly.burakov@intel.com>\n---\nv3: Corrected error log message to be consistent\nv2: Removed core and channels eal options as they are not significant\n---\n\n app/test/test_eal_flags.c | 28 ++++++++++++++++++++++++++++\n 1 file changed, 28 insertions(+)", "diff": "diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c\nindex 9985ee979..3766c4cfc 100644\n--- a/app/test/test_eal_flags.c\n+++ b/app/test/test_eal_flags.c\n@@ -903,6 +903,18 @@ test_misc_flags(void)\n \tconst char *argv15[] = {prgname, \"--file-prefix=intr\",\n \t\t\t\"--vfio-intr=invalid\"};\n \n+\t/* With process type as auto-detect */\n+\tconst char * const argv16[] = {prgname, \"--file-prefix=auto\",\n+\t\t\t\"--proc-type=auto\"};\n+\n+\t/* With process type as auto-detect with no-shconf */\n+\tconst char * const argv17[] = {prgname, \"--proc-type=auto\",\n+\t\t\tno_shconf, nosh_prefix, no_huge};\n+\n+\t/* With process type as --create-uio-dev flag */\n+\tconst char * const argv18[] = {prgname, \"--file-prefix=uiodev\",\n+\t\t\t\"--create-uio-dev\"};\n+\n \t/* run all tests also applicable to FreeBSD first */\n \n \tif (launch_proc(argv0) == 0) {\n@@ -979,6 +991,22 @@ test_misc_flags(void)\n \t\t\t\t\"--vfio-intr invalid parameter\\n\");\n \t\treturn -1;\n \t}\n+\tif (launch_proc(argv16) != 0) {\n+\t\tprintf(\"Error - process did not run ok with \"\n+\t\t\t\t\"--proc-type as auto parameter\\n\");\n+\t\treturn -1;\n+\t}\n+\tif (launch_proc(argv17) != 0) {\n+\t\tprintf(\"Error - process did not run ok with \"\n+\t\t\t\t\"--proc-type and --no-shconf parameter\\n\");\n+\t\treturn -1;\n+\t}\n+\tif (launch_proc(argv18) != 0) {\n+\t\tprintf(\"Error - process did not run ok with \"\n+\t\t\t\t\"--create-uio-dev parameter\\n\");\n+\t\treturn -1;\n+\t}\n+\n \treturn 0;\n }\n \n", "prefixes": [ "v3" ] }{ "id": 56019, "url": "