DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] using dpdk without glibc
@ 2014-02-23 17:48 Nulik Nol
  2014-02-23 20:33 ` Thomas Monjalon
  2014-02-24  6:11 ` Stephen Hemminger
  0 siblings, 2 replies; 3+ messages in thread
From: Nulik Nol @ 2014-02-23 17:48 UTC (permalink / raw)
  To: dev

Hi,
I need to develop an application to forward packets, but it must not
use GLIBC. It will not have malloc(), printf() and other functions
except syscalls. What files should I copy from DPDK distribution that
would allow me to manage the rings ? Is this doable or it will require
rewriting all the code, and probably I should write my own light DPDK
for this purpose ?

Thanks in advance
Nulik

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

* Re: [dpdk-dev] using dpdk without glibc
  2014-02-23 17:48 [dpdk-dev] using dpdk without glibc Nulik Nol
@ 2014-02-23 20:33 ` Thomas Monjalon
  2014-02-24  6:11 ` Stephen Hemminger
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2014-02-23 20:33 UTC (permalink / raw)
  To: Nulik Nol; +Cc: dev

Hi,

23/02/2014 11:48, Nulik Nol :
> I need to develop an application to forward packets, but it must not
> use GLIBC. It will not have malloc(), printf() and other functions
> except syscalls. What files should I copy from DPDK distribution that
> would allow me to manage the rings ? Is this doable or it will require
> rewriting all the code, and probably I should write my own light DPDK
> for this purpose ?

It seems a big challenge.
I think you should be more precise describing the libraries you need. Do you 
need only rings ? For which PMD ?

By the way, what's wrong with glibc ?

-- 
Thomas

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

* Re: [dpdk-dev] using dpdk without glibc
  2014-02-23 17:48 [dpdk-dev] using dpdk without glibc Nulik Nol
  2014-02-23 20:33 ` Thomas Monjalon
@ 2014-02-24  6:11 ` Stephen Hemminger
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Hemminger @ 2014-02-24  6:11 UTC (permalink / raw)
  To: Nulik Nol; +Cc: dev

If the restriction is size based, have you looked at the smaller libc
variants used in embedded world?
If the restriction  is a legal issue, you need to find a different lawyer...

On Sun, Feb 23, 2014 at 9:48 AM, Nulik Nol <nuliknol@gmail.com> wrote:
> Hi,
> I need to develop an application to forward packets, but it must not
> use GLIBC. It will not have malloc(), printf() and other functions
> except syscalls. What files should I copy from DPDK distribution that
> would allow me to manage the rings ? Is this doable or it will require
> rewriting all the code, and probably I should write my own light DPDK
> for this purpose ?
>
> Thanks in advance
> Nulik

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

end of thread, other threads:[~2014-02-24  6:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-23 17:48 [dpdk-dev] using dpdk without glibc Nulik Nol
2014-02-23 20:33 ` Thomas Monjalon
2014-02-24  6:11 ` 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).