linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] qlogicfc driver
@ 2001-07-03  0:24 Dmitry Meshchaninov
  0 siblings, 0 replies; only message in thread
From: Dmitry Meshchaninov @ 2001-07-03  0:24 UTC (permalink / raw)
  To: linux-kernel, Alan Cox, Jeff Garzik, christophe barbe',
	David S. Miller, Jason T.Murphy


   I'm sending link to updated qlogicfc driver with ip-support for 2.4.4-virgin 
kernel. Hope it works with 2.4.5. Driver changes:

- structures and defines of qlogic host adapter now are separated from driver 
itself. We have kdb module to examine host structures, that's why we did it.

- IP initialization fixed to be 64-bit aware (tested on Alpha's).

- opportunity to use per-host smp lock introduced (PER_HOST_LOCK macro) - 
extensively tested. By default all operations are serialized though io_request_lock.

- recalculations of scsi_host->can_queue variable were removed. It is 
meaningless and may lead to bugs.

- more DMA mapping in IP-part of the driver.
- simple network statistics (tx/rx packets/bytes).
- some algorythm changes from original Qlogic driver were taken.
- now driver can be compiled into kernel statically.

- opportunity to select ip-support option during kernel configuration (and 
appropriate firmware);

- looks like qlogic card contains bug related to request queue handling (if the 
card takes more requests than it was pre-programmed (request queue length) - all 
those request will never go out of the card). And depth of this queue actually 
depends on load of your system. Thats why original driver from Qlogic was 
changed in order to increase this parameter. You can configure this parameter 
during kernel configuration for your needs too. Now driver starts screaming if 
request queue is 80%-full; so you will be notified about the need to increase 
this value.

Most part of the patch is updated firmware (from stable Qlogic driver ver4.25 
and another one with ip-support). That's why i cannot post it to lklm directly. 
If something goes wrong (it's possible to miss something during patch 
preparation) - please report.

Link to patches: http://www.datafoundation.org/qlogicfc

Any comments, test results and proposals are welcome.
Dmitry Meshchaninov


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-03  0:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-03  0:24 [PATCH] qlogicfc driver Dmitry Meshchaninov

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).