[dpdk-dev] Different core to each operation of packet handling

2015-01-29 Thread Sachin Sharma
Hi all, I am interested to assign different cores to each of the following operations: (1) copying an incoming packet from NIC to the memory pool, (2) handling the copied packet from the userspace program (e.g., l2fwd application), (3) doing lookup for output port for the packet, (4) transmitti

[dpdk-dev] How to add veth interfaces in dpdk

2014-12-12 Thread Sachin Sharma
links with KNI interfaces and then adding those KNI interfaces into dpdk? Thanks & Regards, Sachin. On 12/12/14 14:34, Sachin Sharma wrote: >* Hi all, *>>* I have created veth interfaces using command "sudo ip link add veth1 type *>* veth peer name veth2". However

[dpdk-dev] How to add veth interfaces in dpdk

2014-12-12 Thread Sachin Sharma
Hi all, I have created veth interfaces using command "sudo ip link add veth1 type veth peer name veth2". However, when I use command "sudo ./tools/igb_uio_bind.py --force --bind=igb_uio veth1" to add veth into dpdk. It gives me an error that "Unknown device: veth1. Please specify device in "bus:s

[dpdk-dev] transmit functions of dpdk

2014-12-10 Thread Sachin Sharma
chardson < bruce.richardson at intel.com> wrote: > On Wed, Dec 10, 2014 at 01:09:32PM +0100, Sachin Sharma wrote: > > Hi Bruce, > > > > >>>I'm not entirely clear on what you mean by filling one queue and > > emptying another. Is this just a form of buf

[dpdk-dev] transmit functions of dpdk

2014-12-10 Thread Sachin Sharma
chardson at intel.com> wrote: > On Wed, Dec 10, 2014 at 12:31:27PM +0100, Sachin Sharma wrote: > > Hi Bruce, > > > > In my use case, I want to have three NIC TX queues per port, and want to > > fill one NIC TX queue and want to empty the other queue. Is it possible

[dpdk-dev] transmit functions of dpdk

2014-12-10 Thread Sachin Sharma
one NIC TX queues and three queues in an application which actually transmits packets to this NIC TX queue. Am I right? Thanks, Sachin. On Wed, Dec 10, 2014 at 12:22 PM, Bruce Richardson < bruce.richardson at intel.com> wrote: > On Wed, Dec 10, 2014 at 12:03:41PM +0100, Sachin Sha

[dpdk-dev] transmit functions of dpdk

2014-12-10 Thread Sachin Sharma
Dear all, In my algorithm, I am interested to perform two activities - (1) transmitting packets to a tx_queue and (2) transmitting packets from tx_queue to a wire - separately. I have gone through the code by putting logs in the dpdk code and found that there is a function rte_eth_tx_burst which