Increate receive max coalesced bds to 80 to prevent system from being
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 13 Jul 2008 03:57:41 +0000 (03:57 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 13 Jul 2008 03:57:41 +0000 (03:57 +0000)
commitb02a2d9027d8943a36b95ddbf31d2ca368aa7e6f
tree443388353f1496557cefa3d16b0cbd949b2154b3
parent1d893bf8ceb30e7e8beb27af8490ce887d90b2fa
Increate receive max coalesced bds to 80 to prevent system from being
livelocked when 64bytes packets are injected @1.48Mpps.

It's RX side interrupt moderation logic is quite similar to et(4)'s:
(# recved packets > recv max coalesced bds) || (ticks > recv coalescing ticks)

# The 5750A1 I have tested could only sink packets @1.26Mpps
sys/dev/netif/bge/if_bge.c