numam-spdk/test/lib/bdev
Daniel Verkamp 9f237eac85 env_dpdk: save and restore optind in spdk_env_init
DPDK's use of getopt() needs special handling of the optind global
variable since we are passing it a separate array of arguments (not the
typical argv and argc).  Set optind to 1 internally to env_dpdk so that
the apps don't need to know about it, and restore optind in case the
calling app is also using getopt().

Change-Id: Icbf07002c99fa9f94c866e8eff707124b0ef679b
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/365062
Tested-by: 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>
2017-06-13 17:39:38 -04:00
..
bdevio bdev: spdk_bdev_[read|write|flush|unmap|reset] now return int 2017-06-08 16:35:49 -04:00
bdevperf env_dpdk: save and restore optind in spdk_env_init 2017-06-13 17:39:38 -04:00
bdev.conf.in bdev/aio: The user now provides the names of AIO bdevs 2017-03-20 15:18:03 -07:00
blockdev.sh test/bdev: temporarily disable bdevperf reset test 2017-04-14 15:42:08 -07:00
common.c bdev: Delete bdev_db 2016-08-02 09:08:51 -07:00
Makefile bdevio: refactor to use event framework and I/O channels 2016-10-11 16:24:30 -07:00