Support polling(4) on multiple CPUs, i.e. each NIC can be assigned to a
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 30 Sep 2007 04:37:27 +0000 (04:37 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 30 Sep 2007 04:37:27 +0000 (04:37 +0000)
commit1630efc540e479550533392c7ad24124b35ff77f
tree49dcb80a3acfd64e0371eb1d145bcf957f34c283
parent9d62a0f98f0de1bb82fb9d9c510d597e1e9a188d
Support polling(4) on multiple CPUs, i.e. each NIC can be assigned to a
particular CPU that supports polling(4):
- Tunable kern.polling.cpumask controls which CPU can support polling(4).
- Sysctl nodes under kern.polling.X should be used to tune polling(4)
  parameters on CPU_X.
- 'pollcpu' is added to ifconfig(8), which can be used to assign an NIC
  to a particular CPU.
sbin/ifconfig/ifconfig.c
sys/kern/kern_clock.c
sys/kern/kern_poll.c
sys/net/if.c
sys/net/if.h
sys/net/if_var.h
sys/net/netisr.h
sys/sys/sockio.h