Home
last modified time | relevance | path

Searched refs:version (Results 1 – 25 of 86) sorted by relevance

1234

/spdk/lib/ftl/
H A Dftl_sb.c32 sb_get_ops(uint64_t version) in sb_get_ops() argument
68 if (version >= SPDK_COUNTOF(ops)) { in sb_get_ops()
72 return &ops[version]; in sb_get_ops()
85 struct sb_ops *ops = sb_get_ops(sb_ver->header.version); in ftl_superblock_check_magic()
98 struct sb_ops *ops = sb_get_ops(sb_ver->header.version); in ftl_superblock_is_blob_area_empty()
110 struct sb_ops *ops = sb_get_ops(dev->sb->header.version); in ftl_superblock_validate_blob_area()
121 struct sb_ops *ops = sb_get_ops(dev->sb->header.version); in ftl_superblock_store_blob_area()
133 struct sb_ops *ops = sb_get_ops(dev->sb->header.version); in ftl_superblock_load_blob_area()
146 struct sb_ops *ops = sb_get_ops(dev->sb->header.version); in ftl_superblock_md_layout_upgrade_region()
158 struct sb_ops *ops = sb_get_ops(dev->sb->header.version); in ftl_superblock_md_layout_apply()
[all …]
H A Dftl_sb_common.h43 uint64_t version; member
50 uint32_t version; member
/spdk/test/unit/lib/ftl/ftl_sb/
H A Dftl_sb_ut.c155 reg->current.version = ftl_layout_upgrade_region_get_latest_version(regno); in test_setup()
189 sb->header.version = ver; in test_setup_sb_ver()
297 sb_reg->version = reg_version; in test_superblock_v3_md_layout_add()
357 if (test_superblock_v3_md_layout_add(dev, sb_reg, reg->type, reg->current.version, in test_ftl_superblock_v3_md_layout_build()
402 if (sb_reg->type == reg_type && sb_reg->version == reg_ver) { in test_sb_v3_find_region_ver()
500 /* load succeeded, no prev version found: */ in test_sb_v3_md_layout()
504 CU_ASSERT_EQUAL(reg_head->current.version, in test_sb_v3_md_layout()
508 /* load succeeded, prev (upgrade, i.e. no current) version discovery: */ in test_sb_v3_md_layout()
515 sb_reg->version--; in test_sb_v3_md_layout()
518 CU_ASSERT_EQUAL(reg->current.version, sb_re in test_sb_v3_md_layout()
[all...]
/spdk/scripts/env_dpdk/
H A DREADME.md25 currently tested DPDK version. This should be done only for cosmetic changes,
28 ## Workarounds for specific DPDK version
35 particular DPDK PCI API version. Then a patch should be added in
36 `spdk_root/scripts/env_dpdk/<ver>` where ver is the matching DPDK version.
37 Filename for any patch within that directory should start with first DPDK version
40 ## Flow for adding support for new DPDK PCI API version
43 where ver is the appropriate DPDK version name. There the relevant headers should be copied.
45 Please note that the directories should match only the first DPDK version that modified the API.
46 Not every DPDK version requires new directory.
/spdk/test/packaging/rpm/
H A Drpm.sh50 local dpdkdir=$1 version=${2%.*} spec=$builddir/dpdk.spec
61 gen_dpdk_spec "$version" "$release" > "$spec"
89 sudo rpm -i "$rpmdir/$arch/dpdk-devel-$version-$release.$arch.rpm"
156 local version=test_gen_spec
161 SPDK_VERSION="$version" \
173 cp -r "$rootdir" "/tmp/spdk-$version"
174 tar -czf "$sourcedir/spdk-$version.tar.gz" -C /tmp "spdk-$version"
/spdk/lib/ftl/upgrade/
H A Dftl_sb_v3.c99 if (reg->type == FTL_LAYOUT_REGION_TYPE_INVALID || sb_reg->version < reg->current.version) { in ftl_superblock_v3_md_layout_load_all()
103 reg->current.version = sb_reg->version; in ftl_superblock_v3_md_layout_load_all()
104 } else if (sb_reg->version == reg->current.version) { in ftl_superblock_v3_md_layout_load_all()
160 … ftl_df_get_obj_id(sb, sb_reg), sb_reg->type, sb_reg->version, sb_reg->blk_offs, sb_reg->blk_sz); in ftl_superblock_v3_md_layout_dump()
H A Dftl_layout_upgrade.c27 FTL_ERRLOG(dev, "FTL major upgrade ERROR, required upgrade shutdown in the previous version\n"); in ftl_region_major_upgrade_enabled()
144 ver = ctx->reg->current.version; in region_verify()
146 FTL_ERRLOG(dev, "Unknown region version\n"); in region_verify()
169 assert(ctx->reg->current.version <= ctx->upgrade->latest_ver); in ftl_region_upgrade()
170 ver = ctx->reg->current.version; in ftl_region_upgrade()
185 assert(ctx->reg->current.version < ctx->next_reg_ver); in ftl_region_upgrade_completed()
190 /* Superblock region is always default-created in the latest version - see ftl_layout_setup_superblock() */ in ftl_region_upgrade_completed()
200 ctx->reg->current.version = ctx->next_reg_ver; in ftl_region_upgrade_completed()
261 reg->current.version = dev->sb->header.version; in ftl_superblock_upgrade()
[all...]
H A Dftl_sb_upgrade.c33 if (reg->current.version <= ftl_layout_upgrade_region_get_latest_version(reg->type)) { in sb_v4_to_v5_verify()
42 reg->type, reg->current.version, ftl_layout_upgrade_region_get_latest_version(reg->type), in sb_v4_to_v5_verify()
103 sb_reg->version, sb_reg->blk_offs, sb_reg->blk_sz); in sb_v3_md_layout_convert()
106 sb_reg->version, sb_reg->blk_offs, sb_reg->blk_sz); in sb_v3_md_layout_convert()
111 sb_reg->type, sb_reg->version, sb_reg->blk_offs, sb_reg->blk_sz); in sb_v3_md_layout_convert()
152 sb->v5.header.version = FTL_SB_VERSION_5; in sb_v4_to_v5_upgrade()
H A Dftl_sb_v5.c314 rc = ftl_layout_tracker_bdev_rm_region(layout_tracker, reg->type, reg->current.version); in sb_md_layout_delete_prev_region()
316 ftl_bug(reg->current.version != 0 && rc != 0); in sb_md_layout_delete_prev_region()
337 /* Insert the same region with new version */ in sb_md_layout_update_prev_region()
342 /* Verify the oldest region version stored in the SB is the new_version */ in sb_md_layout_update_prev_region()
356 ftl_bug(reg->current.version >= new_version); in ftl_superblock_v5_md_layout_upgrade_region()
362 * Found a new MD region allocated for upgrade to the next version. in ftl_superblock_v5_md_layout_upgrade_region()
363 * Destroy the previous version now that the upgrade is completed. in ftl_superblock_v5_md_layout_upgrade_region()
374 * Update the version in place. in ftl_superblock_v5_md_layout_upgrade_region()
379 reg->current.version = new_version; in ftl_superblock_v5_md_layout_upgrade_region()
382 /* Audit the only region version store in ftl_superblock_v5_md_layout_upgrade_region()
[all...]
H A Dftl_band_upgrade.c49 uint64_t move = sizeof(band->version); in v2_upgrade_md_restore_cb()
63 band->version = FTL_BAND_VERSION_2; in v2_upgrade_md_restore_cb()
/spdk/test/nvmf/target/
H A Dtls.sh73 # Check default TLS version
74 version=$($rpc_py sock_impl_get_options -i ssl | jq -r .tls_version)
75 if [[ "$version" != "0" ]]; then
76 echo "TLS version was not set correctly $version != 0"
80 # Check TLS version set to 13
81 $rpc_py sock_impl_set_options -i ssl --tls-version 13
82 version=$($rpc_py sock_impl_get_options -i ssl | jq -r .tls_version)
83 if [[ "$version" != "13" ]]; then
84 echo "TLS version wa
[all...]
/spdk/scripts/pkgdep/
H A Dcommon.sh39 local version=$1 arch=$2 type=$3
44 echo "$shfmt_repo/releases/download/$version/shfmt_${version}_linux_${arch}"
56 git -C "$shfmt_dir" checkout "$version"
60 -ldflags "-w -s -extldflags '-static' -X main.version=$version" \
67 # Fetch version that has been tested
77 if hash "$shfmt" && [[ $("$shfmt" --version) == "$shfmt_version" ]]; then
154 # preferred version combination even if more recent versions
156 protocver=$(protoc --version
[all...]
/spdk/test/app/
H A Dversion.sh25 ((patch != 0)) && version="${version}.${patch}"
28 version="${version}${suffix/-pre/rc0}"
31 [[ "$py_version" == "$version" ]]
/spdk/rpmbuild/
H A Drpm.sh67 local version
68 version=$(git -C "$rootdir" describe --tags --abbrev=0)
80 macros+=(-D "version $version")
175 : > "$_sourcedir/spdk-$version.tar.gz"
190 version=${SPDK_VERSION:-$(get_version)}
/spdk/test/unit/lib/ftl/ftl_layout_upgrade/
H A Dftl_layout_upgrade_ut.c150 reg->current.version = ftl_layout_upgrade_region_get_latest_version(regno); in test_setup()
181 sb->header.version = FTL_SB_VERSION_5; in test_setup_sb_v5()
216 tracker, reg->type, reg->current.version, reg->current.blocks, TEST_REG_BLKS); in test_l2p_upgrade()
219 CU_ASSERT_EQUAL(reg->current.version, reg_props->ver); in test_l2p_upgrade()
238 /* fix l2p region version to v0 */ in test_l2p_upgrade()
244 reg->current.version = 0; in test_l2p_upgrade()
277 ctx.reg->current.version = g_dev.sb->header.version; in test_l2p_upgrade()
301 prev_ver = ctx.reg->current.version; in test_l2p_upgrade()
304 CU_ASSERT_TRUE(prev_ver < ctx.reg->current.version); in test_l2p_upgrade()
[all...]
/spdk/scripts/
H A Dqat_setup.sh25 v=$(< /sys/module/intel_qat/version)
36 if [[ $(modinfo -F version intel_qat) == "$v" ]]; then
38 Upstream intel_qat driver detected. Same version of the driver is seen
H A Dcheck_format.sh14 # We need bash version >= 4.0 for mapfile builtin
15 echo "Please install bash version >= 4.0"
133 version=$(astyle --version | awk '{print $NF}')
134 if lt "$version" 3.0.1 || gt "$version" 3.1; then
135 echo " Your astyle version is not compatible so skipping coding style checks. Please use astyle version between 3.0.1 and 3.1"
540 shfmt_version=$("$bin" --version)
601 Supported version o
[all...]
/spdk/.github/ISSUE_TEMPLATE/
H A Dbug_report.md35 ## Context (Environment including OS version, SPDK version, etc.)
/spdk/module/bdev/raid/
H A Dbdev_raid_sb.c72 sb->version.major = RAID_BDEV_SB_VERSION_MAJOR; in raid_bdev_init_superblock()
73 sb->version.minor = RAID_BDEV_SB_VERSION_MINOR; in raid_bdev_init_superblock()
164 if (sb->version.major != RAID_BDEV_SB_VERSION_MAJOR) { in raid_bdev_parse_superblock()
166 sb->version.major, spdk_bdev_get_name(bdev)); in raid_bdev_parse_superblock()
170 if (sb->version.minor > RAID_BDEV_SB_VERSION_MINOR) { in raid_bdev_parse_superblock()
172 sb->version.minor, spdk_bdev_get_name(bdev), RAID_BDEV_SB_VERSION_MINOR); in raid_bdev_parse_superblock()
/spdk/lib/jsonrpc/
H A Djsonrpc_server.c14 const struct spdk_json_val *version; member
78 {"jsonrpc", offsetof(struct jsonrpc_request, version), capture_val, true},
96 if (req.version && (req.version->type != SPDK_JSON_VAL_STRING || in parse_single_request()
97 !spdk_json_strequal(req.version, "2.0"))) { in parse_single_request()
/spdk/lib/vfio_user/host/
H A Dvfio_user.c232 struct vfio_user_version *version = (struct vfio_user_version *)req.payload; in vfio_user_check_version() local
234 version->major = VFIO_USER_MAJOR_VER; in vfio_user_check_version()
235 version->minor = VFIO_USER_MINOR_VER; in vfio_user_check_version()
244 version->major, version->minor); in vfio_user_check_version()
/spdk/doc/
H A Drpm.md27 - RPM_RELEASE - Target release version of the RPM packages. Default: 1
29 - SPDK_VERSION - SPDK version. Default: currently checked out tag
66 present on the building system. The minimum required version of dpdk-devel
/spdk/python/
H A Dsetup.py10 setup(name='spdk', version=__version__, packages=find_packages())
/spdk/mk/
H A Dspdk.lib.mk15 $(error SO major version is not set for lib $(LIBNAME))
19 $(error SO minor version is not set for lib $(LIBNAME))
/spdk/app/fio/nvme/
H A DREADME.md11 Then check out the latest fio version and compile the code:
40 own version of DPDK, the fio plugin requires that DPDK be compiled with -fPIC. You can compile DPDK
143 To use Zoned Namespaces then build the io-engine against, and run using, a fio version >= 3.23 and …
162 If you use a fio version newer than 3.26, fio will automatically detect and set the proper value.
163 If you use an old version of fio, make sure to provide the proper --max_open_zones value yourself.
206 To use FDP enabled device build and run the io-engine against fio version >= 3.34 and add:

1234