sched: allocate memory on the given socket id
authorJasvinder Singh <jasvinder.singh@intel.com>
Thu, 27 Sep 2018 17:10:45 +0000 (18:10 +0100)
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>
Mon, 8 Oct 2018 15:52:29 +0000 (17:52 +0200)
commit923010592a110de36572e3df68352a5e9670f49f
tree5ec29fe07dc4f7d079df9860526084abd1fd1c04
parent9378d24bef598345ee0b6d80bc854f5e44adeb02
sched: allocate memory on the given socket id

Replace rte_zmalloc() with rte_zmalloc_socket() to allocate
memory on the socket id provided by the application.

Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
lib/librte_sched/rte_sched.c