DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] LD_PRELOAD libraries for DPDK to run unmodified applications with DPDK?
@ 2014-09-24 20:10 Malveeka Tewari
  2014-09-24 21:18 ` Matthew Hall
  0 siblings, 1 reply; 2+ messages in thread
From: Malveeka Tewari @ 2014-09-24 20:10 UTC (permalink / raw)
  To: dev

Hi all,

I've been trying to run unmodified applications with the DPDK framework.
I used the KNI module and while it allowed me to run stock applications
with DPDK infrastructure, it was not optimized for performance.

There is already a rump-kernel based  TCP/IP stack for DPDK

and another userland IP stack

But these solutions are again too heavy weight.
I am looking for something much simpler -- a lightweight  library that can
intercept the "sendto" calls made by the application (through LD_PRELOAD),
create corresponding rte_mbuf structures from the data buffer and pass it
to the NIC directly using the DPDK API, completely bypassing the kernel.
I realize this bypassing will not work for TCP, but perhaps such an
interposing library can be hooked to a user-space TCP implementation in
order to support TCP.

Does this approach sound reasonable or am I missing something?
And has this been done already?

Any thoughts/suggestions are welcome.


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

end of thread, other threads:[~2014-09-24 21:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-24 20:10 [dpdk-dev] LD_PRELOAD libraries for DPDK to run unmodified applications with DPDK? Malveeka Tewari
2014-09-24 21:18 ` Matthew Hall

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git