Spdk/test/unit/lib/nvme
Jim Harris 89e47f6014 nvme: create netlink socket during nvme_driver_init
This helps ensure thread safety on creation of the
netlink socket, when probe is called from multiple
threads at once.  It is also a lot more clean - we just
create it once, rather than checking every time probe
is called to see if it has to be created.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I528cedc3ff44de6ea8ecaf6d2389226502ba408e

Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2681
Community-CI: Broadcom CI
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-05-29 09:26:05 +00:00
..
nvme_ctrlr_cmd.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme_ctrlr_ocssd_cmd.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme_ctrlr.c nvme/ctrlr: Allow targets not supporting Keep Alive Timer feature ID 2020-05-07 10:41:31 +00:00
nvme_ns_cmd.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme_ns_ocssd_cmd.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme_ns.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme_pcie.c lib: net, notify, nvme, rocksdb remove spdk_ prefix. 2020-05-21 09:19:00 +00:00
nvme_poll_group.c lib/nvme: switch poll group to use connect/disconnect semantics. 2020-04-22 19:06:26 +00:00
nvme_qpair.c lib/nvme: disconnect qpairs if they are failed during reset. 2020-04-22 19:06:26 +00:00
nvme_quirks.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme_rdma.c nvme/rdma: Use RDMA provider API to create/destroy qpair 2020-05-20 12:03:50 +00:00
nvme_tcp.c nvme: implement epoll in the tcp transport. 2020-04-24 19:38:00 +00:00
nvme_uevent.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme.c nvme: create netlink socket during nvme_driver_init 2020-05-29 09:26:05 +00:00
Makefile test/unit: add poll_group unit tests. 2020-04-07 08:38:40 +00:00