numam-spdk/scripts
Michal Berger 77c4d0f673 scripts/common: Add functions for comparing version strings
This is introduced mainly for convenience. Examples of supported usage:

eq 0xf.1 15.1 # true
gt 1.1.00 2 # false
le 2.33.4 2.44.02 # true
ge 03.03.03 3.3.01 # true
lt 1 0 # false
ge 4.19.0-6-amd64 4.10.0-6-amd64 # true
neq 0.0 0 # false

Change-Id: Iac05fce03bfe95f85ab1c8a7c24c4553ffc6776a
Signed-off-by: Michal Berger <michalx.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4808
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2020-10-22 15:01:09 +00:00
..
bash-completion scripts/pkgdep: Add bash-completion for SPDK apps and tools 2020-08-24 07:37:21 +00:00
ceph check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
perf perf/nvmf: replace bdev INI configs with JSON 2020-10-22 10:12:02 +00:00
pkgdep Add requirements.txt for Python Pip 2020-10-20 08:54:25 +00:00
rpc nvmf/rdma: Add RPC to set new RDMA batching option 2020-10-21 02:25:32 +00:00
spdkcli lib/iscsi: Create portal group as public or private portal group 2020-08-11 08:27:43 +00:00
vagrant scripts/vagrant: fix namespace condition 2020-10-08 13:11:08 +00:00
check_format.sh scripts/check_format: match exact string when moving symbols 2020-10-05 08:23:58 +00:00
common.sh scripts/common: Add functions for comparing version strings 2020-10-22 15:01:09 +00:00
config_converter.py vhost: deprecate internal vhost library support 2020-10-20 02:42:16 +00:00
detect_cc.sh check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
dpdk_mem_info.py scripts: add a parser for the dpdk memory stats. 2020-01-24 05:46:43 +00:00
eofnl scripts/check_format: check trailing whitespace 2017-10-24 17:35:23 -04:00
fio.py scripts/fio.py: add argparse for command line parameters 2019-06-03 04:34:10 +00:00
gdb_macros.py scripts: Use range instead of xrange 2019-02-13 22:54:15 +00:00
gen_ftl.sh check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
gen_nvme.sh Script: update the JSON content generation 2020-08-24 07:37:53 +00:00
genconfig.py genconfig.py: allow numbers in config option names 2020-02-20 14:40:19 +00:00
histogram.py histograms: add script for parsing histogram data 2019-01-24 14:14:32 +00:00
iostat.py script: add iostat.py to check bdev iostat 2020-01-22 13:51:41 +00:00
pkgdep.sh scripts/pkgdep: Move distro independent parts to a common place 2020-08-10 11:28:20 +00:00
posix.txt build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
prep_benchmarks.sh check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
qat_setup.sh check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
rpc_http_proxy.py scripts: Add SSL certificate option in rpc_http_proxy 2020-05-05 08:04:00 +00:00
rpc.py nvmf/rdma: Add RPC to set new RDMA batching option 2020-10-21 02:25:32 +00:00
rxe_cfg_small.sh rxe_cfg_small: Align the way how devices are added|removed 2020-08-27 08:36:17 +00:00
setup.sh scripts/setup: Move fallback driver check to collect_driver() 2020-10-21 15:08:18 +00:00
spdkcli.py scripts/spdkcli: Stay on command input. 2020-07-08 07:55:15 +00:00
sync_dev_uevents.sh scripts: Add tool for keeping uevents in sync 2020-09-07 09:27:42 +00:00