DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Sending and receiving on the same port at the same time, from different threads
@ 2016-01-15 16:54 Zoltan Kiss
  2016-01-15 17:33 ` Matthew Hall
  0 siblings, 1 reply; 3+ messages in thread
From: Zoltan Kiss @ 2016-01-15 16:54 UTC (permalink / raw)
  To: dev

Hi,

I've been asked this question, and I realized I'm not sure about the 
answer. In other words: can you call rte_eth_tx_burst() and 
rte_eth_tx_burst() on the same port at the same time from different 
threads? In theory it seems possible, as you still access different 
queues (an RX and a TX one), and at least taking a glance at ixgbe 
vector functions, they don't seem to use common resources while doing RX 
or TX. But I'm not sure that it's generally true, although I always 
assumed that it should be true. Have anyone seen a device where it 
wasn't true?

Regards,

Zoltan

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

end of thread, other threads:[~2016-01-15 18:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-15 16:54 [dpdk-dev] Sending and receiving on the same port at the same time, from different threads Zoltan Kiss
2016-01-15 17:33 ` Matthew Hall
2016-01-15 18:15   ` Stephen Hemminger

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).