[dpdk-dev] Running dpdk application inside virtual machine created on VirtualBox

2019-07-03 Thread Shailja Pandey
Hi, I am trying to run dpdk application inside a virtual machine (Ubuntu 16.04) deployed in Oracle Virtualbox. The host machine is also the same Ubuntu 16.04. I am running l2fwd application in the VM and the packets are being generated using pktgen-DPDK running on other physical machine. The

Re: [dpdk-dev] Why packet replication is more efficient when done using memcpy( ) as compared to rte_mbuf_refcnt_update() function?

2018-04-23 Thread Shailja Pandey
On Thursday 19 April 2018 09:38 PM, Wiles, Keith wrote: On Apr 19, 2018, at 9:30 AM, Shailja Pandey wrote: The two code fragments are doing two different ways the first is using a loop to create possible more then one replication and the second one is not, correct? The loop can cause

Re: [dpdk-dev] Why packet replication is more efficient when done using memcpy( ) as compared to rte_mbuf_refcnt_update() function?

2018-04-19 Thread Shailja Pandey
The two code fragments are doing two different ways the first is using a loop to create possible more then one replication and the second one is not, correct? The loop can cause performance hits, but should be small. Sorry for the confusion, for memcpy version also we are using a loop outside o

[dpdk-dev] Why packet replication is more efficient when done using memcpy( ) as compared to rte_mbuf_refcnt_update() function?

2018-04-18 Thread Shailja Pandey
Hello, I am doing packet replication and I need to change the ethernet and IP header field for each replicated packet. I did it in two different ways: 1. Share payload from the original packet using rte_mbuf_refcnt_update and allocate new mbuf for L2-L4 headers. 2. memcpy() payload from the

[dpdk-dev] DPDK-pktgen not giving expected throughput

2018-01-25 Thread Shailja Pandey
n 13, 2018, at 12:51 PM, Shailja Pandey <https://dpdk.org/ml/listinfo/dev>> wrote: />//>/Hi, />//>/Output of command ‘lspci | grep Ether’ is- />//>/04:00.0 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01) />/04:00.1 Etherne

Re: [dpdk-dev] DPDK-pktgen not giving expected throughput

2018-01-13 Thread Shailja Pandey
AM, Shailja Pandey <https://dpdk.org/ml/listinfo/dev>> wrote: />//>/I have also tried with multiple cpus using the command line- />//>/./app/app/x86_64-native-linuxapp-gcc/pktgen -c 0x -n 4 -- -T -P -m "[0:4].0,[5:8].1,[9-12].2,[13-16].3” / What is port 0 and 1, I g

Re: [dpdk-dev] DPDK-pktgen not giving expected throughput

2018-01-10 Thread Shailja Pandey
I have also tried with multiple cpus using the command line- ./app/app/x86_64-native-linuxapp-gcc/pktgen -c 0x -n 4 -- -T -P -m "[0:4].0,[5:8].1,[9-12].2,[13-16].3" On Thursday 11 January 2018 10:20 AM, Shailja Pandey wrote: The command line for Pktgen is- ./app/app/x86

[dpdk-dev] DPDK-pktgen not giving expected throughput

2018-01-10 Thread Shailja Pandey
ode0 CPU(s): 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30 NUMA node1 CPU(s): 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31 Linux XeonE5 4.4.0-93-generic Thanks! /On Jan 10, 2018, at 7:36 AM, Shailja Pandey <https://dpdk.org/ml/listinfo/dev>> wrote: />//>/Hi, />//>/We are

[dpdk-dev] DPDK-pktgen not giving expected throughput

2018-01-10 Thread Shailja Pandey
Hi, We are performing experiments on Dell Poweredge R430 server, which is based on Haswell architecture based xeon-2640 v3 processor. We have attached XL 710 NIC(2x40 GbE) to the machine and expect 59 Mpps packet generation per port. But pktgen is able to generate only 21 Mpps per port and we

[dpdk-dev] How to update the sequence number in TCP packets using DPDK-pktgen?

2017-10-09 Thread Shailja Pandey
Hi, In the DPDK application, I am maintaining some state and due to that I need to generate the packets with monotonically increasing sequence numbers. As shown in the code below, /tip->tcp.seq    = htonl(DEFAULT_PKT_NUMBER);/ DPDK is putting some default number as a sequence number in t