linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question: vport_disable attribute under /sys/class/fc_vport
@ 2007-06-11 17:05 Seokmann Ju
  2007-06-12 11:23 ` James Smart
  0 siblings, 1 reply; 2+ messages in thread
From: Seokmann Ju @ 2007-06-11 17:05 UTC (permalink / raw)
  To: James Smart; +Cc: linux-scsi, Andrew Vasquez, Duane Grigsby

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?

Thank you,

Seokmann

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Question: vport_disable attribute under /sys/class/fc_vport
  2007-06-11 17:05 Question: vport_disable attribute under /sys/class/fc_vport Seokmann Ju
@ 2007-06-12 11:23 ` James Smart
  0 siblings, 0 replies; 2+ messages in thread
From: James Smart @ 2007-06-12 11:23 UTC (permalink / raw)
  To: Seokmann Ju; +Cc: linux-scsi, Andrew Vasquez, Duane Grigsby


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?



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-12 11:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-11 17:05 Question: vport_disable attribute under /sys/class/fc_vport Seokmann Ju
2007-06-12 11:23 ` James Smart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).