summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/common.c
diff options
context:
space:
mode:
authorbryanv <bryanv@FreeBSD.org>2014-07-10 05:36:04 +0000
committerbryanv <bryanv@FreeBSD.org>2014-07-10 05:36:04 +0000
commitee6f08db44960e24453a17b4bf844ac59f2305a3 (patch)
tree5f5105440942e4830db5224b0d816aa5289377c8 /lib/libfetch/common.c
parenteda154e3c451a6896dca7160da0323218de255c6 (diff)
downloadFreeBSD-src-ee6f08db44960e24453a17b4bf844ac59f2305a3.zip
FreeBSD-src-ee6f08db44960e24453a17b4bf844ac59f2305a3.tar.gz
Rework when the Tx queue completion interrupt is enabled
The Tx interrupt is now kept disabled in the common case, only enabled when the number of free descriptors in the queue falls below a threshold. Transmitted frames are cleared from the VQ before subsequent transmit, or in the watchdog timer. This was a very big performance improvement for an experimental Netmap bhyve backend. MFC after: 1 month
Diffstat (limited to 'lib/libfetch/common.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud