From: Jeremy Higdon <jeremy@sgi.com>
To: Andrew Vasquez <andrew.vasquez@qlogic.com>
Cc: Jes Sorensen <jes@wildopensource.com>,
Linux-SCSI <linux-scsi@vger.kernel.org>,
jbarnes@sgi.com, mdr@sgi.com
Subject: Re: [ANNOUNCE] QLogic qla2xxx driver update available (v8.00.00b6).
Date: Mon, 24 Nov 2003 17:22:47 -0800 [thread overview]
Message-ID: <20031125012247.GB140407@sgi.com> (raw)
In-Reply-To: <B179AE41C1147041AA1121F44614F0B0598D30@AVEXCH02.qlogic.org>
On Mon, Nov 24, 2003 at 09:37:08AM -0800, Andrew Vasquez wrote:
> Jeremy,
>
> > We should be able to read the WWPN out of the NVRAM, since there is
> > no reason for that to be reset. There are various utilities/firmware
> > out there that actually look at an adapter's WWPN and decide whether
> > or not to talk to that adapter.
> >
> > I think the WWPN is the only thing that we read from firmware in our
> > Irix driver. We also verify the checksum, so that we can tell if the
> > portname is valid.
> >
> > My recommendation is that the driver get the WWPN from nvram and go
> > with sane defaults for everything else.
> >
>
> Ok, then what groups of parameters would you suggest have sane
> defaults. With the patch that was provided, the following
> (additional)-firmware options are set for the ISP23xx by invalidating
> the checksum (SN2 behaviour):
>
> o Full duplex
> o Fairness
> o Full login after LIP
> o use extended firmware control block
> o Loop prefered, else point-to-point
> o Tape enabled
> o FC Confirm
Right.
I want to confirm that "Loop prefered, else point-to-point" means
connection mode 2, which actually means that if you have a device
that can do both, you get point-to-point mode, right?
> Along with a large number of numeric defaults for retries, delays, a
> timer counts.
>
> > Perhaps make it a config option to read other settings from the
> > NVRAM, but also provide command line or config options for other
> > settings that might need adjustment, for those systems that cannot
> > change nvram values.
> >
>
> The (additional-)firmware options, perhaps a subset, seem like a
> (possibily) reasonable thing to force at the driver level. But, on
> the otherhand, the retry, delay and timer counts tend to be very
> customer specific based on topology and storage. Additionally, the
> driver already exports via module parameters several of the more
> important driver retry and timer counts, i.e. port_down_try_count,
> link_down_timeout, retry_count (try modinfo for a full list). A user
> can use these facilities to perform any fine-tuning.
This sounds fine, though a little unwieldy. You can't do much about
the unwieldiness, though.
> > Our experience is that we really don't need to mess with them,
> > however. The only two things that we allow adjustment to are frame
> > size and data rate.
> >
>
> The driver still depend on the NVRAM to provide these values. In many
> cases, the standard NVRAM values programmed at manufacturing time
> satisfy the majority of users. Do you have boards that have 'bogus'
> NVRAM settings, or are you just being cautious and not depending on
> the end-user to not mess things up?
We don't use NVRAM settings on Irix.
We do have a number of 2300-type boards which, for example, don't work
in 2GB mode unless you bypass the NVRAM setting. There are also problems
with using 1KB frames instead of 2KB frames.
How about a config option that bypasses the NVRAM. That way, if one
of your customers wants to use it to set different values, they can
use NVRAM. If others don't want to use NVRAM, then they won't.
jeremy
next prev parent reply other threads:[~2003-11-25 1:23 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-24 17:37 [ANNOUNCE] QLogic qla2xxx driver update available (v8.00.00b6) Andrew Vasquez
2003-11-25 1:22 ` Jeremy Higdon [this message]
2003-11-25 8:18 ` Christoph Hellwig
2003-11-25 8:21 ` Jes Sorensen
-- strict thread matches above, loose matches on Subject: below --
2003-12-02 18:22 Andrew Vasquez
2003-12-02 18:10 Andrew Vasquez
2003-12-01 23:21 Andrew Vasquez
2003-12-02 2:02 ` Jeremy Higdon
2003-12-02 10:01 ` Andrew Vasquez
2003-12-02 9:36 ` Jeremy Higdon
2003-12-02 3:22 ` Jeremy Higdon
2003-12-02 10:15 ` Andrew Vasquez
2003-12-02 9:50 ` Jeremy Higdon
2003-11-25 19:29 Andrew Vasquez
2003-11-25 23:31 ` Jeremy Higdon
2003-11-27 1:20 ` Jeremy Higdon
2003-11-19 23:38 Andrew Vasquez
2003-11-19 23:03 Andrew Vasquez
2003-11-19 23:18 ` Matthew Wilcox
2003-11-20 9:19 ` Jes Sorensen
2003-11-21 8:43 ` Jeremy Higdon
2003-11-06 19:33 Andrew Vasquez
2003-11-06 19:33 ` Andrew Vasquez
2003-11-07 9:39 ` Christoph Hellwig
2003-11-06 17:45 Andrew Vasquez
2003-11-06 17:59 ` Arjan van de Ven
2003-11-07 9:37 ` Christoph Hellwig
2003-11-06 17:11 Andrew Vasquez
2003-11-06 17:14 ` Jens Axboe
2003-11-06 17:43 ` Arjan van de Ven
2003-11-06 17:50 ` Jens Axboe
2003-11-06 17:55 ` Arjan van de Ven
2003-11-06 17:58 ` Jens Axboe
2003-11-06 17:02 Andrew Vasquez
2003-11-06 17:53 ` Matthew Wilcox
2003-11-07 9:58 ` Christoph Hellwig
2003-11-07 9:58 ` Christoph Hellwig
2003-11-07 9:33 ` Christoph Hellwig
2003-11-05 18:39 Andrew Vasquez
2003-11-06 9:17 ` Jens Axboe
2003-11-05 1:15 Andrew Vasquez
2003-11-05 9:17 ` Mike Anderson
2003-11-06 9:36 ` Christoph Hellwig
2003-11-06 10:51 ` Christoph Hellwig
2003-11-10 14:00 ` Jes Sorensen
[not found] ` <20031114115847.GA32664@lst.de>
2003-11-17 12:18 ` Christoph Hellwig
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=20031125012247.GB140407@sgi.com \
--to=jeremy@sgi.com \
--cc=andrew.vasquez@qlogic.com \
--cc=jbarnes@sgi.com \
--cc=jes@wildopensource.com \
--cc=linux-scsi@vger.kernel.org \
--cc=mdr@sgi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.