From: James Smart <James.Smart@Emulex.Com>
To: Seokmann Ju <seokmann.ju@qlogic.com>
Cc: linux-scsi@vger.kernel.org,
Andrew Vasquez <andrew.vasquez@qlogic.com>,
Duane Grigsby <duane.grigsby@qlogic.com>
Subject: Re: Question: vport_disable attribute under /sys/class/fc_vport
Date: Tue, 12 Jun 2007 07:23:56 -0400 [thread overview]
Message-ID: <466E824C.8080703@emulex.com> (raw)
In-Reply-To: <A6970E9A290F3F4682E1EAD0EA14F32B011417B7@AVEXCH2.qlogic.org>
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?
prev parent reply other threads:[~2007-06-12 11:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-11 17:05 Question: vport_disable attribute under /sys/class/fc_vport Seokmann Ju
2007-06-12 11:23 ` James Smart [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=466E824C.8080703@emulex.com \
--to=james.smart@emulex.com \
--cc=andrew.vasquez@qlogic.com \
--cc=duane.grigsby@qlogic.com \
--cc=linux-scsi@vger.kernel.org \
--cc=seokmann.ju@qlogic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).