git: ifpoll: Factor out code for devices which does not support multiple queues

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Oct 28 06:14:05 PDT 2012


commit b5de76b18f204bedae7e18c5797ac98ae3f94bd1
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sun Oct 28 21:11:43 2012 +0800

    ifpoll: Factor out code for devices which does not support multiple queues
    
    Mainly avoid code duplication.
    
    While I'm here, fix a typo in em(4) which always enable interrupt during
    interface initialization.

Summary of changes:
 sys/dev/netif/bnx/if_bnx.c    |   85 +++++----------------------------------
 sys/dev/netif/bnx/if_bnxvar.h |    4 +-
 sys/dev/netif/em/if_em.c      |   90 +++++-----------------------------------
 sys/dev/netif/em/if_em.h      |    4 +-
 sys/net/if_poll.c             |   71 ++++++++++++++++++++++++++++++++
 sys/net/if_poll.h             |   13 ++++++
 6 files changed, 108 insertions(+), 159 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list