Re: [dpdk-users] Temperature of CPU when running DPDK App

2018-03-28 Thread Wiles, Keith
> On Mar 28, 2018, at 6:08 AM, Vincent Jardin wrote: > > Did you try interrupt mode ? > Also look at rte_pause() while you detect nothing to do before going back to interrupt mode can help too. > Regards, Keith

Re: [dpdk-users] Using memzone for sharing memory

2018-05-08 Thread Wiles, Keith
> On May 6, 2018, at 7:04 AM, hom.sepa...@gmail.com wrote: > > Hi everyone. I was wondering if the virtual address of memzones remains the > same across different processes. The memzone docs mention the same physical > address is returned but there is no mention of the virtual address. A > littl

Re: [dpdk-users] Pktgen - specifying a single selected queue for Tx

2018-05-08 Thread Wiles, Keith
> On May 8, 2018, at 5:06 PM, Kevin Wilson wrote: > > Hello all, > Is it possible to configure dpdk-pktgen to send traffic on a specified > single selected Tx Queue (and perform transmit only on that queue) ? > For example, specifying queue 1 of port 1 for Tx (meaning all other > queues of that

Re: [dpdk-users] Found 0 usable devices

2018-05-21 Thread Wiles, Keith
> On May 21, 2018, at 4:37 AM, Milad Arabi wrote: > > Hi there > I try to with dpdk 17.08 on centos7.5 with other library,but I got this: > >> [INFO] Initializing DPDK. This will take a few seconds... >> EAL: Detected 16 lcore(s) >> EAL: Probing VFIO support... >> EAL: PCI device :0b:00.0

Re: [dpdk-users] Found 0 usable devices

2018-05-21 Thread Wiles, Keith
his is a Eng-Sample NIC, is it? If it is then we have to find someone to program the EPROM to setup the NIC. That is about all I know. any comment would be appreciated On Mon, May 21, 2018 at 5:26 PM, Wiles, Keith mailto:keith.wi...@intel.com>> wrote: > On May 21, 2018, at 4:37

Re: [dpdk-users] Found 0 usable devices

2018-05-21 Thread Wiles, Keith
, guess its back to google for passthru NICs in VMWare or how to set the NIC MAC address in VMWare. On Mon, May 21, 2018 at 8:55 PM, Wiles, Keith mailto:keith.wi...@intel.com>> wrote: On May 21, 2018, at 11:16 AM, Milad Arabi mailto:milad.ar...@gmail.com>> wrote: Hi Keith Thank yo

Re: [dpdk-users] Found 0 usable devices

2018-05-21 Thread Wiles, Keith
s back to google for passthru NICs in VMWare or how to set the NIC MAC address in VMWare. > > On Mon, May 21, 2018 at 8:55 PM, Wiles, Keith wrote: > > >> On May 21, 2018, at 11:16 AM, Milad Arabi wrote: >> >> Hi Keith >> Thank you for your reply. >> C

Re: [dpdk-users] TAP-PMD & tap-device PPS via Kernel

2018-05-29 Thread Wiles, Keith
> On May 29, 2018, at 11:12 AM, Giridharan, Ganesan > wrote: > > Good morning. Would like to know some numbers, especially PPS, using TAP > device and TAP PMD combo to fetch packets to DPDK application. Wondering do > those numbers change as Hypervisor platforms change? Assuming the resourc

Re: [dpdk-users] generate ipv6 packets with pktgen

2018-06-16 Thread Wiles, Keith
> On Jun 15, 2018, at 6:52 PM, Stefano Salsano > wrote: > > Hi all, > > I need to generate IPv6 packets with pktgen, but I am NOT able to set the > IPv6 src and dst address > > when I only change the packet type of port 0 to IPv6 > > Pktgen:/> set 0 type ipv6 > Pktgen:/> start 0 > > pktg

Re: [dpdk-users] MIA and Keep Alive

2018-06-16 Thread Wiles, Keith
> On Jun 16, 2018, at 12:13 PM, Kevin Wilson wrote: > > Hi all, > > A short question about Keep Alive: according to the > "Sample Application User Guide": > ... > Cores states are: Alive, MIA, Dead or Buried. MIA indicates a missed > ping, and Dead indicates two missed pings within the specifi

Re: [dpdk-users] error running two instances of pktgen

2018-06-28 Thread Wiles, Keith
> On Jun 28, 2018, at 3:53 AM, Stefano Salsano > wrote: > > Il 2018-06-28 10:32, Muhammad Zain-ul-Abideen ha scritto: >> I think it is some sort of cli command issue now, like socket-mem or >> blacklisting the port. >> Adding Keith Wiles, the father of pktgen > > thank you Muhammad, here is

Re: [dpdk-users] error running two instances of pktgen

2018-06-28 Thread Wiles, Keith
> On Jun 28, 2018, at 3:53 AM, Stefano Salsano > wrote: > > Il 2018-06-28 10:32, Muhammad Zain-ul-Abideen ha scritto: >> I think it is some sort of cli command issue now, like socket-mem or >> blacklisting the port. >> Adding Keith Wiles, the father of pktgen > > thank you Muhammad, here is

Re: [dpdk-users] problem using two ports with pktgen-dpdk

2018-06-28 Thread Wiles, Keith
> On Jun 28, 2018, at 4:45 AM, Stefano Salsano > wrote: > > Hi, > > I'm now simply trying to use two ports in a single pktgen-dpdk instance > (maybe I do not need the two instances...), but still I have a problem > > Pktgen Ver: 3.5.1 (DPDK 18.08.0-rc0) > Powered by DPDK ** Version: DPDK 18

Re: [dpdk-users] Traffic doesn't forward on virtual devices

2018-07-05 Thread Wiles, Keith
> On Jul 5, 2018, at 9:53 AM, Bala Sankaran wrote: > > Greetings, > > I am currently using dpdk version 17.11.2. I see that there are a few other > revisions in 17.11.3, followed by the latest stable version of 18.02.2. > > Based on the issues I have faced so far (see Original > Message b

Re: [dpdk-users] Problem profiling DPDK

2018-07-16 Thread Wiles, Keith
Sent from my iPhone > On Jul 16, 2018, at 1:11 AM, 이지수 wrote: > > Hi, > > I have some issues with receiving 60bytes size packets without loss, so > used perf tools to see what's happening. > > I built DPDK and application which I'm using (DPDK-pktgen) with proper > options for debugging (-g,

Re: [dpdk-users] pktgen run.py error: Config file 'default' not found

2018-07-17 Thread Wiles, Keith
> On Jul 16, 2018, at 11:09 PM, Zhao Chang wrote: > > Hi, I want to run pktgen on my VMware virtual machine. I followed Getting > Started with Pktgen > and when > I executed run.py it shows an empty list of config files. Then I

Re: [dpdk-users] pktgen run.py error: NameError: name 'false' is not defined

2018-07-24 Thread Wiles, Keith
> On Jul 24, 2018, at 6:25 PM, Uditha Bandara wrote: > > Hi, > > I'm trying to install Pktgen on a system running Linux Mint 18.1 Serena. > I followed the steps given in: Which version of Pktgen are you using, seems like the latest version. > > http://pktgen-dpdk.readthedocs.io/en/latest/g

Re: [dpdk-users] pktgen run.py error: NameError: name 'false' is not defined

2018-07-25 Thread Wiles, Keith
> On Jul 24, 2018, at 7:21 PM, Wiles, Keith wrote: > > > >> On Jul 24, 2018, at 6:25 PM, Uditha Bandara wrote: >> >> Hi, >> >> I'm trying to install Pktgen on a system running Linux Mint 18.1 Serena. >> I followed the steps given in: &

Re: [dpdk-users] pktgen run.py error: NameError: name 'false' is not defined

2018-07-25 Thread Wiles, Keith
Wed, Jul 25, 2018 at 10:21 AM, Wiles, Keith mailto:keith.wi...@intel.com>> wrote: > On Jul 24, 2018, at 6:25 PM, Uditha Bandara > mailto:ubn...@gmail.com>> wrote: > > Hi, > > I'm trying to install Pktgen on a system running Linux Mint 18.1 Serena. > I follow

Re: [dpdk-users] pktgen run.py error: NameError: name 'false' is not defined

2018-07-25 Thread Wiles, Keith
erved the same errors. > > RTE_SDK and RTE_TARGET environment variables are set as explained on > http://pktgen-dpdk.readthedocs.io/en/latest/getting_started.html > > Thanks, > Uditha > > On Wed, Jul 25, 2018 at 10:21 AM, Wiles, Keith wrote: > > > > On Jul 24, 201

Re: [dpdk-users] Client-Hello

2018-08-10 Thread Wiles, Keith
> On Aug 10, 2018, at 11:17 AM, Konstantinos Schoinas wrote: > > Hello everyone, > > I have built an application that does DPI(Deep packet insepction) in the > Client-Hello message during the tls session, extracts the SNI from the packet > and then if the SNI is a forbidden name then i block

Re: [dpdk-users] [ptkgen-dpdk] Only can send a few packets and stopped.

2018-08-13 Thread Wiles, Keith
> On Aug 13, 2018, at 6:01 AM, Vic Wang(BJ-RD) wrote: > > Hi, > When I run pktgen-dpdk on computer A and run dpdk on computer B, the > pktgen can only send a few packets( about one second) and stopped. > The command on A side is ./tools/pktgen-run.sh. > I modified some line

Re: [dpdk-users] [ptkgen-dpdk] Only can send a few packets and stopped.

2018-08-13 Thread Wiles, Keith
not up or is going up and down. If you can loop the cable back to the same machine to a different port (if you have two ports). Best Regards! VicWang ____ 发件人: Wiles, Keith mailto:keith.wi...@intel.com>> 发送时间: 2018年8月13日 21:18 收件人: Vic Wang(BJ-RD) 抄送: users@dp

Re: [dpdk-users] [ptkgen-dpdk] Only can send a few packets and stopped.

2018-08-14 Thread Wiles, Keith
have a problem as it does not work in testpmd and pktgen. To me this is not a pktgen problem but a problem with something else. The only other thing I can suggest is trying the latest 18.08 release for pktgen and see if that works. Best Regards! VicWang 发件人: Wiles, Keith [mailto:keith.wi...@intel.com

Re: [dpdk-users] [ptkgen-dpdk] Only can send a few packets and stopped.

2018-08-14 Thread Wiles, Keith
much I think and it could have a problem as it does not work in testpmd and pktgen. To me this is not a pktgen problem but a problem with something else. The only other thing I can suggest is trying the latest 18.08 release for pktgen and see if that works. Best Regards! VicWang 发件人: Wiles,

Re: [dpdk-users] [ptkgen-dpdk] Only can send a few packets and stopped.

2018-08-15 Thread Wiles, Keith
tion. I find a way to make pktgen > work. Thank you very much. > > Best Regards. > Vic > 发件人: Wiles, Keith [mailto:keith.wi...@intel.com] > 发送时间: 2018年8月14日 22:46 > 收件人: Vic Wang(BJ-RD) > 抄送: users@dpdk.org > 主题: Re: [dpdk-users] [ptkgen-dpdk] Only can send a few pack

Re: [dpdk-users] Invalid NUMA socket

2018-08-26 Thread Wiles, Keith
> On Aug 26, 2018, at 1:04 AM, waqas ahmed wrote: > > Hi everyone, > we have dual socket xeon cpu, and we have intel 52899 10g nic having pci > address :05:00.0. while running helloworld app EAL log tells that this > device is found on numa socket -1 ! it should be found on either numa no

Re: [dpdk-users] Invalid NUMA socket

2018-08-26 Thread Wiles, Keith
et 0 > hello from core 2 on socket 0 > hello from core 3 on socket 0 > hello from core 4 on socket 1 > hello from core 5 on socket 1 > hello from core 6 on socket 1 > hello from core 7 on socket 1 > hello from core 0 on socket 0 > ---

Re: [dpdk-users] ring vdev and secondary process

2018-09-03 Thread Wiles, Keith
> On Sep 3, 2018, at 3:40 PM, Tom Barbette wrote: > > Hi all, > > > I'm trying to use virtual devices (ring-based PMD, but the underlying system > does not matter) between two DPDK processes. > > > But when I launch the secondary process, I get "RING: Cannot reserve memory". > I modified

Re: [dpdk-users] Using dpdk libraries without EAL

2018-09-10 Thread Wiles, Keith
> On Sep 10, 2018, at 3:20 AM, Charles Ju wrote: > > Hi, > > I have developed my own packet capture code and would like to just use the > dpdk libraries such as the ACL Library and mempool libraries. In this case, > does these libraries require the EAL? There is a number of dependences with

Re: [dpdk-users] Does ring library and mempool library require HUGEPAGE?

2018-09-10 Thread Wiles, Keith
> On Sep 10, 2018, at 4:40 AM, Charles Ju wrote: > > I want to use dpdk ring library and mempool library in my application > without EAL. Does the ring library allocate memory from user space? Does > the kernel need HGETBLFS etc if I just want to use ring library and mempool > to allocate memo

Re: [dpdk-users] dpdk and bulk data (video/audio)

2018-09-10 Thread Wiles, Keith
> On Sep 10, 2018, at 6:28 AM, Sofia Baran wrote: > > > Hi All, > > I want/try to us DPDK for transferring larger amount of data, e.g. video > frames which usually are stored within memory buffers with sizes of several > MB (remark: by using huges pages, these buffers could be physically

Re: [dpdk-users] Too much data being sent with small packet and IXGBE

2018-09-10 Thread Wiles, Keith
> On Sep 10, 2018, at 1:51 PM, terry.montague.1...@btinternet.com wrote: > > Hi there, > I'm trying to send a single IGMP control packet out of an Intel X550 to its > connected router. > I've looked at the packet in wireshark and its absolutely fine, the ethernet > header, the ip header, the

Re: [dpdk-users] DPDK application as a library

2018-09-11 Thread Wiles, Keith
> On Sep 11, 2018, at 5:49 AM, Amedeo Sapio wrote: > > Dear all, > I am writing a program that uses dpdk. I wrote the program based on the > dpdk examples, in particular using the Makefile provided in the examples. > If i compile the program as an APP (as describe here >

Re: [dpdk-users] How to use software prefetching for custom structures to increase throughput on the fast path

2018-09-11 Thread Wiles, Keith
> On Sep 11, 2018, at 3:15 AM, Arvind Narayanan wrote: > > Hi, > > I am trying to write a DPDK application and finding it difficult to achieve > line rate on a 10G NIC. I feel this has something to do with CPU caches and > related optimizations, and would be grateful if someone can point me t

Re: [dpdk-users] How to use software prefetching for custom structures to increase throughput on the fast path

2018-09-11 Thread Wiles, Keith
e the CPU core used from the > kernel for fast-path, hence this core is fully dedicated to the fast-path > pipeline. > > The only time when the performance bumps from 7.7G to ~8.4G (still not close > to 10G/100%) is when I add flags such as MEMPOOL_F_NO_SPREAD or > MEMPOOL_F_NO

Re: [dpdk-users] Using dpdk libraries without EAL

2018-09-13 Thread Wiles, Keith
> On Sep 10, 2018, at 3:05 AM, Charles Ju wrote: > > Hi, > > I have developed my own packet capture code and would like to just use the > dpdk libraries such as the ACL Library and mempool libraries. In this case, > does these libraries require the EAL? It depends on the code, but I assume i

Re: [dpdk-users] DPDK application as a library

2018-09-13 Thread Wiles, Keith
function passing the argc,argv params. > - compiled this new file with "gcc -l l2fwd -l dpdk -pthread -l dl -l numa > ..." > > When I run it I get: > EAL: Error - exiting with code: 1 > Cause: No Ethernet ports - bye > > PS: I am sorry about the disclaimer, it

Re: [dpdk-users] Calculating Packet Length

2018-09-29 Thread Wiles, Keith
> On Sep 29, 2018, at 5:19 AM, Michael Barker wrote: > > Hi, > > I've new to DPDK and have been started by sending ARP packets. I have a > question around how to set the mbuf data_len and pkt_size. I Initially did > the following: > >struct rte_mbuf* arp_pkt = rte_pktmbuf_alloc(mbuf_po

Re: [dpdk-users] RTE_MACHINE_TYPE Error

2018-10-09 Thread Wiles, Keith
> On Oct 8, 2018, at 11:10 PM, Cliff Burdick wrote: > > Hi, I'm trying to compile on a machine with an older-generation xeon than > the target, so I'm using CONFIG_RTE_MACHINE="broadwell" in the config. > gcc's options show that broadwell supports the AES flag, and I verified > that the build

Re: [dpdk-users] RTE_MACHINE_TYPE Error

2018-10-09 Thread Wiles, Keith
ell, if that does not work I am going to need to talk to someone that knows. I assume Bruce or Konstantin know the answer. Do not expect a reply until they get to the office in Ireland. > > > > > On Tue, Oct 9, 2018 at 6:54 AM Wiles, Keith wrote: > > > > On Oct 8, 2

Re: [dpdk-users] RTE_MACHINE_TYPE Error

2018-10-09 Thread Wiles, Keith
t; SSE4.1, SSE4.2, POPCNT, AVX, AVX2, AES, PCLMUL, FSGSBASE, RDRND, FMA, BMI, > BMI2 and F16C instruction set support. > > Is the gcc manual specifying some other AES feature that's not what DPDK is > listing? > > > > > On Tue, Oct 9, 2018 at 6:54 AM Wiles, Keith

Re: [dpdk-users] Increasing the NB_MBUFs of PktMbuf MemPool

2018-10-12 Thread Wiles, Keith
On Oct 11, 2018, at 11:48 PM, Wajeeha Javed mailto:wajeeha.javed...@gmail.com>> wrote: Hi, I am in the process of developing DPDK based Application where I would like to delay the packets for about 2 secs. There are two ports connected to DPDK App and sending traffic of 64 bytes size packets

Re: [dpdk-users] Increasing the NB_MBUFs of PktMbuf MemPool

2018-10-12 Thread Wiles, Keith
Stupid email program I tell it to reply in the format as received (text format) and it still sends in rich text format :-( hope this is more readable. > On Oct 11, 2018, at 11:48 PM, Wajeeha Javed > wrote: > > Hi, > > I am in the process of developing DPDK based Application where I would >

Re: [dpdk-users] users Digest, Vol 155, Issue 7

2018-10-16 Thread Wiles, Keith
Sorry, you must have replied to my screwup not sending the reply in pure text format. I did send an updated reply to hopefully fix that problem. More comments inline below. All emails to the list must be in ‘text' format not ‘Rich Text’ format :-( > On Oct 15, 2018, at 11:42 PM, Wajeeha Javed

Re: [dpdk-users] Crypto QAT device not found

2018-10-19 Thread Wiles, Keith
> On Oct 19, 2018, at 5:01 PM, Pathak, Pravin wrote: > > Hi Fiona - > That explains it. I was using make T=... again at last. > Pravin Do not know if this will help at all. I some times copy the config/deconfig_x86_64-native-linuxapp-gcc to config/deconfig_x86_64-mine-linuxapp-gcc then modif

Re: [dpdk-users] unable to compile dpdk

2018-10-21 Thread Wiles, Keith
> On Oct 20, 2018, at 9:32 AM, venkataprasad k wrote: > > 2nd Try. > Any idea on this? > Not clear what i am missing here. Does the build work without sed command, if it does then something is wrong with the sed command. In your case just edit the new config file and enable PCAP PMD if this

Re: [dpdk-users] users Digest, Vol 155, Issue 7

2018-10-23 Thread Wiles, Keith
is going to be more then 28M blocks all sorts of cache issues could be causing the problem. > > Thanks & Best Regards, > > Wajeeha Javed > > > > On Tue, Oct 16, 2018 at 3:02 PM Wiles, Keith wrote: > Sorry, you must have replied to my screwup not sending the

Re: [dpdk-users] Memory allocation in dpdk

2018-10-23 Thread Wiles, Keith
> On Oct 23, 2018, at 1:44 AM, Avinash Chaurasia > wrote: > > Hello, > I am trying to understand how dpdk allocate memory. I tried digging code to > understand memory allocation of DPDK. So far I understood that memory is > allocated from a heap that dpdk maintains. However, this heap must be

Re: [dpdk-users] Query on handling packets

2018-11-08 Thread Wiles, Keith
> On Nov 8, 2018, at 8:24 AM, Harsh Patel wrote: > > Hi, > We are working on a project where we are trying to integrate DPDK with > another software. We are able to obtain packets from the other environment > to DPDK environment in one-by-one fashion. On the other hand DPDK allows to > send/re

Re: [dpdk-users] pktgen-dpdk runts when start size is 64

2018-11-08 Thread Wiles, Keith
> On Nov 8, 2018, at 2:12 AM, Bichan.Lu wrote: > > Hi, > > OS: CentOS 7.5.1804 > Pktgen version: pktgen-3.5.8 > DPDK verison: dpdk-18.08 > > I use the pktgen in follows command. When I start pktgen, default PktSize is > 64, in the command I sad: > > ./pktgen -l 0-4 -n 3 -- -P -m "[1:3].0,[

Re: [dpdk-users] Query on handling packets

2018-11-08 Thread Wiles, Keith
ist is empty then do another rx_burst call. Sorry this is a really quick note on how it works. If you need more details we can talk more later. Regards, Harsh and Hrishikesh. On Thu, 8 Nov 2018 at 14:26, Wiles, Keith mailto:keith.wi...@intel.com>> wrote: > On Nov 8, 2018, at 8:24

Re: [dpdk-users] Query on handling packets

2018-11-09 Thread Wiles, Keith
l3fwd code and I saw 10G 64byte wire rate as I remember using pktgen to generate the traffic. Not sure why you would see a big performance drop, but I do not know your application or code. Thanks and regards Harsh & Hrishikesh On Thu, 8 Nov 2018 at 23:14, Wiles, Keith mailto:keith.wi...

Re: [dpdk-users] Query on handling packets

2018-11-09 Thread Wiles, Keith
big performance drop, but I do not know your application or code. > Thanks and regards > Harsh & Hrishikesh > > On Thu, 8 Nov 2018 at 23:14, Wiles, Keith wrote: > > >> On Nov 8, 2018, at 4:58 PM, Harsh Patel wrote: >> >> Thanks >> for your

Re: [dpdk-users] Query on handling packets

2018-11-13 Thread Wiles, Keith
king into our work as of now and > will contact you once we are done checking it completely from our side. > Thanks for the help. > > Regards, > Harsh and Hrishikesh > > On Sat, 10 Nov 2018 at 11:47, Wiles, Keith wrote: > Please make sure to send your emails in plain te

Re: [dpdk-users] Query on handling packets

2018-11-14 Thread Wiles, Keith
e changes or find some mistake in our code? If you need any help or have any doubt, ping us. Thanks and Regards, Harsh & Hrishikesh On Tue, 13 Nov 2018 at 19:17, Wiles, Keith mailto:keith.wi...@intel.com>> wrote: > On Nov 12, 2018, at 8:25 PM, Harsh Patel > mailto:thadodahars

Re: [dpdk-users] Query on handling packets

2018-11-14 Thread Wiles, Keith
sed the data buffer. I hope that is clear, I meetings I must attend. > Can you go through this and suggest us some changes or find some mistake in > our code? If you need any help or have any doubt, ping us. > > Thanks and Regards, > Harsh & Hrishikesh > > On Tue, 13 Nov 2

Re: [dpdk-users] Query on handling packets

2018-11-14 Thread Wiles, Keith
e changes or find some mistake in > our code? If you need any help or have any doubt, ping us. > > Thanks and Regards, > Harsh & Hrishikesh > > On Tue, 13 Nov 2018 at 19:17, Wiles, Keith wrote: > > > > On Nov 12, 2018, at 8:25 PM, Harsh Patel wrote: > >

Re: [dpdk-users] How to receive packets from non-DPDK requests?

2018-11-14 Thread Wiles, Keith
> On Nov 14, 2018, at 11:35 AM, Sungho Hong wrote: > > Hello DPDK users, > > I am trying to receive the packets from non-DPDK requests, > Currently, I am trying to send ARP requests, but it seems that DPDK > application only understands the packets that are sent by DPDK. > > Is there some co

Re: [dpdk-users] How to receive packets from non-DPDK requests?

2018-11-14 Thread Wiles, Keith
> On Nov 14, 2018, at 1:05 PM, Sungho Hong wrote: > > Thanks for the reply, but excluding the ARP, > Is it possible to receive POSIX TCP or UDP packets using DPDK-application? > > Because DPDK application for me right now, only recognizes the packets sent > from DPDK only. But by the sound

Re: [dpdk-users] How to receive packets from non-DPDK requests?

2018-11-14 Thread Wiles, Keith
> On Nov 14, 2018, at 1:09 PM, Wiles, Keith wrote: > > > >> On Nov 14, 2018, at 1:05 PM, Sungho Hong wrote: >> >> Thanks for the reply, but excluding the ARP, >> Is it possible to receive POSIX TCP or UDP packets using DPDK-application? >> &g

Re: [dpdk-users] Query on handling packets

2018-11-19 Thread Wiles, Keith
> On Nov 17, 2018, at 4:05 PM, Kyle Larose wrote: > > On Sat, Nov 17, 2018 at 5:22 AM Harsh Patel wrote: >> >> Hello, >> Thanks a lot for going through the code and providing us with so much >> information. >> We removed all the memcpy/malloc from the data path as you suggested and > ... >>

Re: [dpdk-users] Query on handling packets

2018-11-24 Thread Wiles, Keith
ottleneck. > > We have updated our code (you can use the same links from previous mail). It > would be helpful if you could help us in finding what causes the bottleneck. > > Thanks and Regards, > Harsh and Hrishikesh > > > On Mon, Nov 19, 2018, 19:19 Wiles,

Re: [dpdk-users] Query on handling packets

2018-11-24 Thread Wiles, Keith
> On Nov 24, 2018, at 9:43 AM, Wiles, Keith wrote: > > > >> On Nov 22, 2018, at 9:54 AM, Harsh Patel wrote: >> >> Hi >> >> Thank you so much for the reply and for the solution. >> >> We used the given code. We were amazed by the p

Re: [dpdk-users] Query on handling packets

2018-11-24 Thread Wiles, Keith
and Regards, > Harsh and Hrishikesh > > > On Mon, Nov 19, 2018, 19:19 Wiles, Keith wrote: > > > > On Nov 17, 2018, at 4:05 PM, Kyle Larose wrote: > > > > On Sat, Nov 17, 2018 at 5:22 AM Harsh Patel > > wrote: > >> > >> Hello, >

Re: [dpdk-users] Query on handling packets

2018-11-30 Thread Wiles, Keith
you elaborate > your suggestion. > > Thanks and Regards, > Harsh and Hrishikesh > > PS :- We are done with our exams and would be working now on this regularly. > > On Sun, 25 Nov 2018 at 10:05, Stephen Hemminger > wrote: > On Sat, 24 Nov 2018 16:01:04 + > &q

Re: [dpdk-users] error while compiling pktgen-dpdk on RHEL/Centos 7.5

2018-12-05 Thread Wiles, Keith
> On Dec 5, 2018, at 2:23 AM, Murali Krishna > wrote: > > Hi, > > > > I am trying to compile pktgen-3.5.8 on RHEL/Centos 7.5 kernel. I see below > error while compiling it from source. > > > > # cd pktgen-3.5.8/ > > # make > > == lib > > == common > > == utils > > == vec > > == lua

Re: [dpdk-users] error while compiling pktgen-dpdk on RHEL/Centos 7.5

2018-12-05 Thread Wiles, Keith
> On Dec 5, 2018, at 7:56 AM, Wiles, Keith wrote: > > > >> On Dec 5, 2018, at 2:23 AM, Murali Krishna >> wrote: >> >> Hi, >> >> >> >> I am trying to compile pktgen-3.5.8 on RHEL/Centos 7.5 kernel. I see below >> erro

Re: [dpdk-users] error while compiling pktgen-dpdk on RHEL/Centos 7.5

2018-12-05 Thread Wiles, Keith
seq.o > CC pktgen-dump.o > CC pktgen-capture.o > CC pktgen-stats.o > CC pktgen-port-cfg.o > CC pktgen-ipv6.o > CC pktgen-ipv4.o > CC pktgen-arp.o > CC pktgen-gre.o > CC pktgen-ether.o > CC pktgen-tcp.o > CC pktgen-udp.o > CC pktgen-vlan.o > CC pkt

Re: [dpdk-users] Query on handling packets

2018-12-14 Thread Wiles, Keith
that the number of cores is not a reason for the less > performance. This is not a problem we need to look somewhere else. > So, the problem due to which we are getting less performance and a bottleneck > around 2.5Mbps is somewhere else and we need to figure that out. > > Ask ag

[dpdk-users] uncrustify configuration file.

2018-12-28 Thread Wiles, Keith
I have been playing with uncrustify http://uncrustify.sourceforge.net/ and working on a configuration file for DPDK coding style. The configuration file located here https://github.com/pktgen/uncrustify-dpdk.git seems to get close the right style. Maybe it could be a good start on making sure s

Re: [dpdk-users] it seems something wrong in pktgen .

2018-12-29 Thread Wiles, Keith
> On Dec 29, 2018, at 1:14 AM, Vic Wang(BJ-RD) wrote: > > Hi, > You did not tell me which DPDK and pktgen version you are using. > I use dpdk and pktgen-dpdk to test the performance of the platform > performance . > The system configuration as follows: > Senders: Intel i5-6600k with two sum

Re: [dpdk-users] Query on handling packets

2018-12-29 Thread Wiles, Keith
> On Dec 29, 2018, at 4:03 PM, Harsh Patel wrote: > > Hello, > As suggested, we tried profiling the application using Intel VTune Amplifier. > We aren't sure how to use these results, so we are attaching them to this > email. > > The things we understood were 'Top Hotspots' and 'Effective C

Re: [dpdk-users] Query on handling packets

2018-12-29 Thread Wiles, Keith
> On Dec 29, 2018, at 4:03 PM, Harsh Patel wrote: > > Hello, > As suggested, we tried profiling the application using Intel VTune Amplifier. > We aren't sure how to use these results, so we are attaching them to this > email. > > The things we understood were 'Top Hotspots' and 'Effective CP

Re: [dpdk-users] Query on handling packets

2019-01-03 Thread Wiles, Keith
o really look at the problem. I have limited time, but I can try if you like. > > > Effective CPU Utilization:21.4% (0.856 out of 4) > > Here is the link to vtune profiling results. > https://drive.google.com/open?id=1M6g2iRZq2JGPoDVPwZCxWBo7qzUhvWi5 > > Thank you

Re: [dpdk-users] Not able to compile dpdk-18.02.2 in gcc version 4.4

2019-01-14 Thread Wiles, Keith
> On Jan 14, 2019, at 3:12 AM, Surendran Dhuruvan > wrote: > > Hi, > > Am trying to compile dpdk-18.02.2 in rhel 6.10 which has gcc version 4.4. > > while compiling am facing following error > > In file included from > /root/dpdk-stable-18.02.2/x86_64-native-linuxapp-gcc/include/rte_bus.h:5

Re: [dpdk-users] Query on handling packets

2019-01-31 Thread Wiles, Keith
s, Harsh & Hrishikesh On Fri, Jan 4, 2019, 04:13 Wiles, Keith mailto:keith.wi...@intel.com>> wrote: > On Jan 3, 2019, at 12:12 PM, Harsh Patel > mailto:thadodahars...@gmail.com>> wrote: > > Hi > > We applied your suggestion of removing the `IsLinkUp()` ca

Re: [dpdk-users] Create new driver error

2019-01-31 Thread Wiles, Keith
Sent from my iPhone > On Jan 31, 2019, at 2:44 AM, Oscar Pap wrote: > > Hello! > > I´m trying to create a new driver called "baseband_ldpc" for baseband but I > get this error: > > EAL: failed to parse device "baseband_ldpc" > EAL: Unable to parse device 'baseband_ldpc' > > > I created th

Re: [dpdk-users] Query on handling packets

2019-02-05 Thread Wiles, Keith
n how to use Byte Queue Limit (BQL) on the NIC queue but > couldn't find anything like that in DPDK. Does DPDK support BQL? If so, can > you help us on how to use it for our project? what was the last set of problems if I may ask? > > Thanks & Regards > Harsh &

Re: [dpdk-users] Query on handling packets

2019-02-05 Thread Wiles, Keith
ed the performance. > > These 2 things combined got us the desired results. Excellent thanks > > Regards, > Harsh & Hrishikesh > > On Tue, Feb 5, 2019, 18:33 Wiles, Keith wrote: > > > > On Feb 5, 2019, at 12:37 AM, Harsh Patel wrote: > > > >

Re: [dpdk-users] Query on handling packets

2019-02-05 Thread Wiles, Keith
r could help. look in the maintainers file and message him directly. > > Thanks, > Harsh & Hrishikesh > > On Tue, Feb 5, 2019, 19:42 Wiles, Keith wrote: > > > > On Feb 5, 2019, at 8:00 AM, Harsh Patel wrote: > > > > Hi, > > One of the m

Re: [dpdk-users] i40e : Transmit rate limit control

2019-02-08 Thread Wiles, Keith
> On Feb 8, 2019, at 6:02 AM, terry.montague.1...@btinternet.com wrote: > > > > > Hi there. > > Please can I ask this question again , as no-one replied. > > Having transmit rate limiting at 25Gbe/40Gbe for the Intel i40e driver (710 > based cards) would be extremely useful for some appli

Re: [dpdk-users] RX of multi-segment jumbo frames

2019-02-09 Thread Wiles, Keith
> On Feb 9, 2019, at 5:11 AM, Filip Janiszewski > wrote: > > Hi, > > I'm attempting to receive jumbo frames (~9000 bytes) on a Mellonox card > using DPDK, I've configured the DEV_RX_OFFLOAD_JUMBO_FRAME offload for > rte_eth_conf and rte_eth_rxconf (per RX Queue), but I can capture jumbo > fr

Re: [dpdk-users] RX of multi-segment jumbo frames

2019-02-09 Thread Wiles, Keith
> On Feb 9, 2019, at 9:27 AM, Filip Janiszewski > wrote: > > > > Il 09/02/19 14:51, Wiles, Keith ha scritto: >> >> >>> On Feb 9, 2019, at 5:11 AM, Filip Janiszewski >>> wrote: >>> >>> Hi, >>> >>> I&

Re: [dpdk-users] Segfault while running on older CPU

2019-02-14 Thread Wiles, Keith
> On Feb 14, 2019, at 7:04 AM, Filip Janiszewski > wrote: > > Hi All, > > We've just encountered the same issue on a new server with a couple of > Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz, stack trace the same: > What version of DPDK? > . > Program received signal SIGILL, Illegal instructio

Re: [dpdk-users] RX of multi-segment jumbo frames

2019-02-15 Thread Wiles, Keith
> > The JF are reported as ierror in rte_eth_stats. sorry, the last time i had any dealings with mellanox i was not able to get it to work. so not going to be much help here. > > Thanks > > Il 09/02/19 16:36, Wiles, Keith ha scritto: >> >> >>> On Feb 9, 2

Re: [dpdk-users] pktgen-dpdk failed build "│/usr/bin/ld: cannot find -llua'

2019-04-03 Thread Wiles, Keith
Please update to the latest Pktgen, I believe I was able to fix the build system for CentOS. > On Apr 3, 2019, at 1:54 AM, .. wrote: > > Hi dpdk-users! > > OS: CentOS Linux release 7.0.1406 (Core) > Kernel : 3.10.0-123.el7.x86_64 > > I am trying to build dpdk-pktgen (I chose version 3.6.1 wit

Re: [dpdk-users] pktgen-dpdk failed build "│/usr/bin/ld: cannot find -llua'

2019-04-04 Thread Wiles, Keith
have not looked at the Warp17 > > Regards > > Roland > > 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. > > > On Apr 3, 2019, at 1:54 AM, .. wrote: > > > >

Re: [dpdk-users] Reg: Performance degradation in DPDK-18.11

2019-04-09 Thread Wiles, Keith
> On Apr 8, 2019, at 7:01 AM, Gokilavani A > wrote: > > Hi, > > We have written simple Traffic Generator using DPDK. > > We used a DPDK version of 17.05.2 then 17.08.2. > > When we want to move that code to latest LTS version 18.11, performance > seems to be degraded interms of rate. > >

Re: [dpdk-users] Pktgen cannot work with ovs-dpdk vhost user port

2019-04-17 Thread Wiles, Keith
> On Apr 16, 2019, at 10:45 AM, Sihao Xie wrote: > > Hi, all > I want to run pktgen with ovs, and I follow some tutorials in the network > but I ran into some problems related to socket ID: > > Copyright (c) <2010-2019>, Intel Corporation. All rights reserved. Powered > by DPDK > EAL: Detecte

Re: [dpdk-users] segmentation fault after using rte_malloc()

2019-04-20 Thread Wiles, Keith
Sent from my iPhone > On Apr 18, 2019, at 11:31 PM, 曾懷恩 wrote: > > HI, Stephen, > > Yes, I set huge page in default_hugepagesz=1G hugepagesz=1G hugepages=4 > > and also did rte_eal_init at the beginning of my program. > > thanks for reply. Is the core doing the rte_malloc one of the core

Re: [dpdk-users] segmentation fault after using rte_malloc()

2019-04-22 Thread Wiles, Keith
t I assumed it would not make any difference. Did you run this example as root? > > And my start eal cmdline option is ./build/test -l 0-1 -n 4 > > Thank you very much for your reply > > Wiles, Keith 於 2019年4月21日 上午4:29 寫道: > > > > > > > > Sent

Re: [dpdk-users] segmentation fault after using rte_malloc()

2019-04-24 Thread Wiles, Keith
n KVM with SRIOV enable > > hugepage size is set to 2MB > > Thanks for reply > > Best Regard, > >> 曾懷恩 於 2019年4月24日 上午1:34 寫道: >> >> Hi Keith, >> >> Yes I ran this program as root >> >> However I ran it with DPDK 18.11 release. >>

Re: [dpdk-users] segmentation fault after using rte_malloc()

2019-04-24 Thread Wiles, Keith
Sent from my iPhone On Apr 24, 2019, at 10:55 PM, 曾懷恩 mailto:t...@csie.io>> wrote: Hi Keith, Wiles, Keith mailto:keith.wi...@intel.com>> 於 2019年4月24日 下午10:38 寫道: On Apr 24, 2019, at 9:22 AM, 曾懷恩 mailto:t...@csie.io>> wrote: Hi Keith, I have tried DPDK 19.05-rc2, 19.0

Re: [dpdk-users] UDP packet transmission issue - DPDK 18.08

2019-05-08 Thread Wiles, Keith
> On May 8, 2019, at 1:41 AM, hirok borah wrote: > > Hi All, > > Do we have any resolution for this issue yet ? > This looks like a defect in DPDK 18.08. DPDK does not understand UDP/TCP or any L4 Packet per say, it only sends the packets constructed in the application. It will send the pac

Re: [dpdk-users] UDP packet transmission issue - DPDK 18.08

2019-05-08 Thread Wiles, Keith
frame to KNI interface and see if the problem still exists does seem like a reasonable direction to eliminate possible problems. Beyond that I can not help, take my suggestions as you see fit. Thanks > > Regards > -Hirok > > > On Wed, May 8, 2019, 7:28 PM Wiles, Keith wrote:

Re: [dpdk-users] pktgen - !PANIC!: *** Did not find any ports to use ***

2019-05-28 Thread Wiles, Keith
> On May 28, 2019, at 12:33 AM, Sara Gittlin wrote: > > Hello > According the dpdk release notes - my NIC - Onboard NIC: *Intel(R) > X552*/X557-AT > (2x10G) was tested > > Tested Platforms > > > > > #. SuperMicro 1U > > > - BIOS: 1.0c > > - Processor: Intel(R) Atom

Re: [dpdk-users] pktgen compilation error

2019-05-29 Thread Wiles, Keith
> On May 29, 2019, at 4:09 AM, Sara Gittlin wrote: > > Hi > I git clone git://dpdk.org/apps/pktgen-dpdk > i have ubuntu 16.04 w 4.15.0-50-generic kernel > i've install libpcap-dev I am going to guess you are using DPDK master HEAD and Pktgen master HEAD, a number of changes are going on in

Re: [dpdk-users] pktgen compilation error

2019-05-29 Thread Wiles, Keith
> On May 29, 2019, at 8:25 AM, Wiles, Keith wrote: > > > >> On May 29, 2019, at 4:09 AM, Sara Gittlin wrote: >> >> Hi >> I git clone git://dpdk.org/apps/pktgen-dpdk >> i have ubuntu 16.04 w 4.15.0-50-generic kernel >> i've install li

Re: [dpdk-users] pktgen - transmitting multiple sessions

2019-06-03 Thread Wiles, Keith
> On Jun 3, 2019, at 6:28 AM, Sara Gittlin wrote: > > Hello all, > can someone refer me to a script or commands to transmit multiple sessions > i.e to all destinations in subnet 10.0.0.0/8 ? Look at the range command ‘page range’ and the other commands to setup range, i.e. range … > Than

  1   2   3   >