Age | Commit message (Collapse) | Author |
|
boring details:
pf used to use an mbuf tag to keep track of route-to etc, altq, tags,
routing table IDs, packets redirected to localhost etc. so each and every
packet going through pf got an mbuf tag. mbuf tags use malloc'd memory,
and that is knda slow.
instead, stuff the information into the mbuf header directly.
bridging soekris with just "pass" as ruleset went from 29 MBit/s to
58 MBit/s with that (before ryan's randomness fix, now it is even betterer)
thanks to chris for the test setup!
ok ryan ryan ckuethe reyk
|
|
|
|
the remainder of the network stack from splimp to splnet.
ok miod@
|
|
in the data part for the data from the previously distinct tags.
look up the tag early and carry a pointer to it around.
makes the code easier and saves some tag lookups and thus helps performance,
as proven by tests run by Schberle Dniel <Schoeberle.Daniel@aamtech.hu>
Initially hacked up somewhere over the atlantic ocean in an A330
early testing reyk and moritz, "put it in" theo
|
|
identifiers without embedded meanings.
this also allows us to make the semantics of the qid assignment in line
with the tag assignment in the next step.
ok, henning@
|
|
|
|
ok kjc@
|
|
IDs in userland already.
|
|
this should not happen but just in case.
printf() is intended to be annoying so that we'll get reports on it.
original idea from dhartmei@
ok deraadt@, henning@
|
|
validity and take that.
validity checks provided by kjc@
ok dhartmei@ kjc@
|
|
|
|
"accidently" typed while hunting a bug ;-)
ok kjc@
|
|
|
|
ok kjc@
|
|
- remove files which are no longer used, or we don't have plans to support
in pf in the near future.
- remove altq ioctl related stuff.
- convert the PRIQ, HFSC and RIO modules to pf-based altq.
(these are not enabled in GENERIC, CDNR is not converted yet.)
|
|
|
|
for now, implemnet a tentative transition mechanism to allow the old API
and the new API to coexit.
the old API will go away when pfctl(8) becomes ready.
|
|
this bug is triggered only when 3 or more cbq instances are
created at a time.
|
|
|
|
|
|
then altq_* for each of the other * experimental options. and.. enable
it by default in GENERIC.
|
|
ALTQ allows to switch various queueing disciplines on output network
interfaces.
|