DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] DPDK - TX from lcore in packet distributor configuration
@ 2015-01-21 14:00 deco33000 Jog
  2015-01-21 16:30 ` Bruce Richardson
  0 siblings, 1 reply; 3+ messages in thread
From: deco33000 Jog @ 2015-01-21 14:00 UTC (permalink / raw)
  To: dev

Hello,

-- PROBLEM
I have a AF_PACKET socket which is in promiscuous mode to get all the NIC traffic and let my apps do the whole stuff.

So I have one receiver and need to communicate the packet to different threads/processes (lcore) so that they can process the rest of the packet (tcp/udp...)

-- QUESTION
I read about the packet distributor architecture which seems to answer that need.
http://dpdk.org/doc/guides/prog_guide/packet_distrib_lib.html

BUT i fear that it be slow at resending the packet to the distributor which may already be overloaded by inputs from the net. Why pass back the answer to the distributor if the lcore could send to the wire directly ?

My problem is going back to the distributor after the packet processing. i would a direct send to the tx ring.

Is it possible ? How ?  By passing the TX pointer to the lcore ?

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

end of thread, other threads:[~2015-01-21 19:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-21 14:00 [dpdk-dev] DPDK - TX from lcore in packet distributor configuration deco33000 Jog
2015-01-21 16:30 ` Bruce Richardson
     [not found]   ` <3621191421867764@web4m.yandex.ru>
2015-01-21 19:25     ` deco33000 Jog

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