dummynet - Poll only if operational, change default freq for vkernel
authorMatthew Dillon <dillon@backplane.com>
Fri, 31 May 2019 03:41:32 +0000 (22:41 -0500)
committerMatthew Dillon <dillon@backplane.com>
Fri, 31 May 2019 03:41:32 +0000 (22:41 -0500)
commita007903a4ec12165bffac7879c47c3b30bfbddda
treee88d678c19f15beded11335519cb29ceb1f99b78
parentfabf443a75f9c82584e873e512959e9a551af7b0
dummynet - Poll only if operational, change default freq for vkernel

* Default frequency for vkernel is now 100 hz instead of 1000 hz.
  The frequency can be changed at any time with a sysctl.

* The systimer is only configured when there are pipes or flows
  present, and will be deconfigured when there aren't.  This
  saves us from doing any unnecessary polling.

* dummynet still has some considerable holes related to SMP
  operation.  It really needs a rewrite to some degree.
sys/net/dummynet/ip_dummynet.c