[NetBSD Developer Wiki]
- view: text
- select for diffs
Thu Nov 10 03:06:51 2011 UTC
(6 years, 3 months ago) by jmmv
CVS tags: HEAD
Add a specific proposal for the SMP networking project.
This proposal is built on top of several individual, smaller projects, all
of which are related to achieve the goals of SMP support and modularity on
the network stack. Keep in mind that this is just that: a proposal.
Applicants could still come up with their own ideas.
The text of all these new pages is mostly a copy/paste of the original
document written by matt@ (see http://www.netbsd.org/~matt/smpnet.html).
I have done some minor edits (hopefully not changing any of the technical
details) and added some preliminary texts to the pages. (I was unable to
parse some of the sentences though, so they remain "as is"...)
title="Revamped struct protosw"
funded="The NetBSD Foundation"
This project proposal is a subtask of [[smp_networking]] and is elegible
for funding independently.
The goal of this project is to split out obvious `PR*_xxx` that should have
never been dispatched through the `pr_usrreq`/`pr_ctloutput`. Note that
`pr_ctloutput` should be replaced by `pr_getopt`/`pr_setopt`:
* `PRU_CONTROL` -> `pr_ioctl`
* `PRU_PURGEIF` -> `pr_purgeif`
* `PRC0_GETOPT` -> `pr_getopt`
* `PRC0_GETOPT` -> `pr_setopt`
It's expected that `pr_drain` will just schedule a
[[kernel continuation|kernel_continuations]] such as:
* `pr_init` -> `int pr_init(void *dsc);`
* `int pr_fini(void *dsc)`
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb