git: jme: Rework MSI-X mapping, so RX MSI-X need not read register

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Sep 30 07:41:58 PDT 2012


commit e0009afb8eab458bc8269252adc0cfefad9fb7a5
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sun Sep 30 21:25:25 2012 +0800

    jme: Rework MSI-X mapping, so RX MSI-X need not read register
    
    RX empty event rarely happens (I didn't see it even if the card is
    sinking full speed tiny packets on one RX ring).  Put the RX empty
    events into independent MSI-X, so the hot path RX MSI-X need not
    read register at all.

Summary of changes:
 sys/dev/netif/jme/if_jme.c    |   76 +++++++++++++++++++++++++++++++----------
 sys/dev/netif/jme/if_jmevar.h |    7 +++-
 2 files changed, 63 insertions(+), 20 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list