git: if: Move if_cpuid into ifaltq; prepare multiple TX queues support

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Jan 5 06:01:07 PST 2013


commit dfd3b18bd30bca605a0e0da593ebc626366f296b
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sat Jan 5 21:55:26 2013 +0800

    if: Move if_cpuid into ifaltq; prepare multiple TX queues support
    
    if_cpuid and if_npoll_cpuid are merged and moved into ifaltq as
    altq_cpuid, which indicates the owner CPU of the tx queue.  Since
    we already have code in if_start_dispatch() to catching tx queue
    owner CPU changes, this merging is quite safe.

Summary of changes:
 sys/dev/netif/acx/if_acx.c       |    3 +--
 sys/dev/netif/ae/if_ae.c         |    3 +--
 sys/dev/netif/age/if_age.c       |    3 +--
 sys/dev/netif/alc/if_alc.c       |    1 +
 sys/dev/netif/ale/if_ale.c       |    3 +--
 sys/dev/netif/an/if_an_isa.c     |    4 ++--
 sys/dev/netif/an/if_an_pccard.c  |    4 ++--
 sys/dev/netif/an/if_an_pci.c     |    4 ++--
 sys/dev/netif/bce/if_bce.c       |    9 ++++-----
 sys/dev/netif/bfe/if_bfe.c       |    3 +--
 sys/dev/netif/bge/if_bge.c       |    7 +++----
 sys/dev/netif/bnx/if_bnx.c       |   12 +++++-------
 sys/dev/netif/bwi/if_bwi.c       |    3 +--
 sys/dev/netif/cs/if_cs.c         |    3 +--
 sys/dev/netif/dc/if_dc.c         |    7 +++----
 sys/dev/netif/de/if_de.c         |    4 +---
 sys/dev/netif/ed/if_ed_isa.c     |    5 +++--
 sys/dev/netif/ed/if_ed_pccard.c  |    4 ++--
 sys/dev/netif/ed/if_ed_pci.c     |    5 +++--
 sys/dev/netif/em/if_em.c         |    7 +++----
 sys/dev/netif/emx/if_emx.c       |    7 +++----
 sys/dev/netif/ep/if_ep_isa.c     |    4 ++--
 sys/dev/netif/ep/if_ep_pccard.c  |    4 ++--
 sys/dev/netif/et/if_et.c         |    3 +--
 sys/dev/netif/ex/if_ex_isa.c     |    4 ++--
 sys/dev/netif/ex/if_ex_pccard.c  |    5 ++---
 sys/dev/netif/fe/if_fe.c         |    3 +--
 sys/dev/netif/fwe/if_fwe.c       |    4 ++--
 sys/dev/netif/fxp/if_fxp.c       |    7 +++----
 sys/dev/netif/igb/if_igb.c       |    6 +++---
 sys/dev/netif/iwl/iwl2100.c      |    3 +--
 sys/dev/netif/jme/if_jme.c       |    6 +++---
 sys/dev/netif/lge/if_lge.c       |    3 +--
 sys/dev/netif/lnc/if_lnc_isa.c   |    4 ++--
 sys/dev/netif/lnc/if_lnc_pci.c   |    4 ++--
 sys/dev/netif/msk/if_msk.c       |    6 ++----
 sys/dev/netif/my/if_my.c         |    3 +--
 sys/dev/netif/nfe/if_nfe.c       |    7 +++----
 sys/dev/netif/nge/if_nge.c       |    7 +++----
 sys/dev/netif/pcn/if_pcn.c       |    3 +--
 sys/dev/netif/re/if_re.c         |    7 +++----
 sys/dev/netif/rl/if_rl.c         |    7 +++----
 sys/dev/netif/rtw/rtw.c          |    3 +--
 sys/dev/netif/sbni/if_sbni_pci.c |    5 +++--
 sys/dev/netif/sbsh/if_sbsh.c     |    3 +--
 sys/dev/netif/sf/if_sf.c         |    3 +--
 sys/dev/netif/sis/if_sis.c       |    7 +++----
 sys/dev/netif/sk/if_sk.c         |    6 ++----
 sys/dev/netif/sln/if_sln.c       |    3 +--
 sys/dev/netif/sn/if_sn.c         |    3 +--
 sys/dev/netif/ste/if_ste.c       |    3 +--
 sys/dev/netif/stge/if_stge.c     |    7 +++----
 sys/dev/netif/ti/if_ti.c         |    3 +--
 sys/dev/netif/tl/if_tl.c         |    3 +--
 sys/dev/netif/tx/if_tx.c         |    3 +--
 sys/dev/netif/txp/if_txp.c       |    3 +--
 sys/dev/netif/vge/if_vge.c       |    7 +++----
 sys/dev/netif/vr/if_vr.c         |    7 +++----
 sys/dev/netif/vx/if_vx_pci.c     |    4 ++--
 sys/dev/netif/wb/if_wb.c         |    3 +--
 sys/dev/netif/xe/if_xe.c         |    3 +--
 sys/dev/netif/xl/if_xl.c         |    7 +++----
 sys/net/altq/if_altq.h           |    1 +
 sys/net/if.c                     |   34 +++-------------------------------
 sys/net/if_poll.c                |    2 --
 sys/net/if_var.h                 |    8 +++-----
 sys/net/ifq_var.h                |   13 +++++++++++++
 sys/net/vlan/if_vlan.c           |    2 +-
 68 files changed, 142 insertions(+), 205 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list