DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] difference between rte_eth_tx_buffer and rte_eth_tx_burst
@ 2017-03-05  1:46 Yuliang Li
  2017-03-05 15:22 ` Wiles, Keith
  0 siblings, 1 reply; 4+ messages in thread
From: Yuliang Li @ 2017-03-05  1:46 UTC (permalink / raw)
  To: users

Hi all,

I am new to DPDK. I found 2 functions that can send packets:
rte_eth_tx_buffer and rte_eth_tx_burst. I am confused about why we need
these two different functions. To me, I can use only rte_eth_tx_burst, and
rte_eth_tx_buffer does add more functional capability. Are there any other
concerns like performance or others that we need these two functions?

Thanks,
-- 
Yuliang Li
PhD student
Department of Computer Science
Yale University

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] difference between rte_eth_tx_buffer and rte_eth_tx_burst
  2017-03-05  1:46 [dpdk-users] difference between rte_eth_tx_buffer and rte_eth_tx_burst Yuliang Li
@ 2017-03-05 15:22 ` Wiles, Keith
  2017-03-05 17:26   ` Yuliang Li
  2017-03-06  9:17   ` Thomas Monjalon
  0 siblings, 2 replies; 4+ messages in thread
From: Wiles, Keith @ 2017-03-05 15:22 UTC (permalink / raw)
  To: Yuliang Li; +Cc: users


> On Mar 4, 2017, at 7:46 PM, Yuliang Li <yuliang.li@yale.edu> wrote:
> 
> Hi all,
> 
> I am new to DPDK. I found 2 functions that can send packets:
> rte_eth_tx_buffer and rte_eth_tx_burst. I am confused about why we need
> these two different functions. To me, I can use only rte_eth_tx_burst, and
> rte_eth_tx_buffer does add more functional capability. Are there any other
> concerns like performance or others that we need these two functions?

The best place to find out this type of information is to read the emails around the rte_eth_tx_buffer APIs in the archives. You may want to refine the search.

https://mail-archive.com/search?a=1&l=dev%40dpdk.org&o=newest&haswords=rte_eth_tx_buffer

> 
> Thanks,
> -- 
> Yuliang Li
> PhD student
> Department of Computer Science
> Yale University

Regards,
Keith

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] difference between rte_eth_tx_buffer and rte_eth_tx_burst
  2017-03-05 15:22 ` Wiles, Keith
@ 2017-03-05 17:26   ` Yuliang Li
  2017-03-06  9:17   ` Thomas Monjalon
  1 sibling, 0 replies; 4+ messages in thread
From: Yuliang Li @ 2017-03-05 17:26 UTC (permalink / raw)
  To: Wiles, Keith; +Cc: users

Thanks Keith. This is very helpful!

On Sun, Mar 5, 2017 at 10:22 AM, Wiles, Keith <keith.wiles@intel.com> wrote:

>
> > On Mar 4, 2017, at 7:46 PM, Yuliang Li <yuliang.li@yale.edu> wrote:
> >
> > Hi all,
> >
> > I am new to DPDK. I found 2 functions that can send packets:
> > rte_eth_tx_buffer and rte_eth_tx_burst. I am confused about why we need
> > these two different functions. To me, I can use only rte_eth_tx_burst,
> and
> > rte_eth_tx_buffer does add more functional capability. Are there any
> other
> > concerns like performance or others that we need these two functions?
>
> The best place to find out this type of information is to read the emails
> around the rte_eth_tx_buffer APIs in the archives. You may want to refine
> the search.
>
> https://mail-archive.com/search?a=1&l=dev%40dpdk.org&o=
> newest&haswords=rte_eth_tx_buffer
>
> >
> > Thanks,
> > --
> > Yuliang Li
> > PhD student
> > Department of Computer Science
> > Yale University
>
> Regards,
> Keith
>
>


-- 
Yuliang Li
PhD student
Department of Computer Science
Yale University

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] difference between rte_eth_tx_buffer and rte_eth_tx_burst
  2017-03-05 15:22 ` Wiles, Keith
  2017-03-05 17:26   ` Yuliang Li
@ 2017-03-06  9:17   ` Thomas Monjalon
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2017-03-06  9:17 UTC (permalink / raw)
  To: Yuliang Li; +Cc: users, Wiles, Keith

2017-03-05 15:22, Wiles, Keith:
> 
> > On Mar 4, 2017, at 7:46 PM, Yuliang Li <yuliang.li@yale.edu> wrote:
> > 
> > Hi all,
> > 
> > I am new to DPDK. I found 2 functions that can send packets:
> > rte_eth_tx_buffer and rte_eth_tx_burst. I am confused about why we need
> > these two different functions. To me, I can use only rte_eth_tx_burst, and
> > rte_eth_tx_buffer does add more functional capability. Are there any other
> > concerns like performance or others that we need these two functions?
> 
> The best place to find out this type of information is to read the emails around the rte_eth_tx_buffer APIs in the archives. You may want to refine the search.
> 
> https://mail-archive.com/search?a=1&l=dev%40dpdk.org&o=newest&haswords=rte_eth_tx_buffer

The best place should be the documentation :)
If someone is missing in the doc, please tell us what or make a patch.
Thanks

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-06  9:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-05  1:46 [dpdk-users] difference between rte_eth_tx_buffer and rte_eth_tx_burst Yuliang Li
2017-03-05 15:22 ` Wiles, Keith
2017-03-05 17:26   ` Yuliang Li
2017-03-06  9:17   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).