Kernel target
Overview
API for control kernel target of NVMe Over Fabrics
Copyright (C) 2004-2022 OKTET Labs Ltd. More…
// global functions te_errno tapi_nvme_kern_target_init(struct tapi_nvme_target* target, void* opts); te_errno tapi_nvme_kern_target_setup(struct tapi_nvme_target* target); void tapi_nvme_kern_target_cleanup(struct tapi_nvme_target* target); void tapi_nvme_kern_target_fini(struct tapi_nvme_target* target); // macros #define TAPI_NVME_KERN_METHODS_DEFAULTS #define TAPI_NVME_KERN_TARGET
Detailed Documentation
API for control kernel target of NVMe Over Fabrics
Copyright (C) 2004-2022 OKTET Labs Ltd. All rights reserved.
Global Functions
te_errno tapi_nvme_kern_target_init(struct tapi_nvme_target* target, void* opts)
Init kernel version implementation of target
Parameters:
target |
Target for setup |
Returns:
Status code
te_errno tapi_nvme_kern_target_setup(struct tapi_nvme_target* target)
Setup kernel version implementation of target
Parameters:
target |
Target for setup |
Returns:
Status code
void tapi_nvme_kern_target_cleanup(struct tapi_nvme_target* target)
Cleanup kernel version implementation of target
Parameters:
target |
Target for setup |
Returns:
Status code
void tapi_nvme_kern_target_fini(struct tapi_nvme_target* target)
Deinit kernel version implementation of target
Parameters:
target |
Target for setup |
Returns:
Status code
Macros
#define TAPI_NVME_KERN_METHODS_DEFAULTS
Kernel target methods
#define TAPI_NVME_KERN_TARGET
Default kernel target initialization