[PATCH] qlogicfc driver

Dmitry Meshchaninov (dima@datafoundation.com)
Mon, 02 Jul 2001 20:24:10 -0400


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/