git: igb: Use extended interrupt mode whenever possible

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Jun 5 06:17:44 PDT 2012


commit f6167a56379b088f78a5f7b2bc5cc90aa32d1a05
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sun Jun 3 19:04:33 2012 +0800

    igb: Use extended interrupt mode whenever possible
    
    The extended interrupt mode could be used as long as the interrupt
    is not shared.  MSI by definition is not shared.  For line interrupt,
    hw.igbX.irq.unshared tunable is added; it could be set, if the igbX
    does not share interrupt line with other devices.
    
    The extended interrupt mode could deliver accurate information about
    which queue is active, thus avoiding extra memory reading.

Summary of changes:
 sys/dev/netif/igb/if_igb.c |  331 +++++++++++++++++++++++++++++++++++++++++---
 sys/dev/netif/igb/if_igb.h |    7 +
 2 files changed, 315 insertions(+), 23 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f6167a56379b088f78a5f7b2bc5cc90aa32d1a05


-- 
DragonFly BSD source repository





More information about the Commits mailing list