From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mr29p60im-ztfb07101501.me.com (mr29p60im-ztfb07101501.me.com [17.120.80.168]) by dpdk.org (Postfix) with ESMTP id 00102235 for ; Tue, 24 Jul 2018 12:49:50 +0200 (CEST) Received: from process-dkim-sign-daemon.mr29p60im-ztfb07101501.me.com by mr29p60im-ztfb07101501.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) id <0PCD009009VS9Q00@mr29p60im-ztfb07101501.me.com> for users@dpdk.org; Tue, 24 Jul 2018 10:49:50 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=04042017; t=1532429390; bh=L4F6x44E9B7hPtzJH7H7AkGw1eHEPHmMCGI3eQV4fnQ=; h=To:From:Subject:Date:Message-id:Content-type:MIME-version; b=c/Vk8iqtkkspFsPayEyFxnq0yvYKOxP7KCy8LxeTHYrQzktooTFS4GRmZiKKsDPET OPEsGF/elB0+kzA1BYrniH/yOu0aMhgd9UPrAK1QO6f6E6zgePbGqgpDMUDoZ+8Q9n dvU8EYV1pcI/x7NlKgyP4Mb0M7hXM0Wspn9jG4+8XPRXM4Yu/B/ByVg5OQ6z2478BN EdG0h8+bentrYk0z8q7IP6pmuHxPURLbxGOYoD9BQoSL2kf9oKMso0Gj2GMmGwxCCp HZi3z8FN2OCSJqCrRgzliH4aPRkT9uA5RIMqC7HG9PJMXe+N0mBPY36Y7NPaIfOHAh sOMJXQTBu3vXA== Received: from localhost (mr29p60im-ztfb07064001.me.com [17.120.29.46]) by mr29p60im-ztfb07101501.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) with ESMTP id <0PCD00C3TA2ZDQ30@mr29p60im-ztfb07101501.me.com> for users@dpdk.org; Tue, 24 Jul 2018 10:49:48 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-07-24_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1015 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1807240115 To: "users@dpdk.org" From: Sivakiran Kodali Date: Tue, 24 Jul 2018 10:49:48 +0000 (GMT) X-Mailer: iCloud MailClient1813Project40 MailServer1813B14.27433-16A-3287-7ba2dcb07eb1 Message-id: <144dfe54-670c-4908-8f3e-3c9c8c8eeea6@me.com> MIME-version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] story of rte_memset() 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, 24 Jul 2018 10:49:52 -0000 Hello All,=0A=0AIve seen a couple of patches saying rte_memset() improves = performance when compared against=C2=A0=0Alibc's memset(). But i dont see = any rte_memset() code in the 17.11 tar ball. Did the patch went in ?=0AOr = is it just rte_memcpy() that is available ?=0A=0A=0AThanks=0ASivakiran K >From kandy_pal@yahoo.com Wed Jul 25 00:07:28 2018 Return-Path: Received: from sonic301-32.consmr.mail.ne1.yahoo.com (sonic301-32.consmr.mail.ne1.yahoo.com [66.163.184.201]) by dpdk.org (Postfix) with ESMTP id AF948239 for ; Wed, 25 Jul 2018 00:07:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1532470047; bh=MP6FhtT2JcDL5krIJtXEaK6FTdbQHG5Xin+vpsiIriI=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject; b=LZuRER90AxMPbJUL7hOqLdF6wXCjTW0naxAVJCie3/YPghCGqSDIbusMRI1niJKjqa+Tgl9/3m2uVpLmiBURUN/9HdDiSq7FSUIk9j59SIxSR1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SAoCC2SQyIr2I2_DfJtL5vC3y9q5PZrpClCbqOBrgg37eH5x0OOPif_Jv_yX2SXYhpvF096He efdwM3hcXt7qH7r539ZfrgxNW5i16Rr5mLit.uuVS8e3twMjavEkKTGaX1X.wBhsyral2xdMJiLa 45OQLc6V0KzwDJJrhXhw6kW0qkdFJhyvTParv Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Tue, 24 Jul 2018 22:07:27 +0000 Date: Tue, 24 Jul 2018 22:07:25 +0000 (UTC) From: Kandy Palanisamy To: "users@dpdk.org" , "Rosen, Rami" Message-ID: <31270285.1835622.1532470045443@mail.yahoo.com> In-Reply-To: <9B0331B6EBBD0E4684FBFAEDA55776F967336B0A@HASMSX110.ger.corp.intel.com> References: <441815769.67094.1532038944327.ref@mail.yahoo.com> <441815769.67094.1532038944327@mail.yahoo.com> <9B0331B6EBBD0E4684FBFAEDA55776F967336B0A@HASMSX110.ger.corp.intel.com> MIME-Version: 1.0 X-Mailer: WebService/1.1.12144 YMailNorrin Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] TestPMD: Unable to create TAP interface 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, 24 Jul 2018 22:07:28 -0000 Hello Rami, Thanks for your suggestion. The /dev/net/tun device is automatically created, if I just insmod the kern= el module 'tun' (I had not done that; that was the cause of the failure). A= fter that, the testpmd command to create tuntap is successful. Kandy On Monday, July 23, 2018, 12:38:36 PM PDT, Rosen, Rami wrote: =20 =20 Hi Kandy, What is the output of=20 ls -al /dev/net/tun=20 on that host ?=20 if it is empty, can you please try: mkdir /dev/net (if it doesn't exist already) mknod /dev/net/tun c 10 200 and then launch the same command you used for starting testpmd ?=20 See: https://www.kernel.org/doc/Documentation/networking/tuntap.txt Regards, Rami Rosen -----Original Message----- From: users [mailto:users-bounces@dpdk.org] On Behalf Of Kandy Palanisamy Sent: Friday, July 20, 2018 01:22 To: users@dpdk.org Subject: [dpdk-users] TestPMD: Unable to create TAP interface Hi, I tried to create a tap device using TestPMD as follows: =C2=A0=C2=A0=C2=A0=C2=A0 testpmd -l 0-3 -n 4 --vdev=3Dnet_tap0 -- -i But, I= get the error: PMD: Initializing pmd_tap for net_tap0 as dtap0 PMD: Unable to create TAP interface PMD: dtap0: tun_alloc() failed. Appreciate if someone could help what I am missing. Here is the complete log, and list of modules loaded and the ixgbe interfac= e bound to dpdk.=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D root@intel-corei7-64:/tmp# /usr/bin/testpmd -l 0-3 -n 4 --vdev=3Dnet_tap0 -= - -i EAL: Detected 16 lcore(s) EAL: Multi-process socket /var/run/.rte_unix EAL: Probing VFIO support... EAL: NUMA support not available consider that all memory is in socket_id 0 EAL: PCI device igb_uio 0000:04:00.0: uio device registered with irq 50 0000:04:00.0 on NUMA socket 0 EAL:=C2=A0=C2=A0 probe driver: 8086:15ac net_ixgbe EAL: PCI device 0000:04:00.1 on NUMA socket 0 EAL:=C2=A0=C2=A0 probe driver: 8086:15ac net_ixgbe EAL: PCI device 0000:0a:00.0 on NUMA socket 0 EAL:=C2=A0=C2=A0 probe driver: 8086:1533 net_e1000_igb PMD: Initializing pmd_tap for net_tap0 as dtap0 PMD: Unable to create TAP interface PMD: dtap0: tun_alloc() failed. PMD: TAP Unable to initialize net_tap0 vdev_probe(): failed to initialize net_tap0 device EAL: Bus (vdev) probe failed. Interactive-mode selected testpmd: create a new mbuf pool : n=3D171456, size=3D21= 76, socket=3D0 testpmd: preferred mempool ops selected: ring_mp_mc Warning! port-topology=3Dpaired and odd forward ports number, the last port= will pair with itself. Configuring Port 0 (socket 0) Port 0: 00:13:95:2B:DC:7E Checking link statuses... Done testpmd>=20 root@intel-corei7-64:/tmp# lsmod Module=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Size=C2=A0 Used by rte_kni=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 20480=C2=A0 0 igb_uio=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 16384=C2=A0 0 uio=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 16384=C2=A0 1 igb_uio 8021q=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 24576=C2=A0 0 nfc=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 69632=C2=A0 0 bnep=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 20480=C2=A0 2 intel_rapl=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 20480=C2=A0 0 igb=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 167936=C2=A0 0 ixgbe=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 249856=C2=A0 0 mei_me=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 28672=C2=A0 0 x86_pkg_temp_thermal=C2=A0=C2=A0=C2=A0 16384=C2=A0 0 intel_powerclamp=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 16384=C2=A0 0 mei=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 61440=C2=A0 1 mei_me mdio=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 16384=C2=A0 1 ixgbe coretemp=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 16384=C2=A0 0 root@intel-corei7-64:/tmp# root@intel-corei7-64:/tmp# root@intel-corei7-64:/tmp# dpdk-devbind --status Network devices using DPDK-compatible driver =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D 0000:04:00.0 'Ethernet Connection X552 10 GbE SFP+ 15ac' drv=3Digb_uio unus= ed=3Dixgbe Network devices using kernel driver =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 0000:04:00.1 'Ethernet Connection X552 10 GbE SFP+ 15ac' if=3Deth2 drv=3Dix= gbe unused=3Digb_uio 0000:0a:00.0 'I210 Gigabit Network Connection 1533' if=3Deth0 drv=3Digb unu= sed=3Digb_uio *Active* ::Thanks for your help,Kandy =20 >From ubndra@gmail.com Wed Jul 25 01:25:24 2018 Return-Path: Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) by dpdk.org (Postfix) with ESMTP id 4770B98 for ; Wed, 25 Jul 2018 01:25:24 +0200 (CEST) Received: by mail-lj1-f170.google.com with SMTP id q5-v6so5039315ljh.12 for ; Tue, 24 Jul 2018 16:25:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=bKqWsTl77XjGlyv4/Zjy5mLeX1dwRGDYdHA+qmeFDHk=; b=mVLm2Y4cLMCEXaYiuF2wVrussP+gNLuZJu/TzYhj/x7XZ9FGcAZD6VD1owM/swEqmk 8Ressgw4DRNHbFsWssgkleGXQAcCs7oUXvSQYcOggt3x3JglUXLf9dvpPywYBIzu49Qm DU/7y9yIkrXQi8h1Gx13EDBRNpzqEoHe1LykpRgIHc1w9eJpx2oDpOhaT2//NKNSQv+b AF+VHspIo/XjFAZvzWPMveZPibFZwOx8dsIM+7RmPDvSeycM2wCkzQBacbcSf36rLBIO 3vaP0CXqCkRs1vQk+SF4GrpAh7cmP4pXdFbGxcFNd0qSknPfEU5XhSq7inSjSYOr0K0E zeXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=bKqWsTl77XjGlyv4/Zjy5mLeX1dwRGDYdHA+qmeFDHk=; b=jVRNJ1mPWmmps+5GahrYrXo8mVU57Xye4F5I/gxkYdDhQ6jJ+23eLAuj6Z9OOArW8Q USND75jOyQFTdo81LFyGSfEnhQ3YpVY7XAUIw0mF2tsLCC+nfowzw7H/EZdVv38YWz7C q+tpLlADwKsfA9UMzb7AF2v9rqiew9/Cz/Kg/czwfK3yAxINpf7fLvruGP7ny1yA//wY XPOTVwyeu2F1cBqIPjwN0GICOhFW3YLS53tUTPk5SaY9ba2YxCwmFMlRyF/oDKMTICpo IByjq7TDKpl5jQ05F9TgE5Z0yn+DMndE8tOmqKCgRv/6UP+GG6m/ik3rXrbVpSLDCPPv hDAA== X-Gm-Message-State: AOUpUlFu6fUyLyAIen1KXKMpX/WXUOQFDGqHorB/0p85GLNLSeA2/2FK vC/MGOXdQuAdNim9VCz8nLbucxZGZyXRSF+L8dB8OaDkRKgv8Q== X-Google-Smtp-Source: AAOMgpfP0LxtHsJWRbU7Yzuo+p0v8E2cDzcSmlZYiel2XVDtQuiN9k86mGb5gPMkz5eT/tr4G2f2Oe0mR/aT09KjAW0= X-Received: by 2002:a2e:9bc9:: with SMTP id w9-v6mr13054918ljj.33.1532474723732; Tue, 24 Jul 2018 16:25:23 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a2e:302:0:0:0:0:0 with HTTP; Tue, 24 Jul 2018 16:25:23 -0700 (PDT) From: Uditha Bandara Date: Wed, 25 Jul 2018 09:25:23 +1000 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] pktgen run.py error: NameError: name 'false' is not defined 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, 24 Jul 2018 23:25:24 -0000 Hi, I'm trying to install Pktgen on a system running Linux Mint 18.1 Serena. I followed the steps given in: http://pktgen-dpdk.readthedocs.io/en/latest/getting_started.html When I executed "./tools/run.py -s default" I am getting the following error. uditha@udithapc ~/sandbox/pktgen/pktgen-dpdk $ ./tools/run.py -s default >>> sdk '/home/uditha/sandbox/pktgen/dpdk', target 'x86_64-native-linuxapp-gcc' Traceback (most recent call last): File "./tools/run.py", line 361, in main() File "./tools/run.py", line 358, in main setup_cfg(cfg_file) File "./tools/run.py", line 219, in setup_cfg cfg = load_cfg(cfg_file) File "./tools/run.py", line 119, in load_cfg cfg = imp.load_source('cfg', '', f) File "", line 1, in NameError: name 'false' is not defined I have tried cleaning up the files and a re-install but getting the same error. Does any of the config files needed to be edited before this step? Thanks in advance! Regards, Uditha