summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Remove kernel support for BB profiling, now that kernbb(8) is gone, too.uqs2010-11-262-39/+0
| | | | | | | | | | PR: bin/83558 Reviewed by: jkim
* | Enable ethernet flow-control on all alc(4) controllers. This changeyongari2010-11-261-3/+1
| | | | | | | | should reduce a lot of dropped frames under high network load.
* | Enable ethernet flow-control on all jme(4) controllers.yongari2010-11-261-3/+1
| |
* | Allocate 1 MSI/MSI-X vector. Originally jme(4) was designed toyongari2010-11-261-28/+12
| | | | | | | | | | | | | | support multi-queue but the hardware limitation made it hard to implement supporting multi-queue. Allocating more than necessary vectors is resource waste and it can be added back when we implement multi-queue support.
* | Disable retrying RX descriptor loading. The counter is used to setyongari2010-11-261-2/+2
| | | | | | | | | | | | | | | | | | | | number of retry to be performed whenever controller found RX descriptor was empty. RX empty interrupt is generated only when the retry counter is over. Experimentation shows retrying RX descriptor loading increased number of dropped frames under flow-control enabled environments so disable it and have controller generate RX empty interrupt as fast as it can. While I'm here fix RXCSR_DESC_RT_CNT macro.
* | Removes a unused function `usb_bus_find'.weongyo2010-11-252-27/+0
| |
* | Apply the same fix as in r215823 to sys/amd64/amd64/fpu.c: usedim2010-11-251-1/+1
| | | | | | | | unambiguous inline assembly to load a float variable.
* | Revert r215819 and fix the bug properly. In pmap_qremove, paging tablecperciva2010-11-251-12/+1
| | | | | | | | | | | | | | | | | | | | | | updates were being queued by pmap_kremove, but the queue wasn't being flushed; as a result, the updates didn't happen until *after* the call to pmap_invalidate_range, and old entries could stick around in the TLB. Adding a PT_UPDATES_FLUSH() call immediately before pmap_invalidate_range ensures that after the invalidation the TLB will be repopulated with the correct new entries. Thanks to: kib, avg, alc
* | Don't zero 'Info' after setting it up in the ASR_IOCTL_COMPAT case.brian2010-11-251-2/+2
| | | | | | | | MFC after: 2 days
* | Now that the fix for gcc PR 20218 is applied, and hidden attributesdim2010-11-251-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | actually work, linking of libgcc_s.so.1 on ia64 will fail with: unwind-ia64.So(.text+0x1762): In function `_Unwind_FindEnclosingFunction': : undefined reference to `_Unwind_FindTableEntry' unwind-ia64.So(.text+0x1d82): In function `uw_frame_state_for': : undefined reference to `_Unwind_FindTableEntry' /usr/bin/ld: libgcc_s.so.1: hidden symbol `_Unwind_FindTableEntry' isn't defined Repair this by not hiding the _Unwind_FindTableEntry symbol; on FreeBSD, it is in libc, not in libgcc. Silence from: current@
* | Apply backported fix for gcc PR 20218. This makes __attribute__dim2010-11-257-111/+66
| | | | | | | | | | | | | | ((visibility ("hidden"))) work properly, and fixes building devel/glib20 with newer binutils. Silence from: current@
* | Account i/o done on cdevs.kib2010-11-251-2/+5
| | | | | | | | | | Reported and tested by: Adam Vande More <amvandemore gmail com> MFC after: 1 week
* | Update manual page with respect to latest driver.delphij2010-11-251-7/+29
| | | | | | | | While I'm there remove ARC-1180 which doesn't seem to exist.
* | Pet make checkdpadd.uqs2010-11-251-0/+1
| |
* | Add a HARDWARE section.delphij2010-11-251-1/+6
| | | | | | | | MFC after: 2 weeks
* | Add a sync to the shutdown step. In the common case this will be harmlessdougb2010-11-251-2/+2
| | | | | | | | | | | | | | at worst. On a heavily loaded server it will give the fs a chance to do its business without the axe hanging over its head. Submitted by: ivoras
* | Use unambiguous inline assembly to load a float variable. GNU asdim2010-11-251-1/+1
| | | | | | | | | | | | | | | | silently converts 'fld' to 'flds', without taking the actual variable type into account (!), but clang's integrated assembler rightfully complains about it. Discussed with: cperciva
* | Add a missing CTL description from CVS revision 1.147.attilio2010-11-251-0/+1
| | | | | | | | | | | | Sponsored by: Sandvine Incorporated Discussed with: Jeremie Le Hen <jeremie at le-hen dot org> MFC after: 3 days
* | Add device IDs for two more ServerWorks Host-PCI bridges so that we canjhb2010-11-252-0/+7
| | | | | | | | | | | | | | | | read their starting PCI bus number for older systems that do not support ACPI (or have a broken _BBN method). PR: kern/148108 MFC after: 1 week
* | Work around paging bug. Somehow we seem to be ending up with entries incperciva2010-11-251-0/+12
| | | | | | | | | | | | | | the TLB which don't correspond to ptes with PG_V set; prior to this commit I'm sometimes getting the wrong data when pages are loaded into the buffer cache (they're being loaded, but the missing TLB invalidation is causing the wrong data to be visible).
* | Rename HYPERVISOR_multicall (which performs the multicall hypercall) tocperciva2010-11-252-1/+23
| | | | | | | | | | | | _HYPERVISOR_multicall, and create a new HYPERVISOR_multicall function which invokes _HYPERVISOR_multicall and checks that the individual hypercalls all succeeded.
* | Adds new dtrace for cwnd functions and lay'srrs2010-11-255-3/+332
| | | | | | | | | | | | groundwork for future dtrace points (rwnd flightsize etc). MFC after: 2 months
* | Remove vestigal debugging code which, in fork-heavy workloads, can causecperciva2010-11-251-1/+0
| | | | | | | | a 30x slowdown.
* | Handles the unit number correctly that the previous commit had a problemweongyo2010-11-252-6/+5
| | | | | | | | | | | | | | | | (wrong unit number for a host controller) when the module is load / unloaded repeatly. Attaching the USB pf is moved to usbus device's attach. Pointed by: yongari
* | Give a bit of a hint of the failure (read != expected) but don't makeemaste2010-11-251-1/+1
| | | | | | | | | | | | the error message needlessly more verbose. Discussed with: attilio
* | Assigning the unit number for each interfaces could not use ubus->parentweongyo2010-11-251-1/+2
| | | | | | | | | | because it could differ depending on the host controller type. It could lead the duplicate unit number assignment.
* | The purpose of this change is to add a routine tojfv2010-11-241-55/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | disable ASPM L0S and L1 LINK states on 82573, 82574, and 82583. The theory is that this is behind certain hangs being experienced by some customers. Also included a small optimization in the rxeof routine that was in my internal code. Change the PBA size for pchlan, it was incorrect. MFC after: 3 days
* | Fixes a compiler warning when it's compiled with INVARIANTS.weongyo2010-11-241-1/+1
| | | | | | | | Pointy hat to: me
* | As a refection of r215802 it should use BPF interfaces because theweongyo2010-11-241-37/+39
| | | | | | | | duplication code of USB pf is removed.
* | Removes all duplicated code with BPF that it's greatly simplified andweongyo2010-11-244-1877/+27
| | | | | | | | | | | | | | take all benefits whenever BPF code is improved. Pointed by: jkim Reviewed by: thompsa
* | Change ambiguous (or invalid, depending on how strict you want to be :)dim2010-11-241-1/+1
| | | | | | | | | | | | | | | | assembly instruction "movw %rcx,2(%rax)" to "movw %cx,2(%rax)", since the intent was to move 16 bits of data, in this case. Found by: clang Reviewed by: kib
* | Simplify ng_pipe locking model by relying on the netgraph frameworkzec2010-11-241-147/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to provide serialization of calls into the node, which is accomplished by markng the node as single-threaded (NGF_FORCE_WRITER). The price we pay is that each ng_pipe instance now has its own callout handler which polls for queued frames on each clock tick, as long as the pipe has any frames in its internal queues. OTOH, we got rid of the global ng_pipe mutex, so from now on multiple ng_pipe instances can operate in parallel. This change also fixes counting of forwarded frames when an ng_pipe node is not enforcing any packet impairments. While here, attempt to improve adherance to style(9) throughout otherwise mostly unreadable code. MFC after: 3 days
* | Add gptboot_enable rc variable, which allows to turn gptboot reporting off inpjd2010-11-243-1/+15
| | | | | | | | | | | | | | | | case user wants to implement his own actions and doesn't want the attributes to vanish. Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com MFC after: 3 days
* | Remove the note about possible unlocking during vunref(9). It mightkib2010-11-241-5/+1
| | | | | | | | | | | | | | | | only happen if VOP_INACTIVATE() drops the vnode lock, which is quite unreasonable behaviour for filesystem, and should not be mentioned in the description of VFS primitives. MFC after: 1 week
* | Allow shared-locked vnode to be passed to vunref(9).kib2010-11-241-5/+15
| | | | | | | | | | | | | | | | | | | | When shared-locked vnode is supplied as an argument to vunref(9) and resulting usecount is 0, set VI_OWEINACT and do not try to upgrade vnode lock. The later could cause vnode unlock, allowing the vnode to be reclaimed meantime. Tested by: pho MFC after: 1 week
* | After the sleep caused by encountering a busy page, relookup the page.kib2010-11-241-1/+3
| | | | | | | | | | | | Submitted and reviewed by: alc Reprted and tested by: pho MFC after: 5 days
* | o Swap descriptions for net.bpf.bufsize and net.bpf.maxbufsize.maxim2010-11-241-2/+2
| | | | | | | | | | PR: misc/152531 MFC after: 1 week
* | Redo r166423. It is important not only skip freeing multicastglebius2010-11-241-14/+17
| | | | | | | | | | entires when underlying interface is detached, but also purge pointers to them, to avoid double-free in future.
* | Add shared code glue for new 82580 devices.jfv2010-11-242-0/+4
| |
* | Clarify a few details about iostat(8) behavior:yar2010-11-241-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | - The default repeat count for iostat(8) is 1 unless there was a -w on the command line. - A -x display doesn't include TTY or CPU stats by default but they can be turned on with a -T or -C, respectively. Submitted by: arundel (initial version) Reviewed by: arundel MFC after: 1 week
* | sh: Code size optimizations to "stack string" memory allocation:jilles2010-11-238-33/+47
| | | | | | | | | | | | | | | | * Prefer one CHECKSTRSPACE with multiple USTPUTC to multiple STPUTC. * Add STPUTS macro (based on function) and use it instead of loops that add nul-terminated strings to the stack string. No functional change is intended, but code size is about 1K less on i386.
* | Add prototype for InitializeSListHead().bschmidt2010-11-231-0/+1
| |
* | - New 82580 devices supportedjfv2010-11-232-135/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fixes from John Baldwin: vlan shadow tables made per/interface, make vlan hw setup only happen when capability enabled, and finally, make a tuneable interrupt rate. Thanks John! - Tweaked watchdog handling to avoid any false positives, now detection is in the TX clean path, with only the final check and init happening in the local timer. - limit queues to 8 for all devices, with 82576 or 82580 on larger machines it can get greater than this, and it seems mostly a resource waste to do so. Even 8 might be high but it can be manually reduced. - use 2k, 4k and now 9k clusters based on the MTU size. - rework the igb_refresh_mbuf() code, its important to make sure the descriptor is rewritten even when reusing mbufs since writeback clobbers things. MFC: in a few days, this delta needs to get to 8.2
* | Remove the description of the link0 link option, since r215297 the mastermarius2010-11-236-132/+6
| | | | | | | | | | | | | | | | | | | | | | media option generally should be used instead. Actually I think the lists of media types should be removed from the manual pages of MAC drivers altogether and users just pointed to the output of `ifconfig -m` instead; even before r215297 there were several outdated descriptions, technically it's wrong most of the time as not the MAC drivers support these media types but actually the PHY drivers do and it generally doesn't make sense to maintain these lists in every manual page of a driver as the media is auto-detected.
* | Add a few functions used in newer drivers. Fix RtlCompareMemory() whilebschmidt2010-11-233-6/+149
| | | | | | | | | | | | here. Submitted by: Paul B Mahol <onemda@gmail.com>
* | Don't checksum distfiles twice if they match the first time.phk2010-11-231-9/+7
| |
* | - Sprinkle const on tables.marius2010-11-232-26/+14
| | | | | | | | | | - Remove an alpha remnant. - Minor comment and style fixes.
* | Optimize the ports recurser a bit more.phk2010-11-231-1/+3
| |
* | sh: Pass multiple bytes at a time to lex.jilles2010-11-231-1/+9
| | | | | | | | This speeds up the expansion/arith6.0 test considerably.
* | Improve the ports-dependency resolver by truncating the recursion ifphk2010-11-231-7/+34
| | | | | | | | | | we already did the target port, and by leaving behind a /tmp/_.plist.dot which documents which ports pulled in what other ports.
OpenPOWER on IntegriCloud