]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
fabrics: support fabrics sq flow control disable
authorSagi Grimberg <sagi@grimberg.me>
Thu, 24 May 2018 11:45:30 +0000 (14:45 +0300)
committerKeith Busch <keith.busch@intel.com>
Fri, 7 Dec 2018 22:05:39 +0000 (15:05 -0700)
commit2cf370c3c3a89650e13a244f5325d971bcecce59
tree0a779ad82c57ab382d8374b23e976d0f8886266c
parent4c3aa3f6438c8e5291bac86a4222b963994db9cc
fabrics: support fabrics sq flow control disable

If the discovery log entry indicates that the subsystem supports
disabling sq flow control, we ask the host to connect and disable sq
flow control (omit sq_head pointer updates). Also add a connect option
to explicitly ask for disable_sqflow.

If we failed to add_ctrl in connect-all command, we retry without it
to be backward compatible with a driver that cannot accept the new
flag.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
fabrics.c
linux/nvme.h