dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* one worker reading multiple ports
@ 2014-11-20  8:33 Newman Poborsky
       [not found] ` <CAHW=9PuErCQW=PDFzMoQLyUhzif6xNsU_28UmiJC=895t8+62w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Newman Poborsky @ 2014-11-20  8:33 UTC (permalink / raw)
  To: dev-VfR2kkLFssw@public.gmane.org

Hi,

is it possible to use one worker thread (one lcore) to read packets from
multiple ports?

When I start 2 workers and assign each one  to read from different ports
(with  rte_eth_rx_burst()) everything works fine, but if I assign one
worker to read packets from 2 ports, rte_eth_rx_burst() returns 0 as if no
packets are read.

Is there any reason for this kind of behaviour?

Thanks!

Br,
Newman P.

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

end of thread, other threads:[~2014-11-21 22:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-20  8:33 one worker reading multiple ports Newman Poborsky
     [not found] ` <CAHW=9PuErCQW=PDFzMoQLyUhzif6xNsU_28UmiJC=895t8+62w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-20  8:56   ` De Lara Guarch, Pablo
     [not found]     ` <E115CCD9D858EF4F90C690B0DCB4D8972684D317-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-11-20 16:10       ` Newman Poborsky
     [not found]         ` <CAHW=9Pthh1-sHbpbjt9PvQcjZ_Tr_9EK+re7zkdmw=pFv0_Fbw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-20 21:52           ` Matthew Hall
     [not found]             ` <20141120215233.GA15551-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org>
2014-11-21 14:03               ` Newman Poborsky
     [not found]                 ` <CAHW=9PtKGJrh9HAXKSDa-3LUC_56D1oP3jtxS5+-mqwWKqo=4Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-21 14:44                   ` Bruce Richardson
2014-11-21 22:55                     ` Newman Poborsky

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