Spdk/test/unit/lib/nvmf
Alexey Marchuk 3d8904c66b nvmf: Add discovery filtering rules
SPDK nvmf target reports all listeners on all subsystems
in discovery pages, kernel target reports only subsystems
listening on a port where discovery command is received.

NVMEoF specification allows to specify any addresses/
transport types. Ch 5: The set of Discovery Log entries should
include all applicable addresses on the same fabric as the
Discovery Service and may include addresses on other fabrics.

To align SPDK and kernel targets behaviour, add filtering
rules to allow flexible configuration of what should be
listed in discovery log page entries.

Fixes #2082

Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com>
Change-Id: Ie981edebb29206793d3310940034dcbb22c52441
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9185
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>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
2021-10-25 22:57:48 +00:00
..
ctrlr_bdev.c test/nvmf/ctrlr_bdev: cases for ctrlr reading and writing cmd 2021-09-27 10:54:08 +00:00
ctrlr_discovery.c nvmf: Add discovery filtering rules 2021-10-25 22:57:48 +00:00
ctrlr.c nvmf: Add discovery filtering rules 2021-10-25 22:57:48 +00:00
fc_ls.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
fc.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvmf.c nvmf: Correct the error path of transport creation. 2021-09-08 08:08:41 +00:00
rdma.c nvmf: deduplicate transport listen dump opts 2021-09-06 09:53:57 +00:00
subsystem.c test/nvmf/subsystem: cases for restoring ns reservation 2021-09-24 07:42:51 +00:00
tcp.c nvmf: Add discovery filtering rules 2021-10-25 22:57:48 +00:00
transport.c test/nvmf/transport: cases for creating polling group 2021-09-22 06:58:51 +00:00
vfio_user.c nvmf/vfio-user: check SQ doorbell is valid or not before use 2021-09-30 08:08:05 +00:00
Makefile test/nvmf: only build and run transport_ut.c when RDMA is enabled 2021-09-01 07:34:37 +00:00