+146
−0
+5
−2
+3
−1
Loading
Add implementation of previously introduced subsystem_add_host() and subsystem_remove_host() callback in TCP transport. nvmf_subystem_add_host() generates PSK identity based on hostnqn and subnqn and stores it in a list inside nvmf TCP transport. nvmf_subsystem_remove_host() searches for a pair (subnqn, hostnqn) in the list and removes that entry. Change-Id: I244dd1b3eca7dd58896e1ee463e04865810c3916 Signed-off-by:Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15448 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Mellanox Build Bot