| /spdk/test/app/ |
| H A D | version.sh | 13 grep -E "^#define SPDK_VERSION_${1^^}[[:space:]]+" "$rootdir/include/spdk/version.h" \ 22 version="${major}.${minor}" 24 # If patch is zero, we don't keep it in the version 25 ((patch != 0)) && version="${version}.${patch}" 26 # In python world, the version format is a little different than what we use (see PEP 440), so we 28 version="${version}${suffix/-pre/rc0}" 31 [[ "$py_version" == "$version" ]]
|
| /spdk/scripts/env_dpdk/ |
| H A D | README.md | 25 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/unit/lib/ftl/ftl_sb/ |
| H A D | ftl_sb_ut.c | 155 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/lib/ftl/ |
| H A D | ftl_sb.c | 32 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 …]
|
| /spdk/test/nvmf/target/ |
| H A D | tls.sh | 73 # 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/lib/ftl/upgrade/ |
| H A D | ftl_layout_upgrade.h | 43 /* New region version (i.e. after the upgrade) */ 51 * for updating to latest metadata version. For example version 0 of metadata region will have no descriptors 52 * (as it's by definition up to date and there's no need to upgrade it), while version 2 will have 2 (0 -> 1 56 /* Latest version of the region */ 77 /* New region version (i.e. after the upgrade) */ 91 * @brief Disable region upgrade for particular version. 100 * @brief Enable region upgrade for particular version. 171 * Upgrades the SB MD layout and region's prev version descriptor to the just upgraded version [all...] |
| H A D | ftl_layout_upgrade.c | 27 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 D | ftl_sb_upgrade.c | 33 if (reg->current.version <= ftl_layout_upgrade_region_get_latest_version(reg->type)) { in sb_v4_to_v5_verify() 34 /* Only latest region version found */ in sb_v4_to_v5_verify() 38 /* Previous version found, major upgrade */ 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() 151 /* Bump up the version */ in sb_v4_to_v5_upgrade() 152 sb->v5.header.version = FTL_SB_VERSION_5; in sb_v4_to_v5_upgrade()
|
| H A D | ftl_sb_v3.c | 98 /* Find the oldest region version */ in ftl_superblock_v3_md_layout_load_all() 99 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 D | ftl_sb_v5.c | 314 rc = ftl_layout_tracker_bdev_rm_region(layout_tracker, reg->type, reg->current.version); in sb_md_layout_delete_prev_region() 315 /* Version 0 indicates a placeholder for creation of a new region */ 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 in ftl_superblock_v5_md_layout_upgrade_region() [all...] |
| /spdk/test/packaging/rpm/ |
| H A D | rpm.sh | 35 Version: $1 50 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" 138 …echo "INFO: Installing DPDK from local package: $(rpm -q --queryformat="%{VERSION}" "${dpdk_rpms[0… 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" 190 "$(< $SPDK_RUN_EXTERNAL_DPDK/../VERSION)"
|
| /spdk/scripts/pkgdep/ |
| H A D | common.sh | 39 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/unit/lib/ftl/ftl_layout_upgrade/ |
| H A D | ftl_layout_upgrade_ut.c | 150 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/rpmbuild/ |
| H A D | rpm.sh | 44 # Fedora builds its python version with a patch which attempts to remove all 67 local version 68 version=$(git -C "$rootdir" describe --tags --abbrev=0) 70 echo "${version%%-*}" 80 macros+=(-D "version $version") 175 : > "$_sourcedir/spdk-$version.tar.gz" 190 version=${SPDK_VERSION:-$(get_version)}
|
| /spdk/test/make/ |
| H A D | check_so_deps.sh | 21 echo " latest version is pulled and deleted after test" 91 local tag version major minor patch suffix 94 version="$1" 96 IFS='.-' read -r major minor patch suffix < "$rootdir/VERSION" 97 version="v$major.$minor" 98 ((patch > 0)) && version+=".$patch" 99 version+=${suffix:+-$suffix} 102 tag=$(git describe --tags --abbrev=0 --exclude=LTS --exclude="*-pre" "$version") 207 echo "Please update the major SO version for $so_file. A header accessible type has been modified since last release." 216 echo "Please update the major SO version fo [all...] |
| /spdk/lib/ftl/utils/ |
| H A D | ftl_layout_tracker_bdev.h | 19 /* Region version */ 55 * @param reg_ver FTL layout region version 70 * @param reg_ver FTL layout region version 117 * @param reg_ver FTL layout region version
|
| /spdk/app/fio/nvme/ |
| H A D | README.md | 11 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:
|
| /spdk/module/bdev/raid/ |
| H A D | bdev_raid_sb.c | 72 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() 165 SPDK_ERRLOG("Not supported superblock major version %d on bdev %s\n", 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() 171 …SPDK_WARNLOG("Superblock minor version %d on bdev %s is higher than the currently supported: %d\n", 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/.github/ |
| H A D | dependabot.yml | 1 # To get started with Dependabot version updates, you'll need to specify which 6 version: 2
|
| /spdk/scripts/ |
| H A D | check_format.sh | 14 # 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...] |
| H A D | qat_setup.sh | 25 v=$(< /sys/module/intel_qat/version) 31 # Check the version of loaded module against the version of the same module as seen 36 if [[ $(modinfo -F version intel_qat) == "$v" ]]; then 38 Upstream intel_qat driver detected. Same version of the driver is seen
|
| /spdk/test/common/ |
| H A D | autobuild_common.sh | 30 # Find matching llvm fuzzer library and clang compiler version 32 [[ $(clang --version) =~ "version "(([0-9]+).([0-9]+).([0-9]+)) ]] 87 dpdk_ver=$(< "$external_dpdk_base_dir/VERSION") 109 # Starting from 24.11.0, the minimum supported version of intel-ipsec-mb is 115 # Minimum supported version of intel-ipsec-mb, for DPDK >= 21.11, is 1.0. 131 # 21.11.0 is version of DPDK with stable support for mlx5 crypto. 133 # SPDK enables CRYPTO_MLX in case supported version of DPDK is detected 161 # SPDK enables REDUCE_MLX in case supported version of DPDK is detected 330 doxygenv=$(doxygen --version) [all...] |
| /spdk/doc/ |
| H A D | rpm.md | 27 - 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/.github/ISSUE_TEMPLATE/ |
| H A D | bug_report.md | 35 ## Context (Environment including OS version, SPDK version, etc.)
|
| /spdk/lib/vfio_user/host/ |
| H A D | vfio_user.c | 232 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() 243 SPDK_DEBUGLOG(vfio_user, "%s Negotiate version %u.%u\n", vfio_user_message_str[VFIO_USER_VERSION], in vfio_user_check_version() 244 version->major, version->minor); in vfio_user_check_version()
|