mem: do not check for invalid socket ID
authorAnatoly Burakov <anatoly.burakov@intel.com>
Tue, 2 Oct 2018 13:34:42 +0000 (14:34 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 11 Oct 2018 08:37:45 +0000 (10:37 +0200)
commitf473b6d1912908088a6ac66a1bc3fea6f5500458
treeefdc2773c9c05d2da13ad6c23a5da5dfcddb3635
parent72cf92b318558db98312e49b548aa93e237eded7
mem: do not check for invalid socket ID

We will be assigning "invalid" socket ID's to external heap, and
malloc will now be able to verify if a supplied socket ID is in
fact a valid one, rendering parameter checks for sockets
obsolete.

This changes the semantics of what we understand by "socket ID",
so document the change in the release notes.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
doc/guides/rel_notes/release_18_11.rst
lib/librte_eal/common/eal_common_memzone.c
lib/librte_eal/common/malloc_heap.c
lib/librte_eal/common/rte_malloc.c