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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Jan 2 04:42:23 PST 2013


commit 9ed293e071aa5626e1e68861be45f0002c7b0d8c
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Fri Dec 28 17:31:10 2012 +0800

    if: Move IFF_OACTIVE bit into ifaltq; prepare multiple TX queues support
    
    ifaltq.altq_hw_oactive is now used to record that NIC's TX queue is full.
    IFF_OACTIVE is removed from kernel.  User space IFF_OACTIVE is kept for
    compability.
    
    ifaltq.altq_hw_oactive should not be accessed directly.  Following set of
    functions are provided and should be used:
    ifq_is_oactive(ifnet.if_snd)  - Whether NIC's TX queue is full or not
    ifq_set_oactive(ifnet.if_snd) - NIC's TX queue is full
    ifq_clr_oactive(ifnet.if_snd) - NIC's TX queue is no longer full

Summary of changes:
 sys/bus/u4b/net/if_axe.c                    |   13 ++-
 sys/dev/netif/acx/if_acx.c                  |   12 +-
 sys/dev/netif/ae/if_ae.c                    |   11 +-
 sys/dev/netif/age/if_age.c                  |   11 +-
 sys/dev/netif/alc/if_alc.c                  |   11 +-
 sys/dev/netif/ale/if_ale.c                  |   11 +-
 sys/dev/netif/an/if_an.c                    |   13 ++-
 sys/dev/netif/ar/if_ar.c                    |   17 ++--
 sys/dev/netif/ath/ath/if_ath.c              |   12 +-
 sys/dev/netif/aue/if_aue.c                  |   14 ++-
 sys/dev/netif/axe/if_axe.c                  |   13 ++-
 sys/dev/netif/bce/if_bce.c                  |   13 ++-
 sys/dev/netif/bfe/if_bfe.c                  |   17 ++--
 sys/dev/netif/bge/if_bge.c                  |   15 ++--
 sys/dev/netif/bnx/if_bnx.c                  |   13 ++-
 sys/dev/netif/bwi/if_bwi.c                  |   16 ++--
 sys/dev/netif/cs/if_cs.c                    |   17 ++--
 sys/dev/netif/cue/if_cue.c                  |   13 ++-
 sys/dev/netif/dc/if_dc.c                    |   19 ++--
 sys/dev/netif/de/if_de.c                    |   16 ++--
 sys/dev/netif/ed/if_ed.c                    |   12 +-
 sys/dev/netif/em/if_em.c                    |   15 ++--
 sys/dev/netif/emx/if_emx.c                  |   15 ++--
 sys/dev/netif/ep/if_ep.c                    |   12 +-
 sys/dev/netif/et/if_et.c                    |   13 ++-
 sys/dev/netif/ex/if_ex.c                    |   10 +-
 sys/dev/netif/fe/if_fe.c                    |   15 ++--
 sys/dev/netif/fwe/if_fwe.c                  |    9 +-
 sys/dev/netif/fxp/if_fxp.c                  |   13 ++-
 sys/dev/netif/igb/if_igb.c                  |   13 ++-
 sys/dev/netif/iwi/if_iwi.c                  |    9 +-
 sys/dev/netif/iwl/iwl2100.c                 |   11 +-
 sys/dev/netif/iwn/if_iwn.c                  |   12 +-
 sys/dev/netif/ixgbe/ixgbe.c                 |   13 +--
 sys/dev/netif/jme/if_jme.c                  |   18 ++--
 sys/dev/netif/kue/if_kue.c                  |   13 ++-
 sys/dev/netif/lge/if_lge.c                  |   11 +-
 sys/dev/netif/lgue/if_lgue.c                |   13 ++-
 sys/dev/netif/lnc/am7990.c                  |    9 +-
 sys/dev/netif/lnc/am79900.c                 |    9 +-
 sys/dev/netif/lnc/lance.c                   |    5 +-
 sys/dev/netif/msk/if_msk.c                  |   13 ++-
 sys/dev/netif/mxge/if_mxge.c                |  138 ++-------------------------
 sys/dev/netif/my/if_my.c                    |    9 +-
 sys/dev/netif/ndis/if_ndis.c                |   17 +++-
 sys/dev/netif/nfe/if_nfe.c                  |   13 ++-
 sys/dev/netif/nge/if_nge.c                  |   11 +-
 sys/dev/netif/pcn/if_pcn.c                  |   11 +-
 sys/dev/netif/ral/rt2560.c                  |   13 ++-
 sys/dev/netif/ral/rt2661.c                  |   11 +-
 sys/dev/netif/re/if_re.c                    |   28 +++---
 sys/dev/netif/rl/if_rl.c                    |   11 +-
 sys/dev/netif/rtw/rtw.c                     |   18 ++--
 sys/dev/netif/rue/if_rue.c                  |   13 ++-
 sys/dev/netif/rum/if_rum.c                  |   16 ++--
 sys/dev/netif/sbni/if_sbni.c                |    8 +-
 sys/dev/netif/sbsh/if_sbsh.c                |    6 +-
 sys/dev/netif/sf/if_sf.c                    |   13 ++-
 sys/dev/netif/sis/if_sis.c                  |   13 ++-
 sys/dev/netif/sk/if_sk.c                    |   13 ++-
 sys/dev/netif/sln/if_sln.c                  |   11 +-
 sys/dev/netif/sn/if_sn.c                    |   20 ++--
 sys/dev/netif/sr/if_sr.c                    |   15 ++--
 sys/dev/netif/ste/if_ste.c                  |   11 +-
 sys/dev/netif/stge/if_stge.c                |   14 ++--
 sys/dev/netif/ti/if_ti.c                    |   11 +-
 sys/dev/netif/tl/if_tl.c                    |    9 +-
 sys/dev/netif/tx/if_tx.c                    |    6 +-
 sys/dev/netif/txp/if_txp.c                  |   11 +-
 sys/dev/netif/ural/if_ural.c                |   14 ++-
 sys/dev/netif/vge/if_vge.c                  |   13 ++-
 sys/dev/netif/vr/if_vr.c                    |   13 ++-
 sys/dev/netif/vx/if_vx.c                    |   12 +-
 sys/dev/netif/wb/if_wb.c                    |    9 +-
 sys/dev/netif/wi/if_wi.c                    |   14 ++--
 sys/dev/netif/wpi/if_wpi.c                  |   13 ++-
 sys/dev/netif/xe/if_xe.c                    |   20 ++--
 sys/dev/netif/xl/if_xl.c                    |   15 ++--
 sys/dev/virtual/vkernel/net/if_vke.c        |    7 +-
 sys/emulation/linux/linux_ioctl.c           |    3 +-
 sys/net/altq/altq_cbq.c                     |    2 +-
 sys/net/altq/if_altq.h                      |    1 +
 sys/net/bridge/if_bridge.c                  |    4 +-
 sys/net/ef/if_ef.c                          |    6 +-
 sys/net/if.c                                |   14 +--
 sys/net/if.h                                |    8 +-
 sys/net/if_var.h                            |    2 +-
 sys/net/ifq_var.h                           |   20 ++++-
 sys/net/sppp/if_spppsubr.c                  |    8 +-
 sys/net/tap/if_tap.c                        |   12 ++-
 sys/netgraph/eiface/ng_eiface.c             |   21 +++--
 sys/netgraph/fec/ng_fec.c                   |    8 +-
 sys/netgraph/iface/ng_iface.c               |    7 +-
 sys/netgraph7/iface/ng_iface.c              |   10 +-
 sys/netproto/802_11/wlan/ieee80211_output.c |    4 +-
 sys/netproto/802_11/wlan/ieee80211_proto.c  |    3 +-
 96 files changed, 621 insertions(+), 652 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9ed293e071aa5626e1e68861be45f0002c7b0d8c


-- 
DragonFly BSD source repository



More information about the Commits mailing list