buffers: support disabling allocation per numa domain 52/41252/4
authorLukas Stockner <[email protected]>
Tue, 18 Jun 2024 12:52:52 +0000 (14:52 +0200)
committerDamjan Marion <[email protected]>
Thu, 29 Aug 2024 08:40:34 +0000 (08:40 +0000)
commitb4808de24779cd0037568cff003b915e25edbdc6
tree3d991c2985267d738da5691d0ad77d59d45b7ec8
parentff17350ae04dd975c139685d01dc4818e50dbdfe
buffers: support disabling allocation per numa domain

Currently, the per-numa buffer allocation doesn't support skipping the
allocation altogether for a particular NUMA domain - if it's set to
zero, it instead uses the default allocation.

Therefore, this changes the behavior so that the default is only used
if no per-numa allocation is specified, and an allocation of zero
is honored by not allocating a buffer at all.

Type: improvement
Change-Id: Ie9133b179a88eb884aa3da921e65292daea0df2d
Signed-off-by: Lukas Stockner <[email protected]>
docs/configuration/reference.rst
src/vlib/buffer.c