ixgbe and fast interrupts

From: Matteo Landi <matteo_at_matteolandi.net>
Date: Thu, 17 Nov 2011 12:38:21 +0100
Hi everybody,

trying to measure the interrupt latency of a 10G Intel network
adapter, I find out that the the used driver (ixgbe) can can be
configured to work with both fast and standard interrupts. From my
understanding of the BUS_SETUP_INTR(9) man page and
sys/kern/kern_intr.c file, it seems that drivers in need of
registering fast interrupts should call bus_setup_intr() specifying a
filter function instead of a handler.

My question is: why ixgbe_allocate_legacy() says it is allocating a
fast interrupt (comments and error messages say so) but instead passes
a handler instead of a filter to pci_setup_intr()? Is there anything I
am not taking into account?


Regards,
Matteo

-- 
http://www.matteolandi.net/
Received on Thu Nov 17 2011 - 11:08:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:20 UTC