Spdk/test
Seth Howell fcaabb48fa queue_extras: use SPDK_CONTAINEROF
A couple of the functions inside of the queue_extras file were relying
on an undefined __containerof function. Replace that with
SPDK_CONTAINEROF. Then add an extra check so that when someone includes
this file on FreeBSD, it doesn't throw compiler warnings for the
redefinitions (see our cpp headers test for example).

The argument order for both functions is the same, namely pointer, type,
member.

Change-Id: I1bd0497ee14df8b37f4de1046e271e5fe144ca82
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/470191
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com>
2019-10-07 15:06:01 +00:00
..
app RPC: rename start_subsystem_init to framework_start_init 2019-09-30 21:13:41 +00:00
bdev test/blcokdev: don't print the output of fio. 2019-10-04 15:16:49 +00:00
blobfs test: remove test plan .md files 2019-09-10 22:57:04 +00:00
blobstore RPC: rename get_bdev_histogram to bdev_get_histogram 2019-09-13 22:39:15 +00:00
common test: Shellcheck - correct rule: "Use '[:lower:]'" 2019-10-07 11:29:29 +00:00
compress test/compress: Use gen_nvme.sh to create NVMe device 2019-09-27 14:57:20 +00:00
config_converter RPC: rename set_nvmf_target_config to nvmf_set_config 2019-09-26 15:19:43 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
env env: add spdk_pci_device_unclaim() 2019-09-18 20:34:39 +00:00
event notify: add notification library 2019-03-29 21:15:14 +00:00
ftl rpc: Rename stop_nbd_disk to nbd_stop_disk 2019-09-19 20:56:35 +00:00
fuzz RPC: rename start_subsystem_init to framework_start_init 2019-09-30 21:13:41 +00:00
ioat test: remove duplicated set -ex from tests 2019-06-19 03:54:58 +00:00
iscsi_tgt rpc: Rename get_scsi_devices to scsi_get_devices 2019-10-03 23:01:27 +00:00
json_config rpc: Rename set_vhost_controller_coalescing to vhost_controller_set_coalescing 2019-10-03 23:00:40 +00:00
lvol rpc: Rename stop_nbd_disk to nbd_stop_disk 2019-09-19 20:56:35 +00:00
make test/make: add ignored libs to check_so_deps.sh 2019-09-09 22:15:24 +00:00
nvme test/nvme: ignore ssh known_hosts when connecting to hotplug VM 2019-09-25 21:50:26 +00:00
nvmf test: Shellcheck - correct rule: "unlike globs" 2019-10-07 11:29:29 +00:00
ocf test: Shellcheck - correct rule "Remove surrounding $()" 2019-10-07 11:29:29 +00:00
openstack RPC: rename rpc get_bdevs to bdev_get_bdevs 2019-09-13 22:39:15 +00:00
pmem RPC: rename rpc get_bdevs to bdev_get_bdevs 2019-09-13 22:39:15 +00:00
rpc_client jsonrpc: tolerate null json value for parameters in json-rpc call 2019-07-26 19:30:57 +00:00
spdkcli lib/bdev: zoned info in get_bdevs RPC call 2019-10-02 21:13:16 +00:00
unit nvme: don't fail the ctrlr from ctrlr_process_init 2019-10-07 15:05:00 +00:00
vhost rpc: Rename remove_vhost_controller to vhost_delete_controller 2019-10-03 23:00:25 +00:00
vmd RPC: rename start_subsystem_init to framework_start_init 2019-09-30 21:13:41 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00