lib/vfu_tgt: spdk_vfu_endpoint_ops.destruct retriesThis patch allows the spdk_vfu_endpoint_ops.destruct to return -EAGAINwhich means the desctruction has not been finished yet.The lib/vfu_tgt ca
lib/vfu_tgt: spdk_vfu_endpoint_ops.destruct retriesThis patch allows the spdk_vfu_endpoint_ops.destruct to return -EAGAINwhich means the desctruction has not been finished yet.The lib/vfu_tgt calls the spdk_vfu_endpoint_ops.destruct until itreturns 0 or an error code other than -EAGAIN.Change-Id: I5ff7909c79725532e25d770587ee6265ccc11d1aSigned-off-by: Anton Nayshtut <anayshtut@nvidia.com>Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25024Community-CI: Mellanox Build BotTested-by: SPDK CI Jenkins <sys_sgci@intel.com>Reviewed-by: Jim Harris <jim.harris@samsung.com>Reviewed-by: Changpeng Liu <changpeliu@tencent.com>Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
show more ...
general: fix misspells and typosSigned-off-by: Kamil Godzwon <kamilx.godzwon@intel.com>Change-Id: Iab206ef526eb7032c6681a3145450010c91705a4Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+
general: fix misspells and typosSigned-off-by: Kamil Godzwon <kamilx.godzwon@intel.com>Change-Id: Iab206ef526eb7032c6681a3145450010c91705a4Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24120Community-CI: Mellanox Build BotReviewed-by: Karol Latecki <karol.latecki@intel.com>Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>Reviewed-by: Jim Harris <jim.harris@samsung.com>
so_ver: increase all major versions after SPDK 24.01To allow SO_MINOR updates on LTS for the whole year it is supported,the major version for all components needs to be increased.This is to preve
so_ver: increase all major versions after SPDK 24.01To allow SO_MINOR updates on LTS for the whole year it is supported,the major version for all components needs to be increased.This is to prevent scenario where two versions exists with matchingversions, but conflicting ABI.Ex. Next SPDK release adds an API call increasing the minor version,then LTS needs just a subset of those additions.Increasing major so version after LTS, allows the future releasesto update versions as needed. Yet allowing LTS to increase minorversion separately.This patch:- increases SO_VER by 1 for all components- resets SO_MINOR to 0 for all componentsDue to patch below being introduced after v24.01 code freeze,bdev lib version should not be increased:61623c5ca9 bdev: add spdk_bdev_io padding in place of io_submit_chShort reference to how the versions were changed:MAX=$(git grep "SO_VER := " | cut -d" " -f 3 | sort -ubnr | head -1)for((i=$MAX;i>0;i-=1)); do find . -name "Makefile" -exec \ sed -i -e "s/SO_VER := $i\$/SO_VER := $(($i+1))/g" {} +; donefind . -name "Makefile" -exec \ sed -i -e "s/SO_MINOR := .*/SO_MINOR := 0/g" {} +Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>Change-Id: I0166d6be6c17bbbf985d48b5dfcb36f1d4af1b48Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21582Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
so_ver: increase all major versionsTo allow SO_MINOR updates on LTS for the whole year it is supported,the major version for all components needs to be increased.This is to prevent scenario where
so_ver: increase all major versionsTo allow SO_MINOR updates on LTS for the whole year it is supported,the major version for all components needs to be increased.This is to prevent scenario where two versions exists with matchingversions, but conflicting ABI.Ex. Next SPDK release adds an API call increasing the minor version,then LTS needs just a subset of those additions.Increasing major so version after LTS, allows the future releasesto update versions as needed. Yet allowing LTS to increase minorversion separately.Disabled test for increasing SO version without ABI change, asthat is goal of this patch. This check shall be removed with SPDK 23.05release.Looks like this was left over from prior LTS, to avoid thatmake sure it is only skipped when running against v23.01.x as latestrelease.This patch:- increases SO_VER by 1 for all components- resets SO_MINOR to 0 for all components- removes suppressions for ABI testsShort reference to how the versions were changed:MAX=$(git grep "SO_VER := " | cut -d" " -f 3 | sort -ubnr | head -1)for((i=$MAX;i>0;i-=1)); do find . -name "Makefile" -exec \ sed -i -e "s/SO_VER := $i\$/SO_VER := $(($i+1))/g" {} +; donefind . -name "Makefile" -exec \ sed -i -e "s/SO_MINOR := .*/SO_MINOR := 0/g" {} +Change-Id: I3e5681802c0a5ac6d7d652a18896997cd07cc8bfSigned-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16419Reviewed-by: Ben Walker <benjamin.walker@intel.com>Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
update Intel copyright noticesper Intel policy to include file commit date using git cmdbelow. The policy does not apply to non-Intel (C) notices.git log --follow -C90% --format=%ad --date defa
update Intel copyright noticesper Intel policy to include file commit date using git cmdbelow. The policy does not apply to non-Intel (C) notices.git log --follow -C90% --format=%ad --date default <file> | tail -1and then pull just the 4 digit year from the result.Intel copyrights were not added to files where Intel either hadno contribution ot the contribution lacked substance (ie licenseheader updates, formatting changes, etc). Contribution date used"--follow -C95%" to get the most accurate date.Note that several files in this patch didn't end the license/(c)block with a blank comment line so these were added as the vastmajority of files do have this last blank line. Simply there forconsistency.Signed-off-by: paul luse <paul.e.luse@intel.com>Change-Id: Id5b7ce4f658fe87132f14139ead58d6e285c04d4Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15192Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>Reviewed-by: Jim Harris <james.r.harris@intel.com>Reviewed-by: Ben Walker <benjamin.walker@intel.com>Community-CI: Mellanox Build Bot
lib/vfu_tgt: add library for PCI device emulationPreviously SPDK use libvfio-user library to provide emulated NVMedevices to VM, but it's limited to NVMe device type only. Here weadd SPDK vfu_ta
lib/vfu_tgt: add library for PCI device emulationPreviously SPDK use libvfio-user library to provide emulated NVMedevices to VM, but it's limited to NVMe device type only. Here weadd SPDK vfu_target library abstraction based on libvfio-user whichsupports more PCI device types.We will add virtio-blk and virtio-scsi devices emulation based onvfu_tgt library in following patches, actually this library cansupport NVMe emulation too, due to the fact that the NVMe emulationis already exist, so we will keep the NVMe emulation which based onlibvfio-user directly as it is.Change-Id: Ib0ead6c6118fa62308355fe432003dd928a2fae9Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12597Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>Community-CI: Mellanox Build BotReviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>Reviewed-by: Ben Walker <benjamin.walker@intel.com>