Go to file
Olivier Matz 926edd634e mem: fix rte_malloc(SOCKET_ID_ANY), try to allocate on other nodes
Before this patch, rte_malloc(SOCKET_ID_ANY) was equivalent to
rte_malloc(this_socket). If the user specifies SOCKET_ID_ANY, it means that
memory can be allocated on any socket. So fix the behavior of rte_malloc() in
order to do that. The current CPU socket is still the default, but if it fails,
other sockets are tested.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2014-02-26 11:07:27 +01:00
app kvargs: add test case in app/test 2014-02-26 11:01:14 +01:00
config kvargs: add a new library to parse key/value arguments 2014-02-26 11:01:13 +01:00
doc kvargs: add in doc 2014-02-26 11:01:14 +01:00
examples examples/netmap_compat: import netmap compatibility example 2014-02-26 10:47:59 +01:00
lib mem: fix rte_malloc(SOCKET_ID_ANY), try to allocate on other nodes 2014-02-26 11:07:27 +01:00
mk kvargs: add a new library to parse key/value arguments 2014-02-26 11:01:13 +01:00
scripts update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
tools update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
GNUmakefile add FreeBSD support 2014-02-25 21:29:18 +01:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
Makefile add FreeBSD support 2014-02-25 21:29:18 +01:00