Page MenuHomeFreeBSD

Per-VNET flag on netir and cleanup
ClosedPublic

Authored by bz on Jun 2 2016, 2:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 10, 2:18 AM
Unknown Object (File)
Mon, Dec 2, 2:32 AM
Unknown Object (File)
Nov 26 2024, 10:31 AM
Unknown Object (File)
Nov 8 2024, 1:34 PM
Unknown Object (File)
Nov 4 2024, 5:30 AM
Unknown Object (File)
Nov 4 2024, 5:30 AM
Unknown Object (File)
Nov 4 2024, 5:30 AM
Unknown Object (File)
Nov 4 2024, 5:30 AM
Subscribers

Details

Summary

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.
Update netisr consumers to (de)register on a per-VNET start/teardown using
VNET_SYS(UN)INIT functionality.
Upon disabling netisr processing for a VNET drain the netisr queue.

The change should be transparent for non-VIMAGE kernels.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4085
Build 4128: arc lint + arc unit

Event Timeline

bz retitled this revision from to Per-VNET flag on netir and cleanup.
bz updated this object.
bz edited the test plan for this revision. (Show Details)
bz added reviewers: gnn, rwatson, emaste, zec.
bz added a subscriber: network.
gnn edited edge metadata.
This revision is now accepted and ready to land.Jun 2 2016, 5:47 PM
hiren requested changes to this revision.Jun 2 2016, 6:21 PM
hiren added a reviewer: hiren.
hiren added a subscriber: hiren.

Can you please update netisr manpage?

This revision now requires changes to proceed.Jun 2 2016, 6:21 PM
bz edited edge metadata.

Updating netisr man page as requested.

Update epair(4) to nly hide the netisr call under VIMAGE on SYSUNINT
as we might unload the module using it in non-VIMAGE cases as well
(theoretically).

Just leaving a note from out of band communication.

share/man/man9/netisr.9
93 ↗(On Diff #17270)

Changed s/which/that/ based on a private comment from @gnn.

gnn edited edge metadata.
This revision was automatically updated to reflect the committed changes.