lib/env: remove deprecated fields from spdk_env_opts

The fields were deprecated in SPDK 21.01.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: If6b946024bf1ce4c106cdf493bcb5662a3b21b13
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6592
Community-CI: Broadcom CI
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
Tomasz Zawadzki 2021-02-26 07:34:40 -05:00
parent 292b8e0c3e
commit 4fb0b89625
2 changed files with 5 additions and 12 deletions

View File

@ -12,6 +12,8 @@ Only one OCSSD bdev can be created for one OCSSD namespace.
Added spdk_pci_device_allow API to allow applications to add PCI addresses to
the allowed list after the application has started.
Removed the `pci_whitelist`, `pci_blacklist` and `master_core` members of struct `spdk_env_opts`.
### accel
Two new accelerated crc32 functions 'spdk_accel_submit_crc32cv' and

View File

@ -76,24 +76,15 @@ struct spdk_env_opts {
const char *core_mask;
int shm_id;
int mem_channel;
union {
int main_core;
int master_core __attribute__((deprecated));
};
int main_core;
int mem_size;
bool no_pci;
bool hugepage_single_segments;
bool unlink_hugepage;
size_t num_pci_addr;
const char *hugedir;
union {
struct spdk_pci_addr *pci_blocked;
struct spdk_pci_addr *pci_blacklist __attribute__((deprecated));
};
union {
struct spdk_pci_addr *pci_allowed;
struct spdk_pci_addr *pci_whitelist __attribute__((deprecated));
};
struct spdk_pci_addr *pci_blocked;
struct spdk_pci_addr *pci_allowed;
const char *iova_mode;
uint64_t base_virtaddr;