DragonFly BSD
DragonFly commits List (threaded) for 2012-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: igb: Use extended interrupt mode whenever possible


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 5 Jun 2012 06:17:44 -0700 (PDT)

commit f6167a56379b088f78a5f7b2bc5cc90aa32d1a05
Author: Sepherosa Ziehau <sephe@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]