Commit dcc25139 authored by Jim Harris's avatar Jim Harris Committed by Tomasz Zawadzki
Browse files

env: change get_socket_id deprecations to v25.09 release



We never released v25.01, so we need to change these deprecations
to v25.09 to allow one release of deprecation notice before removing
them.

Signed-off-by: default avatarJim Harris <jim.harris@nvidia.com>
Change-Id: I753e2b8f8472ba2fb8d7d7fb5a2c2953dc92d10c
Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/25941


Tested-by: default avatarSPDK Automated Test System <spdkbot@gmail.com>
Reviewed-by: default avatarKonrad Sztyber <ksztyber@nvidia.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: default avatarTomasz Zawadzki <tomasz@tzawadzki.com>
parent 9759e5ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -38,5 +38,5 @@ a bdev of the correct size.

#### `spdk_env_get_socket_id`, `spdk_pci_device_get_socket_id`

These functions are deprecated and will be removed in 25.05 release. Please use
These functions are deprecated and will be removed in 25.09 release. Please use
`spdk_env_get_numa_id` and `spdk_pci_device_get_numa_id` instead.
+1 −1
Original line number Diff line number Diff line
@@ -938,7 +938,7 @@ spdk_pci_device_get_numa_id(struct spdk_pci_device *dev)
	return dev->numa_id;
}

SPDK_LOG_DEPRECATION_REGISTER(pci_device_socket_id, "spdk_pci_device_get_socket_id", "v25.05", 0);
SPDK_LOG_DEPRECATION_REGISTER(pci_device_socket_id, "spdk_pci_device_get_socket_id", "v25.09", 0);

int
spdk_pci_device_get_socket_id(struct spdk_pci_device *dev)
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ spdk_env_get_numa_id(uint32_t core)
	return rte_lcore_to_socket_id(core);
}

SPDK_LOG_DEPRECATION_REGISTER(env_socket_id, "spdk_env_get_socket_id", "v25.05", 0);
SPDK_LOG_DEPRECATION_REGISTER(env_socket_id, "spdk_env_get_socket_id", "v25.09", 0);

uint32_t
spdk_env_get_socket_id(uint32_t core)