Re: dpdk-testpmd works but dpdk pktgen crashes on startup with MLX5 card

2023-07-12 Thread Wiles, Keith
From: Maayan Kashani Date: Wednesday, July 12, 2023 at 8:57 AM To: Antonio Di Bacco , users@dpdk.org Cc: Raslan Darawsheh , Ali Alnubani Subject: RE: dpdk-testpmd works but dpdk pktgen crashes on startup with MLX5 card Hi, Antonio, Sorry for the late reply, Thanks for bringing this issue to

Re: [dpdk-users] DPDK-PKTGEN crashes when using Jumbo frame in AWS EC2

2021-05-05 Thread Wiles, Keith
and From: Wiles, Keith Sent: Wednesday, May 5, 2021 6:19 PM To: Anand Gupta Cc: users@dpdk.org Subject: Re: [dpdk-users] DPDK-PKTGEN crashes when using Jumbo frame in AWS EC2 We can try to test for Multi-segs in pktgen in the file app/pktgen-port-cfg.c you can search for MULTI_SEGS and

Re: [dpdk-users] Running Pktgen with Mellanox CX5

2021-04-09 Thread Wiles, Keith
mlx5 is referencing the mlx4 library for some reason and when you added the mlx5 PMD it also needed the mlx4. BTW, notice the error message states "EAL: libmlx4.so.1: cannot open shared object file: No such file or directory” EAL Is DPDK initialization not Pktgen. > > -Orig

Re: [dpdk-users] Running Pktgen with Mellanox CX5

2021-04-08 Thread Wiles, Keith
> On Apr 8, 2021, at 1:47 PM, Narcisa Ana Maria Vasile > wrote: > > Hi, > > I’m trying to run pktgen (latest ‘master’ branch) with a Mellanox CX5 NIC on > Ubuntu 20.04. > I’ve installed the latest Mellanox drivers > (MLNX_OFED_LINUX-5.3-1.0.0.1-ubuntu20.04-x86_64.iso). > I’ve compiled and

Re: [dpdk-users] Problems building pktgen

2021-04-08 Thread Wiles, Keith
> On Apr 8, 2021, at 11:45 AM, David Aldrich > wrote: > > Let me know if you can not get it working with the step I provided, the > problem will be I do not build Pktgen on CentOS. > > Thank you for your help, it is building ok now. Where is the best place to > ask for help with using

Re: [dpdk-users] Problems building pktgen

2021-04-07 Thread Wiles, Keith
> On Apr 7, 2021, at 11:44 AM, David Aldrich > wrote: > > Hi > > I am trying to build DPDK PktGen on Centos 7 using gcc 4.8.5, using the > HEAD revisions of DPDK and pktgen. The build is failing: > > [76/2153] /usr/bin/meson --internal exe --capture lib/ip_frag.sym_chk -- >

Re: [dpdk-users] Pktgen port mapping error

2021-04-02 Thread Wiles, Keith
You should pick a lcore that is on the same socket as the NIC (socket 0). It appears that lcore 1 is on socket 1. Please use the cpu_layout.py script in the DPDK tools directory to determine which lcores to use. From: users on behalf of Danushka Menikkumbura Date: Friday, April 2, 2021 at

Re: [dpdk-users] Pktgen with dynamic rate limiting

2021-03-30 Thread Wiles, Keith
From: users on behalf of Danushka Menikkumbura Date: Tuesday, March 30, 2021 at 10:11 AM To: users@dpdk.org Subject: [dpdk-users] Pktgen with dynamic rate limiting Hello everyone, I need to use high-throughput traffic generation, while being able to control rate based on an input received

Re: [dpdk-users] DPDK-PKTGEN crashes when using Jumbo frame in AWS EC2

2021-02-12 Thread Wiles, Keith
> On Feb 11, 2021, at 11:03 PM, Anand Gupta wrote: > > Hello All, > > I'm trying to run DPDK-PKTGEN in AWS EC2 instances and able to send packets > up to 1.5 KB packets. > If we use Jumbo frame packets then we are getting error "requested Tx > offloads 0x8000 doesn't match Tx offloads

Re: [dpdk-users] DPDK-PKTGEN crashes when using Jumbo frame in AWS EC2

