buffers: support per-numa-domain buffer size 35/41035/3
authorLukas Stockner <[email protected]>
Tue, 4 Jun 2024 14:14:55 +0000 (16:14 +0200)
committerDamjan Marion <[email protected]>
Wed, 5 Jun 2024 12:28:27 +0000 (12:28 +0000)
commit63ff7a63250c714048b8f9cf5920a8f5713c2a81
tree8d3112a0864e833c6319f733e04b1e098cda9b43
parentf4972f9232b45357db6266e07993b967fc87b172
buffers: support per-numa-domain buffer size

Currently, buffers-per-numa is used for all NUMA domains, and there's
no way to allocate different amounts for each domain.

Therefore, this adds a per-NUMA-domain buffer config section, which
currently has a single option to set the number of buffers.

If it's not specified or set to zero, the code falls back to
buffers-per-numa as before.

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