The only thing that should keep the attribute being shown is whether you have a non-zero value for the template .vport_disable function. Double-checked it on my systems... -- james s Seokmann Ju wrote:
Hello James, I've got a question on NPIV framwork that is included in FC transport layer. I'm using 2.6.22-rc3 with your NPIV-based vport patchset. If I understood correctly, vport_disable and vport_delete attributes have to be listed under /sys/class/fc_vport/vport-2:0-2/, once the 'vport-2:0-2' created successfully.
>
To make this happen, fc_function_template for the vport has modified to add wrapper function for vport_disable and vport_delete in the driver. However, in my result, I am only able to see vport_delete. For some reason, vport_disable is not listed under the directory. Can you please comment what possible reasons are there for this?
- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html