2021-02-12 Thread Wiles, Keith
On Feb 11, 2021, at 11:03 PM, Anand Gupta wrote: Hello All, I'm trying to run DPDK-PKTGEN in AWS EC2 instances and able to send packets up to 1.5 KB packets. If we use Jumbo frame packets then we are getting error "requested Tx offloads 0x8000 doesn't match Tx offloads capabilities 0xe".

Re: [dpdk-users] DPDK-pktgen Flows

2021-01-04 Thread Wiles, Keith
> On Jan 3, 2021, at 10:03 AM, Merve Orakcı wrote: > > Hi everyone, I will get flows using the "range" command. So I am reviewing > documents and sample codes about this topic. I would like to ask a few > things that I cannot understand. What is the flow generation procedure of > range

Re: [dpdk-users] DPDK-pktgen Flows

2020-12-22 Thread Wiles, Keith
From: users Date: Monday, December 21, 2020 at 2:12 PM To: users Subject: [dpdk-users] DPDK-pktgen Flows Hi everyone, I want to perform tests by creating different numbers of flows. Are there any commands that I can see the number of flows I have created? Also, where can I find flow samples

Re: [dpdk-users] pktgen-dpdk

2020-12-08 Thread Wiles, Keith
> On Dec 7, 2020, at 11:59 PM, Madi Nuralin wrote: > > *Hi all, > ** I have a question about pktgen-dpdk: Does pktgen-dpdk support > IPv6 addressing, if not will it be implemented in the future?* Sorry Pktgen does not support IPv6. It would be nice if someone did send a patch to

Re: [dpdk-users] DPDK-Pktgen big pcap files

2020-12-05 Thread Wiles, Keith
> On Dec 5, 2020, at 4:36 AM, Merve Orakcı wrote: > > Hi everyboyd, I have 58 GB pcap file. I want to use this pcap file and send > packet over DPDK port. For this reason, I use Pktgen tool but when i try to > replay pcap file. pktgen aborted. This is about not enough memory for this > pcap

Re: [dpdk-users] question related to build issue with Pktgen-DPDK tool

2020-10-29 Thread Wiles, Keith
> On Oct 28, 2020, at 9:33 PM, Sudharshan Krishnakumar > wrote: > > Hi All, > > This is the first time, I am posting to this group, please excuse if there > are any errors. > > I have a much older version of DPDK(17.08) and corresponding old version of > PktGen both built using Makefiles, >

Re: [dpdk-users] Replicating PCAP packets read by pktgen for multiple source addresses

2020-09-14 Thread Wiles, Keith
You can edit the packet in the function below, but you have to do that action everytime. Freeing the mbuf I sok, you can look into the refcnt value in the mbuf if you want tx_burst to not free the packet completely. From: users Date: Sunday, September 13, 2020 at 5:00 PM To: users@dpdk.org

Re: [dpdk-users] Regarding pktgen-dpdk

2020-08-28 Thread Wiles, Keith
-Original Message- From: users Date: Friday, August 28, 2020 at 9:14 AM To: users@dpdk.org Subject: [dpdk-users] Regarding pktgen-dpdk Greetings of the day, I am new to pktgen and dpdk. I am using dpdk-19.11.3. I downloaded pktgen-dpdk and when I try to run command make, it gives

Re: [dpdk-users] pktgen can't send packet forever

2020-07-13 Thread Wiles, Keith
> On Jul 13, 2020, at 3:32 AM, Xu, Chenjie wrote: > > Dear all, > I'm using pktgen 17.11.3 and pktgen can only send packets a few seconds > though pktgen is configured to send packet forever as below: > Tx Count/% Rate : Forever /100% > > Does anyone know how to fix this issue? By

Re: [dpdk-users] Does 20.05 version has process_info lib?

2020-06-30 Thread Wiles, Keith
> On Jun 25, 2020, at 2:30 AM, 张斌 wrote: > > Dear: > I am a newbie for DPDK.I want to compile the pktgen-dpdk for testing > which need process_info lib.But I can not find the lib source in DPDK 20.05 > version,where can I get the source codes? > DPDK versin 20.05 contains the

Re: [dpdk-users] the latest version of pktgen-dpdk dose not work well

2020-05-25 Thread Wiles, Keith
> On May 25, 2020, at 10:42 AM, tang wei wrote: > > Hi all, > I have a question about pktgen-dpdk, please help ! > The application has bind the driver vfio-pci and can bringup normally , > but can not send data package, and no response after receiving no more than > 1023 packages . > Is

