Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/133864/?format=api
http://patches.dpdk.org/api/patches/133864/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20231103233413.756110-11-nicolas.chautru@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": "<20231103233413.756110-11-nicolas.chautru@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20231103233413.756110-11-nicolas.chautru@intel.com", "date": "2023-11-03T23:34:13", "name": "[v3,10/10] test/bbdev: update python script parameters", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "78f722849a1bd052af77fa04764e0d8b042f4147", "submitter": { "id": 1314, "url": "http://patches.dpdk.org/api/people/1314/?format=api", "name": "Chautru, Nicolas", "email": "nicolas.chautru@intel.com" }, "delegate": { "id": 2642, "url": "http://patches.dpdk.org/api/users/2642/?format=api", "username": "mcoquelin", "first_name": "Maxime", "last_name": "Coquelin", "email": "maxime.coquelin@redhat.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20231103233413.756110-11-nicolas.chautru@intel.com/mbox/", "series": [ { "id": 30151, "url": "http://patches.dpdk.org/api/series/30151/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30151", "date": "2023-11-03T23:34:03", "name": "test-bbdev changes for 23.11", "version": 3, "mbox": "http://patches.dpdk.org/series/30151/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/133864/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/133864/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 E325743284;\n\tSat, 4 Nov 2023 00:42:47 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 974BB42DD0;\n\tSat, 4 Nov 2023 00:41:44 +0100 (CET)", "from mgamail.intel.com (mgamail.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id E739D4068A;\n Sat, 4 Nov 2023 00:41:33 +0100 (CET)", "from orsmga005.jf.intel.com ([10.7.209.41])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 03 Nov 2023 16:41:33 -0700", "from spr-npg-bds1-eec2.sn.intel.com (HELO spr-npg-bds1-eec2..)\n ([10.233.181.123])\n by orsmga005.jf.intel.com with ESMTP; 03 Nov 2023 16:41:32 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1699054894; x=1730590894;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=ZAXgrq8DyhxM7DPa02OLDqkRsZOPIrfOKBqCe4ZOFWM=;\n b=V5H403LYBDOqytnchaNGi29VIHFW7Q8hCbhakGB/7Jf/Sn0OVxh8frp8\n ynGMiwDhMRNBVlz2yTviTPcCcJCg1bAqNcNn61uILXiyiHE9+IACNB3lR\n owIzaQYKVqPR4UozeGYCufnvLn+bwzFYpyUsMD6OAeRpuWBxiqDuvOnR0\n hjjIK8UuTHfzZWUt9pkU5TO4xccFIVqAxRLBPvGoo5WbOlbGdWFyujvGq\n z4aSKzzjJt4ZFDww2/j14cdUkxBc+eevXnutZzz6Ai+/crqIg/Gl6RRax\n UiHEK76WALzK/x4bvpMF+YKC+aTQ09mqNkCaraN43UevAuA6YoxkGB81m A==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10883\"; a=\"386213596\"", "E=Sophos;i=\"6.03,275,1694761200\"; d=\"scan'208\";a=\"386213596\"", "E=McAfee;i=\"6600,9927,10883\"; a=\"935249170\"", "E=Sophos;i=\"6.03,275,1694761200\"; d=\"scan'208\";a=\"935249170\"" ], "X-ExtLoop1": "1", "From": "Nicolas Chautru <nicolas.chautru@intel.com>", "To": "dev@dpdk.org,\n\tmaxime.coquelin@redhat.com", "Cc": "hemant.agrawal@nxp.com, david.marchand@redhat.com,\n hernan.vargas@intel.com,\n stable@dpdk.org, Nicolas Chautru <nicolas.chautru@intel.com>", "Subject": "[PATCH v3 10/10] test/bbdev: update python script parameters", "Date": "Fri, 3 Nov 2023 23:34:13 +0000", "Message-Id": "<20231103233413.756110-11-nicolas.chautru@intel.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20231103233413.756110-1-nicolas.chautru@intel.com>", "References": "<20231103233413.756110-1-nicolas.chautru@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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" }, "content": "Update the timeout argument and default values.\nUpdate EAL help message and default value.\nAdd iter_max and snr arguments.\nUntil next release we keep -t as a possible command-line argument\nfor time-out, until -t becomes the argument for iter-max\nso that to match the binary command-line argument.\n\nSigned-off-by: Nicolas Chautru <nicolas.chautru@intel.com>\n---\n app/test-bbdev/test-bbdev.py | 26 +++++++++++++++++++++++---\n app/test-bbdev/test_bbdev_perf.c | 2 +-\n 2 files changed, 24 insertions(+), 4 deletions(-)", "diff": "diff --git a/app/test-bbdev/test-bbdev.py b/app/test-bbdev/test-bbdev.py\nindex 02c678a360..463de9ce05 100755\n--- a/app/test-bbdev/test-bbdev.py\n+++ b/app/test-bbdev/test-bbdev.py\n@@ -25,12 +25,18 @@ def kill(process):\n help=\"specifies path to the bbdev test app\",\n default=dpdk_path + \"/\" + dpdk_target + \"/app/dpdk-test-bbdev\")\n parser.add_argument(\"-e\", \"--eal-params\",\n- help=\"EAL arguments which are passed to the test app\",\n- default=\"--vdev=baseband_null0\")\n+ help=\"EAL arguments which must be passed to the test app\",\n+ default=\"--vdev=baseband_null0 -a00:00.0\")\n+# Until deprecated in next release keep -t as an valid argument for timeout, then use -T\n parser.add_argument(\"-t\", \"--timeout\",\n type=int,\n help=\"Timeout in seconds\",\n- default=300)\n+ default=600)\n+# This will become -t option for iter_max in next release\n+parser.add_argument(\"-x\", \"--iter-max\",\n+ type=int,\n+ help=\"Max iterations\",\n+ default=6)\n parser.add_argument(\"-c\", \"--test-cases\",\n nargs=\"+\",\n help=\"Defines test cases to run. Run all if not specified\")\n@@ -48,6 +54,10 @@ def kill(process):\n type=int,\n help=\"Operations enqueue/dequeue burst size.\",\n default=[32])\n+parser.add_argument(\"-s\", \"--snr\",\n+ type=int,\n+ help=\"SNR in dB for BLER tests\",\n+ default=0)\n parser.add_argument(\"-l\", \"--num-lcores\",\n type=int,\n help=\"Number of lcores to run.\",\n@@ -68,6 +78,16 @@ def kill(process):\n \n params.extend([\"--\"])\n \n+if args.snr:\n+ params.extend([\"-s\", str(args.snr)])\n+\n+if args.iter_max:\n+ params.extend([\"-t\", str(args.iter_max)])\n+ print(\"The argument for iter_max will be -t in next release\")\n+\n+if args.timeout:\n+ print(\"The argument for timeout will be -T in next release\")\n+\n if args.num_ops:\n params.extend([\"-n\", str(args.num_ops)])\n \ndiff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c\nindex 426c24a536..67cd429cef 100644\n--- a/app/test-bbdev/test_bbdev_perf.c\n+++ b/app/test-bbdev/test_bbdev_perf.c\n@@ -26,7 +26,7 @@\n \n #define MAX_QUEUES RTE_MAX_LCORE\n #define TEST_REPETITIONS 100\n-#define TIME_OUT_POLL 1e8\n+#define TIME_OUT_POLL 1e9\n #define WAIT_OFFLOAD_US 1000\n \n #ifdef RTE_BASEBAND_FPGA_LTE_FEC\n", "prefixes": [ "v3", "10/10" ] }{ "id": 133864, "url": "