cvs commit: src/sys/dev/netif/et if_et.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Jul 9 07:00:05 PDT 2008


sephe       2008/07/09 06:57:59 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/et     if_et.c 
  Log:
  - Increase RX coalesced packets from 32 to 129 to avoid being livelocked when
    ~1.48Mpps 64bytes packets are injected.
  - Increase RX coalescing ticks from 20 to 25 and correct the comment about its
    unit: it is 4us instead of 10us (thanks go to jsg at openbsd.org for giving me
    the informational material :).
  
  # An interrupt is generated if
  # (RX pkt count > ET_RX_INTR_NPKTS) || (timer > ET_RX_INTR_DELAY)
  #
  # I thought the interrupt generation condition was
  # (RX pkt count > ET_RX_INTR_NPKTS) && (timer > ET_RX_INTR_DELAY)
  
  Revision  Changes    Path
  1.13      +2 -2      src/sys/dev/netif/et/if_et.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/et/if_et.c.diff?r1=1.12&r2=1.13&f=u





More information about the Commits mailing list