On 09/14/18 14:28, Himanshu Madhani wrote:
From: Anil Gurumurthy <anil.gurumur...@cavium.com>

This patch adds SysFS node for NVMe Target configuration

Please elaborate the description of this patch. Are NVMe initiator and target mode mutually exclusive or can both be enabled at the same time? What is the impact of enabling NVMe target mode on FC target mode? I was surprised to see the following in patch 4/6:

-               if (qla_tgt_mode_enabled(vha) ||
-                   qla_dual_mode_enabled(vha))
+               if ((qla_tgt_mode_enabled(vha) ||
+                    qla_dual_mode_enabled(vha)) &&
+                   qlt_op_target_mode) {

Does this mean that with NVMe target mode disabled that FC target mode is also disabled?

Thanks,

Bart.

Reply via email to