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: James Bottomley <jejb@steeleye.com>,
	Linux SCSI <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH] fc transport: new attributes for NPIV
Date: Thu, 05 Jan 2006 12:28:45 -0500	[thread overview]
Message-ID: <43BD574D.8040009@emulex.com> (raw)
In-Reply-To: <OFE227A343.800436AC-ON412570ED.0055DD4F-412570ED.00560A75@de.ibm.com>


> Problem is that on the mainframe I don't have access to the primary
> port. Virtualization is done in adapter microcode. I just have
> access to the virtual port.

I was afraid you'd say this... that was the other caveat.

OK - given that the primary port doesn't exist what you have makes
a lot of sense. I guess we have the 2 options:
- add the 2 attributes per host
- create a host and set the attributes  (and this is major overkill)

I have some reservations about the data passing that allows the virtual
port to get the physical port data, but it's probably manageable.

With this direction - your patch is fine, with the caveat that I want
to explore the most meaningful names for the attributes. Does port_name
and physical_port_name become odd to a user ? Is some script writer bound
to assume they always wanted the physical name as they would only see a
difference if on a mainframe ? What if we change the names to be more
npiv-centric.  What about ppn (for physical_port_name) and ppn_id (for
physical_port_id) ?

> Seems that requirements for workstations and mainframes are quite
> contrary.

Not really - just there are several different implementation models, both at
the adapter and at the OS side.

-- james

       reply	other threads:[~2006-01-05 17:28 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 ` James Smart [this message]
2006-01-09 18:05   ` [PATCH] fc transport: new attributes for NPIV Christoph Hellwig
2006-01-09 19:04     ` James Smart
2006-01-09 23:09       ` Andreas Herrmann
2006-01-10 18:00         ` James Smart
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=43BD574D.8040009@emulex.com \
    --to=james.smart@emulex.com \
    --cc=AHERRMAN@de.ibm.com \
    --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