netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: New Qlogic qla3xxx NIC Driver v2.02.00k34 for upstream inclusion
@ 2006-06-23 21:23 Ron Mercer
  2006-06-23 21:40 ` Jeff Garzik
  0 siblings, 1 reply; 8+ messages in thread
From: Ron Mercer @ 2006-06-23 21:23 UTC (permalink / raw)
  To: netdev; +Cc: linux-driver

> 9) [minor] "N/A" appears to be an inaccurate value for fw_version in 
> ql_get_drvinfo()

Does anyone know what would be appropriate for this ethtool command?  My
device does not use firmware.  I took the "N/A" idea from e1000 and
skge.





^ permalink raw reply	[flat|nested] 8+ messages in thread
* RE: New Qlogic qla3xxx NIC Driver v2.02.00k34 for upstream inclusion
@ 2006-06-23 22:08 Ron Mercer
  0 siblings, 0 replies; 8+ messages in thread
From: Ron Mercer @ 2006-06-23 22:08 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: netdev, Linux Driver

 

> Ron Mercer wrote:
> >> 9) [minor] "N/A" appears to be an inaccurate value for 
> fw_version in
> >> ql_get_drvinfo()
> > 
> > Does anyone know what would be appropriate for this ethtool 
> command?  
> > My device does not use firmware.  I took the "N/A" idea 
> from e1000 and 
> > skge.
> 
> It does both ethernet and iSCSI entirely in silicon?
> 
> Is there an easy way to get silicon rev?

There is firmware to support iSCSI.  It is not used by the ethernet
function.

There is no way to get the iSCSI firmware version from the ethernet
function, but there is a way to get silicon rev.



^ permalink raw reply	[flat|nested] 8+ messages in thread
* RE: New Qlogic qla3xxx NIC Driver v2.02.00k34 for upstream inclusion
@ 2006-06-23 16:36 Ron Mercer
  0 siblings, 0 replies; 8+ messages in thread
From: Ron Mercer @ 2006-06-23 16:36 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: netdev, Linux Driver

Jeff,

I will address all of your points in my next post. 

> 5) What is the point of using the hardware semaphore?  Is a firmware 
> competing with the device driver somehow, and its activities require 
> synchronization with the OS driver?

>From the body of my previous post:
- ql_wait_for_drvr_lock is used to protect resources that are shared 
  across the network and iSCSI functions.  This protection is mostly 
  during chip initialization and resets, but also include link 
  management.


The drvr_lock is to allow the iSCSI driver, iSCSI firmware, and the
network driver exclusive access to common points in the hardware.


> 12) For new drivers, we see additional work and little value for 
> maintained #ifdef'd NAPI and non-NAPI code paths.  Just pick the best 
> one (and justify that decision with sound technical rationale).

I am not sure what sound technical rationale would apply here.  NAPI has
better thoughput and non-NAPI has lower latency.  However, I will pick
one and remove the other.






^ permalink raw reply	[flat|nested] 8+ messages in thread
* New Qlogic qla3xxx NIC Driver v2.02.00k34 for upstream inclusion
@ 2006-06-22 22:37 Ron Mercer
  2006-06-22 23:22 ` Jeff Garzik
  0 siblings, 1 reply; 8+ messages in thread
From: Ron Mercer @ 2006-06-22 22:37 UTC (permalink / raw)
  To: jeff, Andrew Morton; +Cc: netdev, linux-driver, Francois Romieu


Jeff/Andrew,

Please find the Qlogic qla3xxx Ethernet driver posted at the URL below.
This is a complementary network driver for our ISP4XXX parts.
There is a concurrent effort underway to get the iSCSI driver (qla4xxx)
integrated upstream as well.

I have added the missing license that Francois pointed out, plus
Andrew's patch and suggestions from yesterday.

This submission is contained in a patch file that does the following:

Adds:
drivers/net/qla3xxx.c
drivers/net/qla3xxx.h
Documentation/networking/LICENSE.qla3xxx

Modifies:
MAINTAINERS
drivers/net/Makefile
drivers/net/Kconfig

Patch file qla3xxxpatch1-v2.02.00-k34.txt is at the following link:

ftp://ftp.qlogic.com/outgoing/linux/network/upstream/2.02.00k34/qla3xxxp
atch1-v2.02.00-k34.txt

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>

Some notes on the driver/hardware:

- Built and tested using kernel 2.6.17-rc4.
- The chip supports two ethernet and two iSCSI functions.
- The functions ql_sem_lock, ql_sem_spinlock, ql_sem_unlock, and
ql_wait_for_drvr_lock are used to protect resources that are shared
across the network and iSCSI functions.  This protection is mostly
during chip initialization and resets, but also include link management.
- The PHY/MII are not exported through ethtool due to the fact that the
iSCSI function will control the common link at least 50% of the time.



Regards,

Ron Mercer
Qlogic Corporation

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-06-23 22:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-23 21:23 New Qlogic qla3xxx NIC Driver v2.02.00k34 for upstream inclusion Ron Mercer
2006-06-23 21:40 ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2006-06-23 22:08 Ron Mercer
2006-06-23 16:36 Ron Mercer
2006-06-22 22:37 Ron Mercer
2006-06-22 23:22 ` Jeff Garzik
2006-06-23  0:05   ` Roland Dreier
2006-06-23  1:20     ` Jeff Garzik

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