From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f54.google.com (mail-vk0-f54.google.com [209.85.213.54]) by dpdk.org (Postfix) with ESMTP id 953041B562 for ; Wed, 11 Jul 2018 16:26:20 +0200 (CEST) Received: by mail-vk0-f54.google.com with SMTP id 125-v6so14513324vke.11 for ; Wed, 11 Jul 2018 07:26:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0PhRwJ4A3JrUUbhu3nYG7SmCec6d+hOi5nko+533dkY=; b=jyeTlnwqr+pJFPo/GycbVDwPKTyp7cNe2UVL/+2RAQilXXPZayVIkhy6kfe3k2brlr SGUmLUfG7gmb6POjxk7mXE8Y0bWShxrBVxivT5Fng1BVmaIzjDJN8QHf0saYnOcheLvv dQpWJ494vi2h/TPnusp6w0xU2Xef0E8IVJczN6rJnkm3kRo63vcRnxOoppjBXNr43Epa puDLvksMcWhyHY+FVEgBEeYKCTucmwbndIE04g2i9xLNZXJfTTOtenhtfDwYHvEWO6al YrS2uH7j8CObEY7jwfb5LuXllBMg6O9uAQLW021csyiNtDYslK7o2tO8P3D9jHyGA9I0 cn6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0PhRwJ4A3JrUUbhu3nYG7SmCec6d+hOi5nko+533dkY=; b=gHNwY9PQQfehY68EZiSIs6JX75edvq9v1hbC0ldonE2QFngvwuIwJZs3nsi4/Q5XPK AfQX00b45knddIJCTogJgjzONSvTfP6afF8AMI+08Y9zgEIpS2quAmPedcgUwe0br8Lm eczOd2eMhEuHiizMUxJYaN5hXA7H3L7WNfXl5K1ISTwN6L8Q8Poxoc4thx9+6Hf4+/M8 qxR2WckHQ99ae0wLoWmxtB0aBJpxVMDg4PojL7ThuLmwHXq0CCekFffYGqxORx7X+JWp j0YY9+TV4XYj4iPaid3mu2r4ZwFuuJbP8bjNuZceLAuicn3TD00JlaBbjWNFhb8YcaWZ pCFA== X-Gm-Message-State: AOUpUlHJzlAcdzPGia2TuMJe7uetIxjthFYZWn2ffrWBbDZYjgwc67Xy eaj2GH+1xN63pL+hHrD8jXmL8Sc+ZPizlrEluwk= X-Google-Smtp-Source: AAOMgpfmldVsMaLdMqjOZHaTqoa/ypnZAzufuqYv5pDTW8y3xyeW23jmicol1f+3JWTie0TtrSMi5J1lEEqHZv+CqO8= X-Received: by 2002:a1f:5347:: with SMTP id h68-v6mr1525074vkb.141.1531319179805; Wed, 11 Jul 2018 07:26:19 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a67:82d2:0:0:0:0:0 with HTTP; Wed, 11 Jul 2018 07:26:19 -0700 (PDT) In-Reply-To: <82B9D0A3-B5C3-4A36-8EDB-20BCA37DF910@intel.com> References: <17AE2F7F-BFE6-4E00-B9E1-19F6685AFB95@intel.com> <82B9D0A3-B5C3-4A36-8EDB-20BCA37DF910@intel.com> From: khemendra kumar Date: Wed, 11 Jul 2018 19:56:19 +0530 Message-ID: To: "Wiles, Keith" Cc: "dev@dpdk.org" , Sirshak Das , Brian Brooks Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [Dpdk-pktgen]dpdk pktgen build failed on x86 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: Wed, 11 Jul 2018 14:26:20 -0000 Hi Keith, Thanks for your quick help. I am new to Pktgen and DPDK :( Now I tried with DPDK18.02 version with Pktgen of 3.5.0 version. This works on my x86 machine :) Further I can use Pktgen 3.5.2 with DPDK 18.02. as you suggested. Now I am trying *Pktgen on ARM machine*. I am using *DPDK 18.02 and Pktgen3.5* stable. But I met below error: testuser@huawei-2:~/khem/VPP_Profile_setup/pktgen-3.5.0$ sudo make RTE_SDK=3D/home/testuser/khem/VPP_Profile_setup/dpdk-stable-18.02.2 /home/testuser/khem/VPP_Profile_setup/dpdk-stable-18.02.2/mk/internal/ rte.extvars.mk:29: *** Cannot find .config in /home/testuser/khem/VPP_Profile_setup/dpdk-stable-18.02.2/x86_64-native-lin= uxapp-gcc. Stop. I will check with Pktgen 3.5.2 also further. Just to clarify my use case, I want to use *Pktgen as TG for send traffic to VPP.* *Both Pktgen and VPP will be running on 2 ARM machines (ARMv8).* Thanks & Regards Khem On Wed, Jul 11, 2018 at 7:47 PM, Wiles, Keith wrote= : > > > > On Jul 11, 2018, at 8:21 AM, Wiles, Keith wrote= : > > > > > > > >> On Jul 11, 2018, at 6:47 AM, khemendra kumar < > khemendra.kumar13@gmail.com> wrote: > >> > >> Hi All, > >> > >> Kindly help to check below compile error in DPDK Pkt-gen on x86. > >> > >> I am following instructions from " > >> http://pktgen-dpdk.readthedocs.io/en/latest/getting_started.html" > >> > >> *Below cmd I followed:* > >> sudo make config T=3Dx86_64-native-linuxapp-gcc > >> sudo make > >> > >> sudo make install > >> sudo make RTE_SDK=3D/home/root1/khem/dpdk > >> > >> *Below is error log:* > >> INSTALL-APP dpdk-test-eventdev > >> INSTALL-MAP dpdk-test-eventdev.map > >> Build complete [x86_64-native-linuxapp-gcc] > >> root1@compute-201:~/khem/dpdk$ sudo make install > >> make[1]: Nothing to be done for 'pre_install'. > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Installing /usr= /local/ > >> Installation in /usr/local/ complete > >> root1@compute-201:~/khem/dpdk$ cd ../pktgen-dpdk/ > >> root1@compute-201:~/khem/pktgen-dpdk$ sudo make > >> RTE_SDK=3D/home/root1/khem/dpdk > >> =3D=3D lib > >> =3D=3D common > >> =3D=3D lua > >> =3D=3D src > >> =3D=3D cli > >> =3D=3D app > >> CC cli-functions.o > >> In file included from /home/root1/khem/pktgen-dpdk/app/pktgen.h:87:0, > >> from /home/root1/khem/pktgen-dpdk/ > app/cli-functions.c:28: > >> /home/root1/khem/pktgen-dpdk/app/pktgen-port-cfg.h: In function > >> =E2=80=98rte_eth_txconf_dump=E2=80=99: > >> /home/root1/khem/pktgen-dpdk/app/pktgen-port-cfg.h:289:5: error: > =E2=80=98struct > >> rte_eth_txconf=E2=80=99 has no member named =E2=80=98txq_flags=E2=80= =99 > >> tx->txq_flags); > > > > Looks like you are using the HEAD of DPDK and that has changed for > 18.08. use 18.05 version of DPDK for pktgen if you can. Pktgen and your > application do not need to use the same version of DPDK unless you need > some specific features in DPDK for Pktgen. > > > > I pushed a new version of Pktgen 3.5.2 that works back to at least DPDK > version 18.02. > > >> ^ > >> /home/root1/khem/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for > target > >> 'cli-functions.o' failed > >> make[2]: *** [cli-functions.o] Error 1 > >> /home/root1/khem/dpdk/mk/rte.extapp.mk:19: recipe for target 'pktgen' > failed > >> make[1]: *** [pktgen] Error 2 > >> /home/root1/khem/dpdk/mk/rte.extsubdir.mk:21: recipe for target 'app' > failed > >> make: *** [app] Error 2 > >> root1@compute-201:~/khem/pktgen-dpdk$ > >> > >> Thanks & Regards > >> khem > > > > Regards, > > Keith > > Regards, > Keith > >