diff options
author | bz <bz@FreeBSD.org> | 2009-06-14 17:15:18 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2009-06-14 17:15:18 +0000 |
commit | 56983733aae4f7a2c06cbf59c81da67cde90790f (patch) | |
tree | 2692a18160e587aed5bdcbd2d8eac925ca8d7076 /share | |
parent | ced07ef3b3639a83761cd0e5bb0df9418adc1d4d (diff) | |
download | FreeBSD-src-56983733aae4f7a2c06cbf59c81da67cde90790f.zip FreeBSD-src-56983733aae4f7a2c06cbf59c81da67cde90790f.tar.gz |
Add an optional callback function that will be invoked when a per-CPU
queue was drained. It will never fire for a directly dispatched packet.
You will most likely never want to use this for any ordinary netisr usage
and you will never blame netisr in case you try to use it and it does
not work as expected.
Reviewed by: rwatson
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/netisr.9 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/share/man/man9/netisr.9 b/share/man/man9/netisr.9 index d54b6ff..b4062e0 100644 --- a/share/man/man9/netisr.9 +++ b/share/man/man9/netisr.9 @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 7, 2009 +.Dd June 14, 2009 .Dt NETISR 9 .Os .Sh NAME @@ -137,6 +137,13 @@ Will be used only with Protocol function to determine what CPU a packet should be processed on. Will be used only with .Dv NETISR_POLICY_CPU . +.It Vt netisr_drainedcpu_t Va nh_drainedcpu +Optional callback function that will be invoked when a per-CPU queue +was drained. +It will never fire for directly dispatched packets. +Unless fully understood, this special-purpose function should not be used. +.\" In case you intend to use this please send 50 chocolate bars to each +.\" of rwatson and bz and wait for an answer. .It Vt u_int Va nh_proto Protocol number used by both protocols to identify themselves to .Nm , |