login
Header Space

 
 

Re: [ PATCH 1/1 2.6.25-rc9] bnx2: Add EEH support in bnx2x driver

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Michael Chan <mchan@...>
Cc: netdev <netdev@...>, <jeff@...>, <davem@...>
Date: Tuesday, April 22, 2008 - 3:44 pm

Hi Michael Chan,

Thanks for your comments!


Yes. Most of network interface functions called by net/core/dev.c layer
which hold rtnl_lock()/rtcl_unlock(). We may need to add
rtnl_lock()/rtnl_unlcok() in those callback functions.


device driver's open function to initialize internal data structures and
enable interrupt, then driver starts the receive queue by calling
netif_start_queue.

Looks bnx2_netif_start() enables hardware interrupt and receive polling
interrupt. So I think we can do netif_device_attach after
bnx2_netif_start() according to dev->open route concept.

Thanks,
Wendy
On Mon, 2008-04-21 at 17:14 -0700, Michael Chan wrote:

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [ PATCH 1/1 2.6.25-rc9] bnx2: Add EEH support in bnx2x d..., wendy xiong, (Tue Apr 22, 3:44 pm)
speck-geostationary