+13
−0
+10
−0
+6
−0
+1
−0
Loading
By default, transports will just return SPDK_ENV_NUMA_ID_ANY. Future patches will add support to populate this on a transport-by-transport basis. Note that transports define their own ctrlr object, and embed spdk_nvmf_ctrlr inside of it. They use calloc() to allocate the structure. This means that the new numa_id member will always be set to 0. So we add numa_id_valid (which is also 0 by default) so that we can detect whether that 0 is a real numa_id set by the transport, or was just the default value implicitly set by transports that don't support numa_ids. Signed-off-by:Jim Harris <jim.harris@samsung.com> Change-Id: I0e7aaec053ec14c4e683187efa735df9c155f46a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24045 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by:
Ben Walker <ben@nvidia.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com>