From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 419F62BB8 for ; Tue, 26 Feb 2019 12:28:04 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Feb 2019 03:28:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,415,1544515200"; d="scan'208";a="119182164" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by orsmga006.jf.intel.com with ESMTP; 26 Feb 2019 03:28:02 -0800 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.185]) by IRSMSX103.ger.corp.intel.com ([169.254.3.199]) with mapi id 14.03.0415.000; Tue, 26 Feb 2019 11:28:01 +0000 From: "Trahe, Fiona" To: Changchun Zhang , "users@dpdk.org" Thread-Topic: [dpdk-users] Guide on DPDK test command Thread-Index: AQHUzWYrVaZ1gUSkPkihREz9IIW5jaXx7VSw Date: Tue, 26 Feb 2019 11:28:01 +0000 Message-ID: <348A99DA5F5B7549AA880327E580B435896F7EB7@IRSMSX101.ger.corp.intel.com> References: In-Reply-To: Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZGVkMDViZjUtNTE0YS00NTE1LTg4OGEtNzVjYWM0ZGY1ZmQyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiY3V3NlJhNzlPYkl1VmV5SDhzYkV2d0hpYndnY00rZ1BVZ2JSZVZPYk5yZUQ5QmdsVHRXNWpETHJaNUkramdDXC8ifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] Guide on DPDK test command X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2019 11:28:04 -0000 Hi > -----Original Message----- > From: users [mailto:users-bounces@dpdk.org] On Behalf Of Changchun Zhang > Sent: Monday, February 25, 2019 11:58 PM > To: users@dpdk.org > Subject: [dpdk-users] Guide on DPDK test command >=20 > Hi Gurus, >=20 >=20 >=20 > It is seen that the dpdk provides unit test tool for many dpdk functional= ity, in the folder test/, like > test_crytodev.c. These files contain the callback functions and the data = structures for test command. >=20 > Does any guy know how to use these test functions and is there any guides= ? [Fiona] I don't know of a guide, but what I do is: set up hugepages, e.g. by using ./usertools/dpdk-setup.sh make test-build -j cd build/app ./test -n1 -l2 >crypto... (tab will autocomplete and you can see which test suites are ava= ilable, e.g. cryptodev_null_autotest will run on the NULL pmd) For most other PMDs which depend on external libs you'll need to ensure you= have the lib installed on your platform. And enable the build in the confi= g file. Instructions specific to each PMD are here: http://doc.dpdk.org/guides/cryptodevs/index.html