[dpdk-dev] Query regarding multiple processes in DPDK

2013-11-25 Thread Prashant Upadhyaya
Hi Bruce, One more question -- Suppose the first instance comes up as primary and creates the mbuf pool and rings etc. [ok] Now, the second instance comes up as secondary and does the corresponding lookup functions [ok] Now the primary exits -- at this point can the secondary still run with all

[dpdk-dev] 82599 TX IP checksum offloading

2013-11-25 Thread chen_lp
Hi, I want NIC to calculate ip checksum on dpdk-1.5.0, I have set: static const struct rte_eth_txconf tx_conf = { .tx_thresh = { .pthresh = TX_PTHRESH, .hthresh = TX_HTHRESH, .wthresh = TX_WTHRESH, }, .tx_free_thresh = 0,

[dpdk-dev] 82599 TX IP checksum offloading

2013-11-25 Thread Daniel Kaminsky
chen_Ip, You shoudln't use PKT_RX_IPV4_HDR, either just PKT_TX_IP_CKSUM or some other combination of PKT_TX_* (e.g. PKT_TX_OFFLOAD_MASK) Daniel On Mon, Nov 25, 2013 at 8:23 AM, chen_lp wrote: > Hi, > I want NIC to calculate ip checksum on dpdk-1.5.0, > > I have set: > static const struct rte_

[dpdk-dev] Query regarding multiple processes in DPDK

2013-11-25 Thread Richardson, Bruce
If the primary process dies: a) The memory does not go away, so the second process can still use it b) When restarting the primary process, you should restart it as a secondary one, to ensure it reattaches to memory properly instead of trying to re-initialize it. Regards /Bruce > -Original

[dpdk-dev] [dpdk-announce] DPDK 1.5.1r1 released

2013-11-25 Thread Thomas Monjalon
The new release can be downloaded here: http://dpdk.org/browse/dpdk/tag/?id=v1.5.1r1 Since 1.5.0 releases, the most important changes are: - new supported devices (i354 and 82599 bypass) - e1000 base driver updated - KNI fixed for X540 - MAC control frame fo

[dpdk-dev] Query regarding multiple processes in DPDK

2013-11-25 Thread Prashant Upadhyaya
Hi Bruce, Thanks, this was very useful information. Regards -Prashant -Original Message- From: Richardson, Bruce [mailto:bruce.richard...@intel.com] Sent: Monday, November 25, 2013 2:59 PM To: Prashant Upadhyaya; dev at dpdk.org Subject: RE: Query regarding multiple processes in DPDK I

[dpdk-dev] Regarding VM live migration with SRIOV

2013-11-25 Thread Prashant Upadhyaya
Hi guys, I have a VM on top of QEMU/KVM hypervisor. Guest and Host are both Fedora 18. I am using 82599 NIC with SRIOV based VF's in the VM. In VM I am running a DPDK based application which uses the VF. Now I have to do a live migration of the running VM from one physical machine to the other.

[dpdk-dev] Query regarding multiple processes in DPDK

2013-11-25 Thread Jeff Venable, Sr.
The memory configuration will persist while the files describing them do. By default, these are located in /var/run/.rte_config and /var/run/.rte_hugepage_info. Even if you terminate all processes, you can still launch new secondary processes which will find those files and attach, and unless some

[dpdk-dev] Measuring latency

2013-11-25 Thread Jun Han
Hi, Does anyone know if there is a DPDK provided tool to measure latency of a packet traversal (i.e., when a packet is copied from the NIC to userspace)? Also, we are using rdtsc to measure processing delay in the userspace currently, but does anyone else have suggestions/experiences for other too

[dpdk-dev] Running load balancer sample app

2013-11-25 Thread Pashupati Kumar
Hi, I am trying to run the load balancer sample application included in the DPDK. I am looking at the relevant section in Sample Applications User Guide. There is mention of test report ( Please see the snippet below) For examples of application command lines and traffic generator flows, please