msaitoh
80bf5cccde
- Fix a bug that drop counter shows incorrect vaule like
...
"net.inet.ip.ifq.drops = 72059810241052672"
- Change pktq's length sysctl to uint64_t.
2018-08-10 07:24:09 +00:00
chs
fd34ea77eb
remove checks for failure after memory allocation calls that cannot fail:
...
kmem_alloc() with KM_SLEEP
kmem_zalloc() with KM_SLEEP
percpu_alloc()
pserialize_create()
psref_class_create()
all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.
2017-06-01 02:45:05 +00:00
ozaki-r
bcc1163e82
Fix pktq_enqueue for rump
...
Add _RUMP_NATIVE_ABI to the macro condition for i386 and x86_64 because
_RUMPKERNEL is not defined for them. See sys/rump/Makefile.rump.
Found by ATF
2014-07-04 01:50:22 +00:00
ozaki-r
ec381ed29d
Restore RPS of pktq_enqueue unless _RUMPKERNEL
...
It's a workaround and would be fixed in rump soon.
ok pooka@
2014-07-02 07:30:37 +00:00
ozaki-r
baef3a3b4a
Move sysctl_pktq_{maxlen,count} to pktqueue.c and make them global
...
They will be used by bridge.
ok rmind@
2014-06-16 00:40:10 +00:00
ozaki-r
e05f40117a
Add 3rd argument to pktq_create to pass sc
...
It will be used to pass bridge sc for bridge_forward softint.
ok rmind@
2014-06-16 00:33:39 +00:00
rmind
4fab4afac7
pktqueue: add or fix some comments, remove some header inclusions.
2014-06-09 14:44:48 +00:00
rmind
264c0a1580
Restore the assert in RUMP's softint_schedule_cpu() and just ensure
...
curcpu() in the caller.
2014-06-09 13:03:16 +00:00
rmind
ce450355ec
Implement pktq_set_maxlen() and let sysctl net.inet.{ip,ip6}.ifq.maxlen be
...
changed on the fly again.
2014-06-09 12:57:04 +00:00
rmind
60d350cf6d
- Implement pktqueue interface for lockless IP input queue.
...
- Replace ipintrq and ip6intrq with the pktqueue mechanism.
- Eliminate kernel-lock from ipintr() and ip6intr().
- Some preparation work to push softnet_lock out of ipintr().
Discussed on tech-net.
2014-06-05 23:48:16 +00:00