From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0051.outbound.protection.outlook.com [104.47.40.51]) by dpdk.org (Postfix) with ESMTP id 889787CBD for ; Tue, 4 Jul 2017 06:54:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=fPI0gXM0UJLoKum0tXkAa7h3Ay6lCBrxFbDgjobnczA=; b=c/iRJH++YuLWuJzc9Scv9AMAwJ1t7Qb8RayrLbfZPFnChyhLtLwv7KzbaXDCIYaPGaRoViKpfDL8HHtlGKl/dQkp3M/5MTGmNG0/uGDmukf3t92SXMKFuNYqli24LSStA8sHLzJ8abxnXg565GwCBaOcDM1vhd+y2AgxbZv99qc= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin.domain.name (106.200.206.49) by BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Tue, 4 Jul 2017 04:54:30 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: harry.van.haaren@intel.com, bruce.richardson@intel.com, hemant.agrawal@nxp.com, gage.eads@intel.com, nipun.gupta@nxp.com, narender.vangati@intel.com, nikhil.rao@intel.com, gprathyusha@caviumnetworks.com, Jerin Jacob Date: Tue, 4 Jul 2017 10:23:03 +0530 Message-Id: <20170704045329.24711-9-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170704045329.24711-1-jerin.jacob@caviumnetworks.com> References: <20170703191402.3638-1-jerin.jacob@caviumnetworks.com> <20170704045329.24711-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [106.200.206.49] X-ClientProxiedBy: BM1PR01CA0106.INDPRD01.PROD.OUTLOOK.COM (10.174.208.22) To BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 45e7ad25-b6cf-4373-280f-08d4c298c303 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 3:BVGCzCJ7I6Odd1japj+X49HIYKEkoUszVahBGmlIC4kvkCwQ4li4tL48zKzcnwnffpWYMyI914orz4N0Wi6Q2WXCTohC41bC8xLqyYxTYTLJqTdJ7DuX6YvQ4xUx8cySvSS9D2c7KVtGXppP2W/3XOh7ZkdaVC3vjQqJF53NU9E7tyXjRDSUEI6OqRkaPa5SSfpu2AhDGWShHPpd4deEebe5U+C1aqRPNloY9IG4cKpOrvolr7OFVxKjj2/esCPBb7nPMT/4+nYxMVoH/K9oI0PCCVzNBtkeqMq3uzbx2Bj3okL+QJfBzY9jju6AhpYWFIg+gbjM3J+GnqB/AaNvJ4eklJg/ZRZqtuxCQj4Db3+9pAqJ/gKIhkXG5YaYWoTDZNeXgY8iuXoCGcusoSK/Ly7r0HSDGn+1qZyOQxMN5giWHwqC+HSsxES6c45uUaPQje+BGtHBoazB23KTSdImLg+h4zOe1nHnzI3fj0m01YuQ0T66OstFgpjGcWptUlKkr7n76BrK6pfWSlGPb/KvKslwBZTj2+Say3Iq1xPaj3ZXBzOvzhFJ0L+TbTXmiMb2PFvoATbuo3mTvVM4CgVeYI0Kt0b2RBGY9buV34S8vbIhcA7OLrSEVdLMcrUCrY0YlZZpY84yU6H/YiNhPKJoeDeY0+Fu4Xvj2+PnPLJiSzu/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CfQZm9UiLXQ+5dapfX2jRxBe/n0xdKaQpp4tod/QX+Da3CIhC6zUPH8S9R31dRNb+bfAyuM3dRlOLHQVUyPd9F9UTYpYB1arsq8ujht/N4kakAG6kxI+mTXPF15knY6INPN+cEgwDzuYj1oBN+YcD+XUoSEQ2T5XcrOh4dIaXGMQolHydI0N860OQK4+MHo2BgzOcArF4f0PqfU/roF3ReIJQhbaoh9XCMOTidT58YBwBkUzZaTrmRyRK5hGq8eJE5e5GOJOeGKNFcChsa98Pevd2UHz8ZNVXXZx/PB0f8jG2AxEnsl3zE37RtnuJMPFZh+ppo= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(93006095)(10201501046)(3002001)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(20161123560025)(20161123564025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR0701MB1714; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 4:xV7Vvx7IJOtwACX2jEt5nIZmdaf45qWvdZ5aIjSt?= =?us-ascii?Q?Dh1ldgOvb2xHfR9nOWmNrDuFBXDy4OLEcB8hNnBw3doIZRbHd7Wen8XUB5VD?= =?us-ascii?Q?q5j99SHe+Nh9/DtGpFwUB6ao/VdeGexMnGcVEuRHIaPVrXh2CgUHGqdOEgKW?= =?us-ascii?Q?VLhBGB3z2nQuBS+TYYpK7W54iA/xsmEfOJkGdYF2rCtEHu9ngDKs0Jjn9Rvh?= =?us-ascii?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FbkWJNIHUFavzjD+r?= =?us-ascii?Q?umkMAhllLR78YzmNrvifDhiJIUpsVtKJ5IHuCx2csVZiR73Oq/mWYA=3D=3D?= X-Forefront-PRVS: 0358535363 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39400400002)(39840400002)(39410400002)(39450400003)(4326008)(107886003)(38730400002)(6512007)(42186005)(6486002)(8656002)(6506006)(33646002)(53936002)(25786009)(6116002)(6916009)(1076002)(5003940100001)(3846002)(42882006)(47776003)(2950100002)(478600001)(2906002)(6666003)(66066001)(8676002)(50226002)(48376002)(81166006)(7736002)(110136004)(2361001)(2351001)(5009440100003)(189998001)(5660300001)(305945005)(72206003)(53416004)(50986999)(76176999)(50466002)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1714; H:jerin.domain.name; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 23:tsxgqwO+Dsx+7sghyteRmYsNr+RonvBetGRiSie?= =?us-ascii?Q?3JClX3xKh5N+wKd4jRm3bLJMQGO9pGA/UpKnES/OmNPhrpfFb3BvJAVUCrau?= =?us-ascii?Q?yUepK80WZzCEetNp7pJAhK1Mfhl6tU+2u20h91FtH/x0qI8cg5TwsdxbJhad?= =?us-ascii?Q?RMenk4GRLZpfKDzT0xTHUeunkYoPH+h0iBqVndR3tFtI1qhakjLec4n1IUCw?= =?us-ascii?Q?Zgz0A4AY4ak0XZgY2VDFqQchgcgAHaOZ4K1XZHLATMf+MLcr7y75zKUbqn+H?= =?us-ascii?Q?hnlBAxDzCQDYeiDVyzwc6twYW6x6nBTGQGe+uxSppoHPLf5f5jT4AZWVWZn4?= =?us-ascii?Q?TAOH9gCvdZU98R0BngUI03I/P+Z8+u3qvLzHy3MQvGlG5mXhaYyeWYBITqZc?= =?us-ascii?Q?rmzuJEZlV+b+whO3/MrIJUBymVRrDiAiThZ2epLDEdEynuPG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MX7nFc9Fw/gF/pLyro3XRftB7JusPZRgbfhZ33FxS2+W3yt5onJhWnV1JlNbu5t5pVZzWpJu0/+Aan1hjlTKE2SV7TVHj4eJwrIMTbMCekvhMLs/iWU9r1uyrZDmaklcUNXHSrjb44fS9O7nyH+nEQb+ttvr8VWTAJ/pH6DK84KYs63wFAN/FE1wqi45tVPg7gJ5GcEG05ZC2Zlrwvwydkfgq1rAOmCfdkENPtT8qXGZiNQr5dhAnKD9yZ6gTWFUbjxmBMrguY1ePSKdCMvtTLyqzruald1T8ZW0KfrsAvSfcnFb2IkRhLWXFsgeKZun4/mJ0Yw/F4QkJ8bxOP1MkwF4jiXdNoyGUfpLVp4+fTFVpTrHcou4jyhfco8Q/hDSrudF2NBj9HnzHHNzGnppt7sy/ODn/AmIfLqbjfjnIzN72ytcN8+JMQBMc/3RrdBFwJI3BY3xYueMTz5elYwIywXZiRJoaJqUg/NlYYtvBFwg8dDCJu9Vv/DG3pH1PcNKqAZGiXc304ZanONCTOl/xUl8isYxkXzTCOZGERsjQ05MKQnAP7+zE= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2017 04:54:30.0228 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: [dpdk-dev] [PATCH v3 08/34] app/testeventdev: add helper functions to dump options X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jul 2017 04:54:36 -0000 Signed-off-by: Jerin Jacob Signed-off-by: Guduri Prathyusha Acked-by: Harry van Haaren --- app/test-eventdev/evt_options.c | 23 +++++++++++ app/test-eventdev/evt_options.h | 91 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 114 insertions(+) diff --git a/app/test-eventdev/evt_options.c b/app/test-eventdev/evt_options.c index 3e15555a4..200e594e9 100644 --- a/app/test-eventdev/evt_options.c +++ b/app/test-eventdev/evt_options.c @@ -56,3 +56,26 @@ evt_options_default(struct evt_options *opt) opt->wkr_deq_dep = 16; opt->nb_pkts = (1ULL << 26); /* do ~64M packets */ } + +void +evt_options_dump(struct evt_options *opt) +{ + int lcore_id; + struct rte_event_dev_info dev_info; + + rte_event_dev_info_get(opt->dev_id, &dev_info); + evt_dump("driver", "%s", dev_info.driver_name); + evt_dump("test", "%s", opt->test_name); + evt_dump("dev", "%d", opt->dev_id); + evt_dump("verbose_level", "%d", opt->verbose_level); + evt_dump("socket_id", "%d", opt->socket_id); + evt_dump("pool_sz", "%d", opt->pool_sz); + evt_dump("master lcore", "%d", rte_get_master_lcore()); + evt_dump("nb_pkts", "%"PRIu64, opt->nb_pkts); + evt_dump_begin("available lcores"); + RTE_LCORE_FOREACH(lcore_id) + printf("%d ", lcore_id); + evt_dump_end; + evt_dump_nb_flows(opt); + evt_dump_worker_dequeue_depth(opt); +} diff --git a/app/test-eventdev/evt_options.h b/app/test-eventdev/evt_options.h index a73d559e6..75f129ebe 100644 --- a/app/test-eventdev/evt_options.h +++ b/app/test-eventdev/evt_options.h @@ -42,6 +42,8 @@ #include "evt_common.h" +#define EVT_BOOL_FMT(x) ((x) ? "true" : "false") + struct evt_options { #define EVT_TEST_NAME_MAX_LEN 32 char test_name[EVT_TEST_NAME_MAX_LEN]; @@ -62,6 +64,7 @@ struct evt_options { }; void evt_options_default(struct evt_options *opt); +void evt_options_dump(struct evt_options *opt); /* options check helpers */ static inline bool @@ -164,5 +167,93 @@ evt_has_invalid_sched_type(struct evt_options *opt) return false; } +/* option dump helpers */ +static inline void +evt_dump_worker_lcores(struct evt_options *opt) +{ + int c; + + evt_dump_begin("worker lcores"); + for (c = 0; c < RTE_MAX_LCORE; c++) { + if (opt->wlcores[c]) + printf("%d ", c); + } + evt_dump_end; +} + +static inline void +evt_dump_producer_lcores(struct evt_options *opt) +{ + int c; + + evt_dump_begin("producer lcores"); + for (c = 0; c < RTE_MAX_LCORE; c++) { + if (opt->plcores[c]) + printf("%d ", c); + } + evt_dump_end; +} + +static inline void +evt_dump_nb_flows(struct evt_options *opt) +{ + evt_dump("nb_flows", "%d", opt->nb_flows); +} + +static inline void +evt_dump_scheduler_lcore(struct evt_options *opt) +{ + evt_dump("scheduler lcore", "%d", opt->slcore); +} + +static inline void +evt_dump_worker_dequeue_depth(struct evt_options *opt) +{ + evt_dump("worker deq depth", "%d", opt->wkr_deq_dep); +} + +static inline void +evt_dump_nb_stages(struct evt_options *opt) +{ + evt_dump("nb_stages", "%d", opt->nb_stages); +} + +static inline void +evt_dump_fwd_latency(struct evt_options *opt) +{ + evt_dump("fwd_latency", "%s", EVT_BOOL_FMT(opt->fwd_latency)); +} + +static inline void +evt_dump_queue_priority(struct evt_options *opt) +{ + evt_dump("queue_priority", "%s", EVT_BOOL_FMT(opt->q_priority)); +} + +static inline const char* +evt_sched_type_2_str(uint8_t sched_type) +{ + + if (sched_type == RTE_SCHED_TYPE_ORDERED) + return "O"; + else if (sched_type == RTE_SCHED_TYPE_ATOMIC) + return "A"; + else if (sched_type == RTE_SCHED_TYPE_PARALLEL) + return "P"; + else + return "I"; +} + +static inline void +evt_dump_sched_type_list(struct evt_options *opt) +{ + int i; + + evt_dump_begin("sched_type_list"); + for (i = 0; i < opt->nb_stages; i++) + printf("%s ", evt_sched_type_2_str(opt->sched_type_list[i])); + + evt_dump_end; +} #endif /* _EVT_OPTIONS_ */ -- 2.13.2