- Increase RX coalesced packets from 32 to 129 to avoid being livelocked when
commit1ebf7512e9ed3772beca88e1996461d9a426d14e
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 9 Jul 2008 13:57:59 +0000 (9 13:57 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 9 Jul 2008 13:57:59 +0000 (9 13:57 +0000)
tree4e189e5e22934ce6d3cfbe43269457ccadd3002d
parentd4e5b69bcf6a1e4affe381360cb1025468b68594
- 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@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)
sys/dev/netif/et/if_et.c