summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2016-06-03 13:57:10 +0000
committerbz <bz@FreeBSD.org>2016-06-03 13:57:10 +0000
commit69cdb2137c13e36cbc467dd745ab15126fc22063 (patch)
treeb9bad282d3f1a106a25f2d6b11e1232e2b57223b /crypto
parent28ea44dac8d1daa2b1d50448cbbb48c2f51045fd (diff)
downloadFreeBSD-src-69cdb2137c13e36cbc467dd745ab15126fc22063.zip
FreeBSD-src-69cdb2137c13e36cbc467dd745ab15126fc22063.tar.gz
Introduce a per-VNET flag to enable/disable netisr prcessing on that VNET.
Add accessor functions to toggle the state per VNET. The base system (vnet0) will always enable itself with the normal registration. We will share the registered protocol handlers in all VNETs minimising duplication and management. Upon disabling netisr processing for a VNET drain the netisr queue from packets for that VNET. Update netisr consumers to (de)register on a per-VNET start/teardown using VNET_SYS(UN)INIT functionality. The change should be transparent for non-VIMAGE kernels. Reviewed by: gnn (, hiren) Obtained from: projects/vnet MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6691
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud