public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Smart <James.Smart@Emulex.Com>
To: Andreas Herrmann <AHERRMAN@de.ibm.com>
Cc: Christoph Hellwig <hch@infradead.org>,
	James Bottomley <jejb@steeleye.com>,
	Linux SCSI <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH] fc transport: new attributes for NPIV
Date: Tue, 10 Jan 2006 13:00:33 -0500	[thread overview]
Message-ID: <43C3F641.8070508@emulex.com> (raw)
In-Reply-To: <OF5D4CA422.17C86FB6-ON412570F1.007E97FD-412570F1.007F3BE8@de.ibm.com>



Andreas Herrmann wrote:
> I think physical_port_name was not the right choice. Sticking to
> standards the name should be permanent_port_name. So people familiar
> with FC standards have an idea what it is and all others are able to
> find an explanation in FC-GS-4.
> 
> But introducing a permanent_port_id will lead to confusion:
> Interpretation as "permanent port_id" is wrong because a port_id is
> anything but "permanent".

Agreed. In truth, even the permanent_port_name, relative to the virtual
port, is also anything but permanent.

> In conclusion James' suggestion of attributes ppn and ppn_id has some
> advantage.
> 
> And now comes the funny part:
> Question is, do I need the port_id of the physical port at all?

In my opinion - no...

 >  In
> order to determine problems with a virtual port I might have to check
> whether the physical port is properly connected and logged in to the
> fabric. Furthermore configuration of the corresponding switch port
> should be checked. (E.g. switch might allow to set limits for the
> number of NPIV connections for the switch port.)
> I may be wrong but I think the port_id of the physical port is not
> needed for this purpose.
> 
> Thus, how about introducing just what is really needed:
> Introduce permanent_port_name attribute (and leave out port_id of the
> physical port).

Works for me.

-- james s

> 
> BTW, the permanent_port_name attribute of the virtual port suffices to
> identify the fc_host of the physical port if there is a
> representation.
> And I think an LLDD should configure this attribute only for virtual
> ports.
> 
> 
> Regards,
> 
> Andreas
> 
> 

  reply	other threads:[~2006-01-10 18:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <OFE227A343.800436AC-ON412570ED.0055DD4F-412570ED.00560A75@de.ibm.com>
2006-01-05 17:28 ` [PATCH] fc transport: new attributes for NPIV James Smart
2006-01-09 18:05   ` Christoph Hellwig
2006-01-09 19:04     ` James Smart
2006-01-09 23:09       ` Andreas Herrmann
2006-01-10 18:00         ` James Smart [this message]
2006-01-09 23:59     ` Andreas Herrmann
2006-01-10 18:11       ` James Smart
2006-01-05  9:01 Andreas Herrmann
2006-01-05 14:08 ` James Smart
2006-01-05 15:51   ` Andreas Herrmann

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=43C3F641.8070508@emulex.com \
    --to=james.smart@emulex.com \
    --cc=AHERRMAN@de.ibm.com \
    --cc=hch@infradead.org \
    --cc=jejb@steeleye.com \
    --cc=linux-scsi@vger.kernel.org \
    /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