summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-04-07turn fragment reassembly on by default. the is little to no reason toHenning Brauer
not do fragment reassembly. discussed with dlg and ryan in basel. ok ryan dlg sthen jdixon todd deraadt
2009-04-07dont enable checksumming. it appears to be broken on fragmented packets.David Gwynne
discovered by deraadt@, fix tested by deraadt@
2009-04-07Eliminate useless loop over partitions and ignore zero lengthKenneth R Westerback
partitions in bsd_to_sun(), even if their offsets are nonsense. Theo says if sparc64 compiles so will sparc. Fixes some useless disklabel warning messages. ok miod@ deraadt@
2009-04-07Update to tzdata2009e from elsie.nci.nih.govTodd C. Miller
2009-04-07Remove some dead and if 0ed out code in the ragedrm freelist, while i'm hereOwain Ainsworth
detypedef the buf_priv structure and do a little cleanup.
2009-04-06Convert the savage freelist over to TAILQ.Owain Ainsworth
2009-04-06Convert the mgadrm freelist code from handrolled lists to TAILQs,Owain Ainsworth
simplifying while I do it.
2009-04-06factor a bit more functionality into common code instead of repeating itOwain Ainsworth
in both drivers.
2009-04-06Actually remove the file this time...Owain Ainsworth
2009-04-06Turns out that the intel version of the heap interface isn't usedOwain Ainsworth
anywhere. And hasn't been for a long time. The ddx sets up the heap (so just always pass that call and do nothing), but nothing that touches inteldrm actually uses the other ioctls. So just kill them and have one lese thing to worry about. Still got sis and radeon using the common code though.
2009-04-06Set a first step on the road towards proper accounting of PCI resources byMark Kettenis
keeping a per-bus extent containing the address space available to the bus. Address space assigned to devices will be removed from these extents when we attach a bus. And when we try to map a PCI BAR that hasn't had address space assigned to it, we will allocate free space from this extent. This won't do anything until the parent devices actually allocate and initialize the extents. ok oga@
2009-04-06Remove the only (commented) instance of UVM_PAGE_INLINE from the treeOwain Ainsworth
now that it has been removed. uncommenting that would not even have been the correct way to enable it. ok miod@
2009-04-06Initial check-in of mandoc for formatting manuals. ok deraadt@kristaps
2009-04-06sync with 0.9.8k;Jason McIntyre
2009-04-06do not panic when the device is unplugged.Damien Bergamini
fix 802.11a rate set for dual-band devices (spotted by Fukaumi Naoki). + usual cleanup
2009-04-06rewrite the description for the recently added "match" action.Igor Sobrado
ok henning@
2009-04-06no more normalization statements, remove it from require-order description.Stuart Henderson
ok henning
2009-04-06In the case where VM_PHYSSEG_MAX == 1 make vm_physseg_find andOwain Ainsworth
PHYS_TO_VM_PAGE inline again. This should stop function call overhead killing the vax and other slow archs while keeping the benefit for the faster platforms. suggested by miod. ok miod@, toby@.
2009-04-06documentation changes related with the monster pf diff from basel;Igor Sobrado
we are mostly documenting that fragment reassembly has nothing to do with scrubbing anymore; there is room for a lot of improvements yet. "commit it and we work on it in-tree. it is certainly well, better than what there is now" henning@
2009-04-06Fix regression introduced in r1.32 where after running MAKEDEV sysmergeAntoine Jacoutot
would stop comparing files. breakage reported by and ok naddy@
2009-04-06Adjust for renaming the DEC 21554 in pcidevs.Mark Kettenis
2009-04-06regenMark Kettenis
2009-04-06Fix entry for DEC 21554 non-transparent PCI bridge (which may be used in someMark Kettenis
Compaq RAID controllers, but there are other applications too).
2009-04-06new sentence, new line;Jason McIntyre
2009-04-06Adapt PF rule to new scrub syntax.Antoine Jacoutot
input from and ok henning@
2009-04-06more scrub scrubbingHenning Brauer
2009-04-06scrub goneHenning Brauer
2009-04-06print prettier, from sthen@Henning Brauer
2009-04-06reassembly works different nowHenning Brauer
2009-04-06teach tcpdump about match rulesHenning Brauer
2009-04-06scrub rules goneHenning Brauer
2009-04-06teach libpcap about scrub rulesHenning Brauer
2009-04-061) scrub rules are completely gone.Henning Brauer
2) packet reassembly: only one method remains, full reassembly. crop and drop-ovl are gone. . set reassemble yes|no [no-df] if no-df is given fragments (and only fragments!) with the df bit set have it cleared before entering the fragment cache, and thus the reassembled packet doesn't have df set either. it does NOT touch non-fragmented packets. 3) regular rules can have scrub options. . pass scrub(no-df, min-ttl 64, max-mss 1400, set-tos lowdelay) . match scrub(reassemble tcp, random-id) of course all options are optional. the individual options still do what they used to do on scrub rules, but everything is stateful now. 4) match rules "match" is a new action, just like pass and block are, and can be used like they do. opposed to pass or block, they do NOT change the pass/block state of a packet. i. e. . pass . match passes the packet, and . block . match blocks it. Every time (!) a match rule matches, i. e. not only when it is the last matching rule, the following actions are set: -queue assignment. can be overwritten later, the last rule that set a queue wins. note how this is different from the last matching rule wins, if the last matching rule has no queue assignments and the second last matching rule was a match rule with queue assignments, these assignments are taken. -rtable assignments. works the same as queue assignments. -set-tos, min-ttl, max-mss, no-df, random-id, reassemble tcp, all work like the above -logging. every matching rule causes the packet to be logged. this means a single packet can get logged more than once (think multiple log interfaces with different receivers, like pflogd and spamlogd) . almost entirely hacked at n2k9 in basel, could not be committed close to release. this really should have been multiple diffs, but splitting them now is not feasible any more. input from mcbride and dlg, and frantzen about the fragment handling. speedup around 7% for the common case, the more the more scrub rules were in use. manpage not up to date, being worked on.
2009-04-06Instead of doing splbio(); simple_lock(&uvm.aiodoned_lock); just replaceOwain Ainsworth
the simple lock with a real lock - a IPL_BIO mutex. While i'm here, make the sleeping condition one hell of a lot simpler in the aio daemon. some ideas from and ok art@.
2009-04-06Don't bother to keep a count of irqs recieved, the os does that for us.Owain Ainsworth
2009-04-06Add a report summary file, ${WRKDIR}/sysmerge.log, that will include allAntoine Jacoutot
worthy post run information instead of spreading info into several files. Tweak some output while here. Enchance description for the -S and -X options; thanks to sthen@ and jmc@ for finding the correct wording... it was not as easy as it seems. Fix a typo in the man page, spotted by jmc@ ok sthen@ jmc@
2009-04-06- tweak for recent gnome.port.mk changesAntoine Jacoutot
ok jasper@
2009-04-06make sure we handle allowed options in cvs_export() insteadJoris Vink
of ignoring them, even if they are just stubs. unbreaks export with gnu cvs clients.
2009-04-06syncTheo de Raadt
2009-04-06crankus majorisDamien Miller
2009-04-06resolve conflictsDamien Miller
2009-04-06import of OpenSSL 0.9.8kDamien Miller
2009-04-06Don't forget to TAILQ_INIT() the heap...Owain Ainsworth
2009-04-06sisdrm depends on the heap interface too, now.Owain Ainsworth
2009-04-06extra or missing blank lines.Owain Ainsworth
2009-04-06Remove the context constructor and destructor driver hooks. sisdrm's oldOwain Ainsworth
code was the only that that needed them.
2009-04-06sisdrm is disabled. That does not mean that the code doesn't offend me.Owain Ainsworth
This driver is a very thin wrapper for doling out memory to userland, everything else is handled by the userland drivers, therefore I really want to rewrite this driver before even thinking about enabling it, userland mapping graphics registers makes it hard for me to sleep at night. Anyway, remove a huge pile of scary code by switching the memory allocation ioctls to user the drm_heap.c code instead of the very complicated mess that it uses right now, probably saves some space, too. Turns out linux made some similar (but far from identical) changes ages ago, They did more, that may come later.
2009-04-06merge radeon_mem_release() and radeon_mem_takedown() into the drm_heapOwain Ainsworth
interface as drm_mem_release() and drm_mem_takedown() respectively. While this interface's days are numbered, I'm about to make another driver use it to remove even worse code. Roll on memory management...
2009-04-05In the previous commit, i confused "any" and "all".Ingo Schwarze
Fix prodded and checked by jmc@, thanks.
2009-04-05In the rare case where after we've loaded the iomap into the hardware,Owain Ainsworth
if we fail while assembling the dmamap due to the memory not fitting into our constraints we'll return from the function with the iomap still loaded, and more importantly with memory still allocated from the extent(9). So in such a case, make sure we clean up after outselves. In order to make this cleaner, remove an impossible condition check (kettenis and myself are satisfied that it will never happen), and make iomap_load_map void (it can't fail), so that we can only fail after both the extent is allocated and the iomap is loaded, and not inbetween the two. I tested iommu, kettenis tested viommu. ok kettenis@.