netdev-dpdk: Make memory pool name contain the socket id.
authorAlex Wang <alexw@nicira.com>
Tue, 17 Jun 2014 00:19:11 +0000 (17:19 -0700)
committerAlex Wang <alexw@nicira.com>
Tue, 2 Sep 2014 22:46:57 +0000 (15:46 -0700)
commit34631d72fbb1ae7889c11e4bbaacce38b569547b
tree7a6f3f75ce4ecdc38978378da811cc8d210a54da
parent82706a6f1271e07c8acd7dea3cfdff0279b968a6
netdev-dpdk: Make memory pool name contain the socket id.

This commit makes the memory pool name contain the socket id.
Since dpdk library do not allow creation of memory pool with
same name, this commit serves as a simple way of making each
name unique.

Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
lib/netdev-dpdk.c