Spdk/test/unit/lib
Ben Walker f08cea7169 nvmf: Perform QID validation using a bit mask
Instead of scanning a list of all qpairs, use a bit
mask to determine if the requested QID is unique.

This is not for performance reasons, but because
eventually the ctrlr's list of qpairs is going to
need to go away.

Change-Id: Ic25ee60e4f9cd9d596815719760d5be892f29d0c
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/413286
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2018-06-07 16:07:38 +00:00
..
bdev bdev: a new public function to get the I/O statistics of bdev 2018-05-23 17:49:21 +00:00
blob blobstore: freeze I/O during snapshoting. 2018-06-06 22:26:04 +00:00
blobfs test: move test_env.c under test/common/lib 2018-03-29 00:31:24 -04:00
event subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
ioat test: use spdk.unittest.mk for ioat unit tests 2018-02-14 10:40:40 -05:00
iscsi iscsi: Add JSON config/info dump for portal group. 2018-05-10 19:38:26 +00:00
json json: Add spdk_json_decode_uint16 2018-06-05 21:30:02 +00:00
jsonrpc jsonrpc: allow send_buf to grow as needed 2018-02-15 11:03:54 -05:00
log rpc.py: remove references of "debug" trace flag 2018-04-25 17:31:28 +00:00
lvol lvol: add lvol inflate function 2018-05-23 18:12:52 +00:00
net net: create NET_MODULE for compiling different net_implementations 2018-03-15 17:54:29 -04:00
nvme nvme: factor out request timeout checking 2018-06-07 15:46:50 +00:00
nvmf nvmf: Perform QID validation using a bit mask 2018-06-07 16:07:38 +00:00
scsi scsi: Change spdk_scsi_task_alloc/free_data() from public to private 2018-06-06 17:09:22 +00:00
util util/bit_array: add functions to count 0/1 bits 2018-06-04 17:24:48 +00:00
vhost bdev: Rename spdk_internal/bdev.h to spdk/bdev_module.h 2018-05-25 16:02:22 +00:00
json_mock.c subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
Makefile test: add spdk_sock unit tests 2018-02-12 12:30:39 -05:00