[dpdk-dev] transmit functions of dpdk

2014-12-10 Thread Sachin Sharma
Hi Bruce, >>>The standard sample applications with DPDK use a simple buffering scheme, where >>>we buffer the packets until a full burst of 32 are ready for sending. Once we >>>have a full burst of packets - or a timeout occurs - we then send that burst >>>of packets using tx_burst function. Would

[dpdk-dev] transmit functions of dpdk

2014-12-10 Thread Bruce Richardson
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 buffering you are trying to > implement? > > Yes, you are right! I am implementing a buffering mechanism in

[dpdk-dev] transmit functions of dpdk

2014-12-10 Thread Sachin Sharma
Hi Bruce, >>>I'm not entirely clear on what you mean by filling one queue and emptying another. Is this just a form of buffering you are trying to implement? Yes, you are right! I am implementing a buffering mechanism in which a node will have three queues and it fills one queue with packets and

[dpdk-dev] transmit functions of dpdk

2014-12-10 Thread Sachin Sharma
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 this through tx_burst or do I need to implement these queues in applications as you suggested before. However, in this case, I would have then

[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

[dpdk-dev] transmit functions of dpdk

2014-12-10 Thread Bruce Richardson
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 > this through tx_burst or do I need to implement these queues in > appl

[dpdk-dev] transmit functions of dpdk

2014-12-10 Thread Bruce Richardson
On Wed, Dec 10, 2014 at 12:03:41PM +0100, Sachin Sharma wrote: > 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