History log of /freebsd/sbin/nvmecontrol/fabrics.c (Results 1 – 4 of 4)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: vendor/unbound/1.20.0
# 1662e47d 10-May-2024 John Baldwin <jhb@FreeBSD.org>

nvmecontrol: Free the addrinfo list when failing to open a TCP socket

Reported by: Coverity Scan
CID: 1545048
Sponsored by: Chelsio Communications


# bf1820f1 10-May-2024 John Baldwin <jhb@FreeBSD.org>

nvmecontrol: Fix a sizeof mismatch

In this case it is harmless since it is an array of pointers so the
resulting length is identical.

Reported by: Coverity Scan
CID: 1545055
Sponsored by: Chelsio

nvmecontrol: Fix a sizeof mismatch

In this case it is harmless since it is an array of pointers so the
resulting length is identical.

Reported by: Coverity Scan
CID: 1545055
Sponsored by: Chelsio Communications

show more ...


# c8703409 07-May-2024 John Baldwin <jhb@FreeBSD.org>

nvmecontrol: Fix a sign compare mismatch

Even though mqes (uint16_t) and queue_size (u_int) are both unsigned,
the expression 'mqes + 1' gets promoted to int which is signed. Keep
the value unsigne

nvmecontrol: Fix a sign compare mismatch

Even though mqes (uint16_t) and queue_size (u_int) are both unsigned,
the expression 'mqes + 1' gets promoted to int which is signed. Keep
the value unsigned by explicitly promoting mqes to u_int before
incrementing the value.

Reported by: GCC

show more ...


Revision tags: vendor/one-true-awk/a3b68e649d2d, vendor/llvm-project/llvmorg-18.1.5-0-g617a15a9eac9, vendor/libfido2/1.14.0, vendor/NetBSD/bmake/20240430, vendor/libcbor/0.11.0
# 1058c121 02-May-2024 John Baldwin <jhb@FreeBSD.org>

nvmecontrol: New commands to support Fabrics hosts

- discover: Connects to a remote Discovery controller, fetches its
Discovery Log Page, and enumerates the remote controllers described
in the l

nvmecontrol: New commands to support Fabrics hosts

- discover: Connects to a remote Discovery controller, fetches its
Discovery Log Page, and enumerates the remote controllers described
in the log page.

The -v option can be used to display the Identify Controller data
structure for the Discovery controller. This is only really useful
for debugging.

- connect: Connects to a remote I/O controller and establishes an
association of an admin queue and a single I/O queue. The
association is handed off to the in-kernel host to create a new
nvmeX device.

- connect-all: Connects to a Discovery controller and attempts to
create an association with each I/O controller enumerated in the
Discovery controller's Discovery Log Page.

- reconnect: Establishes a new association with a remote I/O
controller for an existing nvmeX device. This can be used to
restore access to a remote I/O controller after the loss of a prior
association due to a transport error, controller reboot, etc.

- disconnect: Deletes one or more nvmeX devices after detaching its
namespaces and terminating any active associations. The devices to
delete can be identified by either a nvmeX device name or the NQN of
the remote controller.

- disconnect-all: Deletes all active associations with remote
controllers.

Reviewed by: imp
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D44715

show more ...