nvme/tcp: hook async fabrics register operations
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I2972df7c01a9a3f5ee4f59d6d0501e112a86f161 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8611 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ziye Yang <ziye.yang@intel.com>
This commit is contained in:
parent
94cec6a78a
commit
214ed8e37f
@ -2320,6 +2320,10 @@ const struct spdk_nvme_transport_ops tcp_ops = {
|
||||
.ctrlr_set_reg_8 = nvme_fabric_ctrlr_set_reg_8,
|
||||
.ctrlr_get_reg_4 = nvme_fabric_ctrlr_get_reg_4,
|
||||
.ctrlr_get_reg_8 = nvme_fabric_ctrlr_get_reg_8,
|
||||
.ctrlr_set_reg_4_async = nvme_fabric_ctrlr_set_reg_4_async,
|
||||
.ctrlr_set_reg_8_async = nvme_fabric_ctrlr_set_reg_8_async,
|
||||
.ctrlr_get_reg_4_async = nvme_fabric_ctrlr_get_reg_4_async,
|
||||
.ctrlr_get_reg_8_async = nvme_fabric_ctrlr_get_reg_8_async,
|
||||
|
||||
.ctrlr_get_max_xfer_size = nvme_tcp_ctrlr_get_max_xfer_size,
|
||||
.ctrlr_get_max_sges = nvme_tcp_ctrlr_get_max_sges,
|
||||
|
@ -101,6 +101,14 @@ DEFINE_STUB(nvme_fabric_ctrlr_get_reg_4, int, (struct spdk_nvme_ctrlr *ctrlr, ui
|
||||
uint32_t *value), 0);
|
||||
DEFINE_STUB(nvme_fabric_ctrlr_get_reg_8, int, (struct spdk_nvme_ctrlr *ctrlr, uint32_t offset,
|
||||
uint64_t *value), 0);
|
||||
DEFINE_STUB(nvme_fabric_ctrlr_set_reg_4_async, int, (struct spdk_nvme_ctrlr *ctrlr, uint32_t offset,
|
||||
uint32_t value, spdk_nvme_reg_cb cb, void *ctx), 0);
|
||||
DEFINE_STUB(nvme_fabric_ctrlr_set_reg_8_async, int, (struct spdk_nvme_ctrlr *ctrlr, uint32_t offset,
|
||||
uint64_t value, spdk_nvme_reg_cb cb, void *ctx), 0);
|
||||
DEFINE_STUB(nvme_fabric_ctrlr_get_reg_4_async, int, (struct spdk_nvme_ctrlr *ctrlr,
|
||||
uint32_t offset, spdk_nvme_reg_cb cb, void *ctx), 0);
|
||||
DEFINE_STUB(nvme_fabric_ctrlr_get_reg_8_async, int, (struct spdk_nvme_ctrlr *ctrlr,
|
||||
uint32_t offset, spdk_nvme_reg_cb cb, void *ctx), 0);
|
||||
DEFINE_STUB(nvme_fabric_ctrlr_scan, int, (struct spdk_nvme_probe_ctx *probe_ctx,
|
||||
bool direct_connect), 0);
|
||||
DEFINE_STUB(nvme_fabric_qpair_connect, int, (struct spdk_nvme_qpair *qpair, uint32_t num_entries),
|
||||
|
Loading…
Reference in New Issue
Block a user