Commit 4fb0b896 authored by Tomasz Zawadzki's avatar Tomasz Zawadzki
Browse files

lib/env: remove deprecated fields from spdk_env_opts



The fields were deprecated in SPDK 21.01.

Signed-off-by: default avatarTomasz 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: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarAleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
parent 292b8e0c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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
+3 −12
Original line number Diff line number Diff line
@@ -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			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));
	};
	const char		*iova_mode;
	uint64_t		base_virtaddr;