Spdk/test/lib/nvme
Daniel Verkamp 50ff9de715 test/nvme/aer: clean up and simplify AER test
The NVMe AER test tries to submit a large number of Get Features
commands during the test cycle to ensure that admin queue wraparound
works and other commands can be issued while still handling AERs
correctly.  However, it tried to do this by submitting all of the Get
Features commands up front, which runs out of admin queue nvme_request
objects.

Change the test to submit one Get Features command per device and
resubmit it as it completes until the test is over.  This exercises
the queue wraparound case without submitting a large number of requests
at once, and it also simplifies the test code.

Change-Id: I7cf865b6a8d821f62bba3d889cd21fc929a4d484
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/366149
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ziye Yang <optimistyzy@gmail.com>
2017-06-21 14:04:14 -04:00
..
aer test/nvme/aer: clean up and simplify AER test 2017-06-21 14:04:14 -04:00
e2edp test/nvme: use stub to accelerate test time 2017-06-16 15:27:13 -04:00
overhead test/nvme: use stub to accelerate test time 2017-06-16 15:27:13 -04:00
reset env_dpdk: save and restore optind in spdk_env_init 2017-06-13 17:39:38 -04:00
sgl test/nvme: use stub to accelerate test time 2017-06-16 15:27:13 -04:00
unit test: add one unit test showing example of ut_mock wrap 2017-06-15 13:46:19 -04:00
hotplug.sh test/nvme: optimization of hotplug script. 2017-06-19 17:22:54 -04:00
Makefile nvme: add new test application to measure SW overhead 2016-08-01 12:58:30 -07:00
nvme.sh Autotest: Enable ASAN if there is asan lib 2017-06-20 18:00:15 -04:00
nvmemp.sh nvme: detach the pci device with calling process's own devhandle 2017-05-16 10:35:29 -07:00