This website requires JavaScript.
Explore
Help
Sign In
ivampiresp
/
Spdk
Watch
1
Star
0
Fork
0
You've already forked Spdk
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
a1fb441c84
Spdk
/
test
/
blobstore
/
btest.out.ignore
7 lines
50 B
Plaintext
Raw
Normal View
History
Unescape
Escape
test: add 'match' util and use it with blobstore Will follow this up with a doc change but want to make sure we're all good with it first. This is meant to not only beef up blobstore testing but provide the 'match' utilitiy for all test cases where we are currently calling an executable and either counting only on a return code to determine success or failure or worse yet we're just running it and if it doesn't explode we assume its a pass. The 'match' util was borrowed from the PMDK folks after first adding the "ignore" feature upstream to make it easier to use in SPDK. It works like this: When the developer checks in a test they create and check in the output of the test with two different file extensions: .ignore: should include a string per line for output lines that we want to totally ignore typically because they're platform specific so the output could be different from machine to machine. In this case I'm ignoring all output lines with 'DPDK' or 'EAL' or '...' in them. The first few are obvious, the last is because the test tool will print a varrying number of these as progress indicators. .match: this is a copy of the output that the developer 'fixes' up by replacing platform specific output strings with replacable tokens as described in the 'match' help. This is where you'd want to match an entire line minus something like a CPU count or free block count or something. The 'ignore' feature was added simply so we wouldn't have to edit every single line of an output file that had DPDK or EAL in it. Then you modify the test script to save the output and smply run the match util providing the name of the match file and if it fails to match the actual output with the saved output that's been token'ized the script will error. The obvious advantage here is that now we can confirm all of the output from a test executable is as we expect. Change-Id: I701d36ee83d37b6193e16ed3171e114f814e5eb3 Signed-off-by: paul luse <paul.e.luse@intel.com> Reviewed-on: https://review.gerrithub.io/397027 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-01-29 22:33:02 +00:00
DPDK
EAL
test/blob: fix match tool with blobcli Empty line in ignore file caused all output from the match tool to be ignored. This made the test to always pass, regardless of changes made. Next patch in series will be fixing the match tool, meanwhile this patch focuses on making the blobstore test match and ignore files right. This patch adjusts match file in following ways: - keep EAL and crypto output up to date - use $(N) to match any blob id - adjust out of date xattr value print Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Ia0a2312d9691487acbdd06dc08451232171cc46d Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/483705 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
2020-02-03 11:58:28 +00:00
Working
vbdev_crypto.c: Always initialize crypto drivers up front This helps us avoid situations where other bdev modules will break the rte_pci_bus mappings for qat devices before we have an opportunity to initialize the qat pmd. Also, update the blobstore match file to handle the possibility of using a crypto driver and improve the json_config and spdkcli scripts to handle allocating qat_crypto drivers. Change-Id: I7359c67d1992df1d5bb85585eca6d5c342787649 Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/430393 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2018-10-23 00:00:33 +00:00
test/blob: fix match tool with blobcli Empty line in ignore file caused all output from the match tool to be ignored. This made the test to always pass, regardless of changes made. Next patch in series will be fixing the match tool, meanwhile this patch focuses on making the blobstore test match and ignore files right. This patch adjusts match file in following ways: - keep EAL and crypto output up to date - use $(N) to match any blob id - adjust out of date xattr value print Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Ia0a2312d9691487acbdd06dc08451232171cc46d Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/483705 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
2020-02-03 11:58:28 +00:00
cryptodev_aesni_mb_create
scheduler: Change main core frequency dynamically Use DPDK based governor to change first core frequency in dynamic scheduler. Core frequencies are adjusted based on relative usages. Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: Ibeb9ca59fd67df27cfb0bfe752e66e5eef41b126 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5438 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> Reviewed-by: Paul Luse <paul.e.luse@intel.com>
2020-12-17 09:10:53 +00:00
POWER
Reference in New Issue
Copy Permalink