[haiku-bugs] Re: [Haiku] #9078: FreeBSD network drivers using legacy interrupt wrappers are extremely slow

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • Date: Sun, 21 Oct 2012 20:36:37 -0000

#9078: FreeBSD network drivers using legacy interrupt wrappers are extremely 
slow
----------------------------------------+----------------------------
   Reporter:  kallisti5                 |      Owner:  axeld
       Type:  bug                       |     Status:  new
   Priority:  normal                    |  Milestone:  R1/alpha4
  Component:  Network & Internet/Stack  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:  8295
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by kallisti5):

 Here are the results of my initial research:

 Data was found by examining the calls to bus_setup_intr in each network
 driver and looking for two factors:

 * NULL in the 4th argument
 * the INTR_FAST flag passed to the 3rd argument

 Based on function here:
  http://cgit.haiku-
 os.org/haiku/tree/src/libs/compat/freebsd_network/bus.c#n343


 '''Legacy interrupts:'''
 * 3com
 * broadcom440x
 * dec21xxx
 * ipro100
 * marvell_yukon
 * rtl8139
 * syskonnect
 * via_rhine
 * vt612x
 * wlan/atheroswifi
 * wlan/aironetwifi
 * wlan/broadcom43xx
 * wlan/iprowifi3945
 * wlan/iprowifi2100
 * wlan/ralink2860
 * wlan/wavelanwifi
 * wlan/marvell88w8363
 * wlan/ralinkwifi
 * wlan/iprowifi4965
 * wlan/iprowifi2200

 '''Not legacy interrupts:'''
 * ar81xx
 * atheros813x
 * attansic_l1
 * attansic_l2
 * jmicron2x0
 * nforce
 * wlan/marvell88w8335

 '''Could be either:'''
 * broadcom570x
   * if (BGE_IS_5755_PLUS(sc) && sc->bge_flags & BGE_FLAG_MSI)? '''Not
 legacy'''
   * else? '''Legacy'''
 * ipro1000
 * pcnet
 * rtl81xx

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/9078#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: