Re: Q: Interrupts for transferring datapackets to thehardware

"Cahill, Ben M" <[email protected]> Tue, 13 Nov 2007 07:46:59 -0800
Newsgroups gmane.linux.drivers.ipw2100.devel
Message-ID <4220499A1B034C4FA93B547BA01E1FF001746464@orsmsx413.amr.corp.intel.com>
It's been a long time since I looked at 2200/2915 driver code, but IIRC,
those devices work pretty much the same way as 3945/4965.

The device (2200, etc.) has Tx/cmd queues that the driver fills with Tx
or other commands (all commands to the device flow through these).  When
the device services one of these commands, it responds to the driver
with a response packet and an interrupt.  It will also send a "response"
and interrupt when it receives a frame to pass to driver.

-- Ben --

p.s.  "it's" = "it is" (*often* misused when someone really means "its"
= possessive "it", which is what you mean below) ... just a pet peeve of
mine!  :-)

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On 
> Behalf Of [email protected]
> Sent: Tuesday, November 13, 2007 7:20 AM
> To: ipw2200
> Subject: [Ipw2100-devel] Q: Interrupts for transferring 
> datapackets to thehardware
> 
> Greetings,
> 
> I'm currently using the ipw2200 driver version 1.2.2. on 
> gutsy gibbon with qos enabled and an intel pro wireless 2915 abg card.
> 
> I would like to ask about the mechanics, the intel pro 
> wireless 2915 uses for filling it's 
> hardware-transmission-queues. If I understand it correctly, 
> the card is sendig out interrupts to annouce the ipw2200 
> driver, that it just took information out of the ipw2200's 
> software queues (0-3 or -1 for cmd-queue), so that ipw's 
> reclaim function can free the software queues slots. I would 
> like to use this interrupts to compute some rates for later 
> use in other programms.
> 
> What I would like to know more about are the events which 
> trigger these interrupts. In especially when does the card 
> refill its queues and announce an interrupt? How many slots 
> does the card's queues have and when does it start to refill? 
> How many slots does the card try to fill up by pulling 
> information out of the ipw's-software-queues (my tests 
> normally showed only one and in rare cases 2 packets removed 
> from the ipw-software-queues on incomming interrupts). How 
> does the card behave if it's hardware-queue is empty and it's 
> corresponding software-queue also doesn't have any packets to 
> pull out?
> 
> Any information on this would be really helpfull to me.
> 
> Regards
> Klaus
> 
> 
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and 
> a browser.
> Download your FREE copy of Splunk now >> 
> http://get.splunk.com/ _______________________________________________
> ipw2100-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ipw2100-devel
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/