diff options
author | yongari <yongari@FreeBSD.org> | 2011-02-18 20:38:05 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2011-02-18 20:38:05 +0000 |
commit | 28de89e1133d9801c5945fb14e696bc3fadac84c (patch) | |
tree | 2b81556c14893f790f2b2042ce757507cbae708f /contrib/gdb | |
parent | d7565a2cae09ae8bbbba55691b9aee06b383668f (diff) | |
download | FreeBSD-src-28de89e1133d9801c5945fb14e696bc3fadac84c.zip FreeBSD-src-28de89e1133d9801c5945fb14e696bc3fadac84c.tar.gz |
For controllers that have TX interrupt moderation capability,
request TX completion interrupt for every 8-th frames. Previously
dc(4) requested TX completion interrupt if number of queued TX
descriptors is greater than 64. This caused a lot of TX completion
interrupt under high TX load once driver queued more than 64 TX
descriptors. It's quite normal to see more than 64 queued TX
descriptors under high TX load.
This change reduces the number of TX completion interrupts to be
less than 17k under high TX load. Because this change does not
generate TX completion interrupt for each frame, add reclaiming
transmitted buffers in dc_tick not to generate false watchdog
timeouts.
While I'm here add check for queued descriptors in dc_txeof() since
there is no more work to do when there is no pending descriptors.
Diffstat (limited to 'contrib/gdb')
0 files changed, 0 insertions, 0 deletions