]> www.infradead.org Git - users/sagi/libnvme.git/commit
fabrics: Invoke nvmf_dim() with provided tas argument
authorMartin Belanger <martin.belanger@dell.com>
Thu, 31 Mar 2022 11:07:01 +0000 (07:07 -0400)
committerMartin Belanger <martin.belanger@dell.com>
Thu, 31 Mar 2022 11:07:01 +0000 (07:07 -0400)
commit73c397c2f40e5a1c0dfa68c62a1e4c0b4310655b
tree02b7c3187c7767f87a240582f0e6511ec15cb595
parent851f1867d58b2d76279dd145e10867bed91dee77
fabrics: Invoke nvmf_dim() with provided tas argument

Looks like a copy-paste issue. One of the arguments to
nvmf_register_ctrl() is "tas" (i.e. the DIM Task). This argument
should be passed to the nvmf_dim() API, but instead a fixed value
of NVMF_DIM_TAS_REGISTER was passed.

The "tas" field specifies whether to perform a "registration",
"deregistration", or a "registration update".

Signed-off-by: Martin Belanger <martin.belanger@dell.com>
src/nvme/fabrics.c