From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 0BE44A0679 for ; Thu, 4 Apr 2019 16:09:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C4C9D1B3FB; Thu, 4 Apr 2019 16:09:13 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 2E3421B3D8 for ; Thu, 4 Apr 2019 16:09:12 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Apr 2019 07:09:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,308,1549958400"; d="scan'208";a="158206285" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga002.fm.intel.com with ESMTP; 04 Apr 2019 07:09:10 -0700 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 4 Apr 2019 07:09:10 -0700 Received: from fmsmsx117.amr.corp.intel.com ([169.254.3.142]) by fmsmsx124.amr.corp.intel.com ([169.254.8.86]) with mapi id 14.03.0415.000; Thu, 4 Apr 2019 07:09:10 -0700 From: "Wiles, Keith" To: "hyperhead@gmail.com" CC: "users@dpdk.org" Thread-Topic: =?koi8-r?Q?[dpdk-users]_pktgen-dpdk_failed_build_"=81/usr/bin/ld:_cannot_?= =?koi8-r?Q?find_-llua'?= Thread-Index: AQHU6eom4lkOvsqeek2TmhUY7+D+y6Yq2yMAgAEtpQCAAHitgA== Date: Thu, 4 Apr 2019 14:09:09 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.102.28] Content-Type: text/plain; charset="koi8-r" Content-ID: <79FC10670FC0AA41A6AE799045E0C8AE@intel.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] =?koi8-r?b?cGt0Z2VuLWRwZGsgZmFpbGVkIGJ1aWxkICKBL3Vz?= =?koi8-r?b?ci9iaW4vbGQ6IGNhbm5vdCBmaW5kIC1sbHVhJw==?= 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: , Errors-To: users-bounces@dpdk.org Sender: "users" > On Apr 4, 2019, at 1:57 AM, .. wrote: >=20 > Hi Keith, >=20 > Ok will upgrade to latest version. >=20 > Is there much documentation of creating custom payloads with dpdk-pktgen? You have three modes sequence, range and pcap. Sequence mode allows changing for the L2/L3 and some L4 fields. 16 packets = per port are available. range mode allows changing L2/L3 fields and create ranges for theses packet= s. pcap mode allows you send any type of packets via a pcap file. >=20 > Have you any opinions on Warp17 from Juniper the dpdk stateful packet gen= erator? I have not looked at the Warp17 >=20 > Regards >=20 > Roland >=20 > On Wed, 3 Apr 2019 at 14:57, Wiles, Keith wrote: > Please update to the latest Pktgen, I believe I was able to fix the build= system for CentOS. >=20 > > On Apr 3, 2019, at 1:54 AM, .. wrote: > >=20 > > Hi dpdk-users! > >=20 > > OS: CentOS Linux release 7.0.1406 (Core) > > Kernel : 3.10.0-123.el7.x86_64 > >=20 > > I am trying to build dpdk-pktgen (I chose version 3.6.1 with dpdk 18.08= ). > > Whenever I build I get this error: > >=20 > > [root@ipservera pktgen-dpdk-pktgen-3.6.1]# make -j > > =3D=3D lib > > =3D=3D common > > =3D=3D utils > > =3D=3D vec > > =3D=3D lua > > =3D=3D cli > > =3D=3D app > > LD pktgen > > /usr/bin/ld: cannot find -llua > > collect2: error: ld returned 1 exit status > > make[2]: *** [pktgen] Error 1 > > make[1]: *** [all] Error 2 > > make: *** [app] Error 2 > >=20 > > As it is Centos, I followed the instructions for building lua 5.3.2 via= the > > INSTALL.md notes with the pktgen install notes and also copied the > > generated libraries as per documentation: > >=20 > > # ls -l /usr/lib64/ | grep liblua > > -rwxr-xr-x 1 root root 193864 Nov 6 2016 liblua-5.1.so > > -rw-r--r-- 1 root root 442084 Apr 1 12:46 liblua-5.3.a > > -rwxr-xr-x 1 root root 260977 Apr 1 12:46 liblua-5.3.so > > # lua -v > > Lua 5.3.2 Copyright (C) 1994-2015 Lua.org, PUC-Rio > >=20 > > # luac -v > > Lua 5.3.2 Copyright (C) 1994-2015 Lua.org, PUC-Rio > >=20 > > Dpdk install details: > > ---------------------------- > > # echo $RTE_SDK > > /usr/local/share/dpdk > >=20 > > # echo $RTE_TARGET > > x86_64-native-linuxapp-gcc > >=20 > > # ls -l /usr/local/share/dpdk > > total 24 > > drwxr-xr-x 3 root root 4096 Aug 9 2018 buildtools > > drwxr-xr-x 50 root root 4096 Aug 9 2018 examples > > drwxr-xr-x 8 root root 4096 Aug 9 2018 mk > > drwxrwxr-x 14 root root 4096 Apr 3 06:39 pktgen-dpdk-pktgen-3.6.1 > > drwxr-xr-x 2 root root 4096 Aug 9 2018 usertools > > drwxr-xr-x 3 root root 4096 Oct 10 18:25 x86_64-native-linuxapp-gcc > >=20 > > I have never used pktgen -dpdk before against a dpdk application target= . I > > have another dpdk server running a reflector application we developed, = but > > I used the standard Linux kernel pktgen and commercial software fpga ni= cs > > to fire traffic at it, but I would now like to try with pktgen-dpdk. > >=20 > > Thanks > >=20 > > Roland >=20 > Regards, > Keith >=20 Regards, Keith