From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0060.outbound.protection.outlook.com [104.47.41.60]) by dpdk.org (Postfix) with ESMTP id A13A07CAA for ; Mon, 3 Jul 2017 21:15:11 +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=j0EB2XIziopLvkMUd+J+l3SsnwJIPSZol9OmKHjWhvZ7ZkC8Ugij3dL1wFxwDiLwFVjFfzU4fYtpXfbBRYl7jv1sfF9vinaczR376eGN3hDVB3SH8IoRp3f3EXU1YntIurwcI9eIE1J4zsn3RG3IqxHX8gvGQ6zWdPAACuzi2u0= 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 (111.93.218.67) by BLUPR0701MB1716.namprd07.prod.outlook.com (10.163.85.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Mon, 3 Jul 2017 19:15:06 +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 00:43:36 +0530 Message-Id: <20170703191402.3638-9-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170703191402.3638-1-jerin.jacob@caviumnetworks.com> References: <20170528195854.6064-1-jerin.jacob@caviumnetworks.com> <20170703191402.3638-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0103.INDPRD01.PROD.OUTLOOK.COM (10.174.144.19) To BLUPR0701MB1716.namprd07.prod.outlook.com (10.163.85.142) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 31a94dd0-75b3-4565-cc33-08d4c247d2e9 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:BLUPR0701MB1716; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 3:2mE6G8qi3/yQNB1FhITT60xBUwMfTXzPY3d/TZo19o88MkJUyhf6x1PuVGIEkTnmJLBV9MT8qFZUzav9kPuCd/U2B39xWnDDTFPIId2IMjK5Sgoi9zxB8LZ44CFwq9t5O9HRHcP8uydixwCaFhopwdlJyyUuQmYO9gDrRymMpPti5MjsNJ1JTDhcMIorl5WmfV+HWOWLlPemCXxzHJU6CFOFUMi90hgSFXJbB33G9Izl16HIsAUtVzghJVHI18gSaetcfvWPRxM1rLHX4NqwA6FgBqMCnT006trw+fS+SWtUFi2ftfW+qaMagycT317MFAdfvnyO8LRbtetidqFbX5tntxwg6xOoc6b64GmS9qp16Dp2L74xh813B6uzMQ3kBdDEz1VnXpzCjRZKnEXtqkxCPA5cSpX4CRxd0daSuRFWJ9BAQokzuvrtGTdOeIE3/Mb5X5iHn4geSWzzAqgnW8dzLRWtZPtgWAGIxwvgyRx51VIBEGiw2ksYo3dSZrAcO324cUOKLF/pKl1hmDL5MRpk1FGl63mHXhTGASe1FIhWYONzYfidyQWXOP3UhU7XTWTiPjhNhL2GMB3mSmtYGJK1zwrALqU9YvGPwnCMyKeK956c/HHsF1XJD+p7OS5p2AexJrp5AG2jn0FYbmJJpDIQrkY3ivlChDJSx1V/bzxOJeA9flz8VNjKV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KO+m/DY4PHpNV0ISLP4vhavJ8QMBrwga4/ziLCSBlISk2TJmqbDPuyab7lRr2WjnWNh41f6MUbB1v/L6wYCXIIVMlFvB2gUxGsbRv+IO1maZ3DybxiP+j/gbKleEvb7ZVvADqPBcVvnIvWo/jjHO4tepg+0HsJoLXPDiQfuWw9KW9Pp9PZL03ALxppQiDUQiy/MvDjq9MH/TK1uP8THkQLj3u8CNZIqh/hPti1nWbhrYxw6NWN5ZVtVInEDeZC5QAhrbuBxY2XkYkcRHdSdx32aWJGUDH1np4q64wU+XhqRYfVAE= 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)(93006095)(3002001)(10201501046)(100000703101)(100105400095)(6041248)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(20161123555025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR0701MB1716; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR0701MB1716; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1716; 4:yx1O7JRT+zUsngZksAELu19Ksah1meQhGvWXYWL4?= =?us-ascii?Q?Vl/T4dGDVPkSQEsp+TBYELYT3p6sWW7bNodcrlGRYe1ipTzrEqRXDPghGswm?= =?us-ascii?Q?jhZZELNKAd5PJcJFRi/SwlGdfMKxCmWw3h+7oNrIiWdAPn8vI1K4g0jYJVEG?= =?us-ascii?Q?Ge2UHGVWSqQA6buAV4seiK5h+k0dppf1LzbXRbdj2yAm35wzLQ35iIKnQ42p?= =?us-ascii?Q?oTVLwsdpfN+7pU+bRVY87ip8KGZMZ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5i5Xpd2QdG7QaT6HpvRdQrZMy21vHpi8vcSYb+4jd4w=3D=3D?= X-Forefront-PRVS: 035748864E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39840400002)(39400400002)(39410400002)(39450400003)(7736002)(478600001)(53416004)(72206003)(38730400002)(110136004)(107886003)(42186005)(8656002)(50986999)(76176999)(36756003)(6512007)(53936002)(4326008)(25786009)(5003940100001)(6916009)(42882006)(2950100002)(66066001)(5009440100003)(6666003)(2351001)(2361001)(6486002)(6116002)(189998001)(305945005)(33646002)(5660300001)(81166006)(8676002)(3846002)(47776003)(1076002)(2906002)(50466002)(48376002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1716; H:jerin.domain.name; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1716; 23:tm7nk4C5kx3HDVI2VRjTOAr/81IAZBzSOTm6KbC?= =?us-ascii?Q?TYBJFltVpbRngAf3LeNLQeAG+NtocyuB0nJUBCgt8xG7F4iKEdPqIA7Tg4Cf?= =?us-ascii?Q?7ytHzDrdCc7wGR3aaXrp3QPkaZWcy6kIGSmIGd7M0qtT/vp6KTCZieMTjcTy?= =?us-ascii?Q?WQA06LYRvSDVyQJb4ZJuJQMXCilHTQZ1aMacgiNMoTYzhOM2UUc7ATvk3RmV?= =?us-ascii?Q?wRE0yACjlDVucmkujI5Fe1RW7w/XtZF+r7xNk2CROx6dUPp+XyZMRDVUnRt5?= =?us-ascii?Q?yhSdENJvtMvDXyOn1h3uxJt6zycWsY8Ryx1irkIBZblLQdvcAF7kgpC8rG0F?= =?us-ascii?Q?fKq2dJuSveSGNDWZUY/KfcfaTuoNFGeBafZCda6YtuWMTsKmAUdS9Cixb7kH?= =?us-ascii?Q?VwOw2MHyOeAVbwFcxbAGYyqqxBg6d7plZQrf/eU+BAnvU+LJ4S/4oAkcsNin?= =?us-ascii?Q?iO8XFh0WZI1LOOnDpZ2tYelmCgFJrfYOQzYmk3PSFkngqlNxuuoUL0hdAH2G?= =?us-ascii?Q?aK2lf4YBXMSI8M+4n1W3fYZmdvbxDkMZhYJSsf53jJryydlQji8PNZvtsOKm?= =?us-ascii?Q?un0fbBfq10/QD6W0ALk4WhDRSvSit2p619fjuqrAnj9VRselASHw5IsUgtyy?= =?us-ascii?Q?83MilSvwRkx+2nXE2ZtqfnVof+K+JyFc1Pkm96PEVcVRY8n7hSk8nIkoopsx?= =?us-ascii?Q?qppmtOrpC9n8cHaTG+tkYM+3mNDmPHt0kYs6k8EXB2Ta9gdkeKyZz2Wfquxg?= =?us-ascii?Q?ZCL0MKY/ZpyndXEMvL22Es/iJIao69VINecGlplgyVhJXDQp7ryJl2U8Bcy7?= =?us-ascii?Q?TRk61kxsRAfAVysXa6lJ/YtjmOWRdt5iYJUsVLyHedz45YWBLzNgLAE6k6/I?= =?us-ascii?Q?03UdZR1AI0XBc1kB3nwSM/oQIp7Nc/xNXOxTy1tuX5UDcMObi9DufGxk8zjs?= =?us-ascii?Q?SDMGTaBbYPP5AhuBRskaa81fhaNwQwXkHBkVggKkSjm/BGqjT59mw4rOlI8p?= =?us-ascii?Q?vjj8ftB4aTENTfdpPWHmiTHu9RVLUHrq5ojkLRpeqkmZkQPvCtnKFvwLcIvF?= =?us-ascii?Q?uISsAJjTQ29c8w61Lh7njGARpv6K2dmo1ujYJtwQLEKz9j/1XSgE8t2gPTxi?= =?us-ascii?Q?CUNRc4WOew8hIak0qINsOnbhGOIGAT0e2/s9gDXDhWL2HLFsAvcoc2g=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1716; 6:t8AtnHn6Pyq5NJF9ZRiWFx+tvZgPHCFTbS5o02q9?= =?us-ascii?Q?yuesfFuCMA2bNIo5ghmffFc+idmWpaPc4X/d8OUTfEZX3GPvVcLXn5FVucuY?= =?us-ascii?Q?o18Kew09eJe5C4kDa05FgB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0U7rItktNL87RHtUswFv2r9jfGvNujy6WfMgMqs9Pnj/WTRRxbi3XI4Cig4D/giYJ3IrtIp2rfR1WxjtTmlXGXiiix7SnZdXS1/Im3/V2SBB8uZBVbO8/KvP+nDvuheHLEqAJA49Y2UlUKMqwQvePg9WRoPfdiBAbNI2nIcmn1nx8DEOqBFvWQwmi9rgsNVNzB3JUXWSi4I1CkzpHtSgASczyAXfFP0jHeWMgg4veMz58pvLP61+BzVZK59KGA0XnKYFtp5ELncmFUtWwTTuG8c8DCeeZXNLY6IvG0YZ0WNmY0jVnazESuTUHrxoBYq9K2W1DTZ2JAN1lYbS3ossrMgEGWekWfTjDCox890sk6+oTpbdTOHBoaU1/qOBfCwUSmrPd9V5J4bJiIq3GFwBGI+FcrmgC7r1OzBaT2rcS2ybbY3XOMO8590wIQW4WBePfT8ERSXthNUTQCnIgbqCvCXO1nrAVUhK/B15sz8/rJbyWbS8XiPUtXcDWtIK3/qrA= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jul 2017 19:15:06.8866 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1716 Subject: [dpdk-dev] [PATCH v2 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: Mon, 03 Jul 2017 19:15:12 -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