diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e8254753..e256a5e33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/include/spdk/env.h b/include/spdk/env.h index 4940f52ab..c5ae5d863 100644 --- a/include/spdk/env.h +++ b/include/spdk/env.h @@ -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;