Re: [dpdk-users] pktgen:I nvalid link properties for slave 0 in bonding mode 4

2019-06-11 Thread Wiles, Keith
> On Jun 11, 2019, at 11:06 AM, Vincent Li wrote: > >>> thanks Keith for looking into it, I guess I can try some older version >>> of DPDK and pktgen, what version that might be? >> It would be pretty old and I have no idea which version would work :-( > > FYI, I tested DPDK 18.11.1 testpmd

Re: [dpdk-users] pktgen - options for TX per range of flows

2019-06-05 Thread Wiles, Keith
Sorry, none of the questions below are supported. You can have multiple ports each sending at a different rate. The mice/elephant and entropy is no. > On Jun 5, 2019, at 10:02 AM, Sara Gittlin wrote: > > Hi Guys > is there an option to : > - set high/low tx rate for a range of flows ? > -

Re: [dpdk-users] pktgen:I nvalid link properties for slave 0 in bonding mode 4

2019-06-04 Thread Wiles, Keith
> On Jun 4, 2019, at 10:06 AM, Vincent Li wrote: > >> I am looking at the problem, it does appear something change. >> > > thanks Keith for looking into it, I guess I can try some older version > of DPDK and pktgen, what version that might be? It would be pretty old and I have no idea which

Re: [dpdk-users] pktgen:I nvalid link properties for slave 0 in bonding mode 4

2019-06-03 Thread Wiles, Keith
> On May 31, 2019, at 3:54 PM, Vincent Li wrote: > > Hi, > > I am running Pktgen 3.6.6 + DPDK 18.11.1. when I ran Pktgen with > bonding as ( Pktgen runs fine without bonding and pass packet ok): > > root@compute1:/home/dpdk/pktgen-3.6.6# > ./app/x86_64-native-linuxapp-gcc/pktgen -c ff >

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 … >

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 libpcap

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] UDP packet transmission issue - DPDK 18.08

2019-05-08 Thread Wiles, Keith
d a UDP 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] 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

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] segmentation fault after using rte_malloc()

2019-04-24 Thread Wiles, Keith
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. >> >> I

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

2019-04-22 Thread Wiles, Keith
, but 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-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

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-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] 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

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

2019-02-15 Thread Wiles, Keith
F 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, 2019, at 9:27 AM, Fil

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

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] 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 >

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

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 th

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
arched on 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] 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

Re: [dpdk-users] Query on handling packets

2019-01-31 Thread Wiles, Keith
rsh & 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()` call. B

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 >

Re: [dpdk-users] Query on handling packets

2019-01-03 Thread Wiles, Keith
lly 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] 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

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

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

[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

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] 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
> 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 > > ==

Re: [dpdk-users] Query on handling packets

2018-11-30 Thread Wiles, Keith
borate > 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 + > "Wiles,

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-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
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-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] 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

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

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] 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,

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:thado

Re: [dpdk-users] Query on handling packets

2018-11-13 Thread Wiles, Keith
. We are looking 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-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-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-08 Thread Wiles, Keith
e list 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] 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

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 >

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

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

2018-10-23 Thread Wiles, Keith
ing 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 r

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] 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

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] 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] 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

Re: [dpdk-users] RTE_MACHINE_TYPE Error

2018-10-09 Thread Wiles, Keith
, 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 wrote: > > >

Re: [dpdk-users] RTE_MACHINE_TYPE Error

2018-10-09 Thread Wiles, Keith
t 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, 2018, at 11:10 P

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] 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 =

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

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

2018-09-11 Thread Wiles, Keith
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_CACHE_ALI

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

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] 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 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] 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

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

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] 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

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] [ptkgen-dpdk] Only can send a few packets and stopped.

2018-08-14 Thread Wiles, Keith
non-zero return for the call just means no mbufs in the pool, but that can happen if the TX ring is larger then the number of mbufs or they are not getting freed in the PMD or in pktgen. Could have mbuf leak in Pktgen but I do not think so. I will try your suggest for the lastest 18.08 rele

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

2018-08-14 Thread Wiles, Keith
d 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-13 Thread Wiles, Keith
k is 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-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] 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

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

2018-07-25 Thread Wiles, Keith
ved 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, 2018, at

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

2018-07-25 Thread Wiles, Keith
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 followed the ste

  1   2   3   >