| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
the toplevel directory.
This does not change any WARNS level and survives a make universe.
Approved by: ed (co-mentor)
Notes:
svn path=/head/; revision=204596
|
|
|
|
| |
Notes:
svn path=/head/; revision=204595
|
|
|
|
|
|
|
| |
Requested by: Niclas Zeising
Notes:
svn path=/head/; revision=204594
|
|
|
|
|
|
|
|
|
| |
now there is no reason to only include "zlib".
Requested by: jhb
Notes:
svn path=/head/; revision=204593
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and tested over the past two months in the ipfw3-head branch. This
also happens to be the same code available in the Linux and Windows
ports of ipfw and dummynet.
The major enhancement is a completely restructured version of
dummynet, with support for different packet scheduling algorithms
(loadable at runtime), faster queue/pipe lookup, and a much cleaner
internal architecture and kernel/userland ABI which simplifies
future extensions.
In addition to the existing schedulers (FIFO and WF2Q+), we include
a Deficit Round Robin (DRR or RR for brevity) scheduler, and a new,
very fast version of WF2Q+ called QFQ.
Some test code is also present (in sys/netinet/ipfw/test) that
lets you build and test schedulers in userland.
Also, we have added a compatibility layer that understands requests
from the RELENG_7 and RELENG_8 versions of the /sbin/ipfw binaries,
and replies correctly (at least, it does its best; sometimes you
just cannot tell who sent the request and how to answer).
The compatibility layer should make it possible to MFC this code in a
relatively short time.
Some minor glitches (e.g. handling of ipfw set enable/disable,
and a workaround for a bug in RELENG_7's /sbin/ipfw) will be
fixed with separate commits.
CREDITS:
This work has been partly supported by the ONELAB2 project, and
mostly developed by Riccardo Panicucci and myself.
The code for the qfq scheduler is mostly from Fabio Checconi,
and Marta Carbone and Francesco Magno have helped with testing,
debugging and some bug fixes.
Notes:
svn path=/head/; revision=204591
|
|
|
|
|
|
|
|
|
|
| |
module when mfi is a module itself.
Reviewed by: jhb, scottl
MFC after: 1 week
Notes:
svn path=/head/; revision=204590
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
device is different from the device used to the original mount.
Note that update_mp does not need devvp locked, and pmp->pm_devvp cannot
be freed meantime.
Reported and tested by: pho
MFC after: 3 weeks
Notes:
svn path=/head/; revision=204589
|
|
|
|
|
|
|
|
|
| |
their software.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=204588
|
|
|
|
|
|
|
|
|
| |
their software.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=204587
|
|
|
|
|
|
|
|
|
| |
their software.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=204586
|
|
|
|
|
|
|
|
|
|
| |
- fix some nearby style bugs
- include Makefile.inc where it makes sense and reduces duplication
Approved by: ed (co-mentor)
Notes:
svn path=/head/; revision=204585
|
|
|
|
| |
Notes:
svn path=/head/; revision=204582
|
|
|
|
|
|
|
|
|
|
| |
pts devices when various policy ptys_equal flags are enabled.
Submitted by: Estella Mystagic <estella at mystagic.com>
MFC after: 1 week
Notes:
svn path=/head/; revision=204581
|
|
|
|
|
|
|
|
|
|
| |
o rename the new variables to comply with the naming scheme
o move the new variables to an AR5212 specific struct
o use ahp when available
o revert to previous ts_flags check
Notes:
svn path=/head/; revision=204579
|
|
|
|
| |
Notes:
svn path=/head/; revision=204578
|
|
|
|
|
|
|
|
|
|
|
|
| |
- remove unused and commented code (MIPS_BUS_SPACE_PCI, pic_usb_ack)
- use rmi_pci_bus_space for USB too (needs byteswap)
- uncomment xls_ehci.c in files.xlr
- changes to xls_ehci.c - updated with dev/usb/controller/ehci_*.c as
Obtained from: JC - c.jayachandran@gmail.com
Notes:
svn path=/head/; revision=204577
|
|
|
|
|
|
|
| |
MFC after: 3 weeks
Notes:
svn path=/head/; revision=204576
|
|
|
|
|
|
|
|
| |
by more general ipfw_rule_ref. The latter isn't documented here, since
it should be documented in ipfw.4.
Notes:
svn path=/head/; revision=204574
|
|\
| |
| |
| |
| |
| |
| |
| | |
Paraguay changes its DST schedule, postponing the March rule to
April and modifying the October date.
Notes:
svn path=/head/; revision=204566
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Paraguay changes its DST schedule, postponing the March rule to
April and modifying the October date.
Obtained from: ftp://elsie.nci.nih.gov/pub/
Notes:
svn path=/vendor/tzdata/dist/; revision=204563
svn path=/vendor/tzdata/tzdata2010c/; revision=204564; tag=vendor/tzdata/tzdata2010c
|
| |
| |
| |
| |
| |
| |
| | |
Submitted by: ru
Notes:
svn path=/head/; revision=204565
|
| |
| |
| |
| |
| |
| |
| | |
Submitted by: jmallet@
Notes:
svn path=/head/; revision=204559
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=204558
|
| |
| |
| |
| |
| |
| |
| | |
Also update SZREG define in ucontext
Notes:
svn path=/head/; revision=204557
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
contributed, and main development is happening in the FreeBSD repo.
Suggested by: joel
Notes:
svn path=/head/; revision=204556
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
their software.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=204555
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=204554
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
their software.
Approved by: pjd
Obtained from: NetBSD
Notes:
svn path=/head/; revision=204553
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Enhanced process coredump routines.
This brings in the following features:
1) Limit number of cores per process via the %I coredump formatter.
Example:
if corefilename is set to %N.%I.core AND num_cores = 3, then
if a process "rpd" cores, then the corefile will be named
"rpd.0.core", however if it cores again, then the kernel will
generate "rpd.1.core" until we hit the limit of "num_cores".
this is useful to get several corefiles, but also prevent filling
the machine with corefiles.
2) Encode machine hostname in core dump name via %H.
3) Compress coredumps, useful for embedded platforms with limited space.
A sysctl kern.compress_user_cores is made available if turned on.
To enable compressed coredumps, the following config options need to be set:
options COMPRESS_USER_CORES
device zlib # brings in the zlib requirements.
device gzio # brings in the kernel vnode gzip output module.
4) Eventhandlers are fired to indicate coredumps in progress.
5) The imgact sv_coredump routine has grown a flag to pass in more
state, currently this is used only for passing a flag down to compress
the coredump or not.
Note that the gzio facility can be used for generic output of gzip'd
streams via vnodes.
Obtained from: Juniper Networks
Reviewed by: kan
Notes:
svn path=/head/; revision=204552
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
a few #defines from JC.
# tested only with o32 at the moment
Submitted by: C. Jayachandran (CJ)
Obtained from: NetBSD
Notes:
svn path=/head/; revision=204549
|
| |
| |
| |
| |
| |
| |
| | |
Submitted by: neel, jmallet
Notes:
svn path=/head/; revision=204548
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
does not generate excessive interrupts any more so we don't need
to have two copies of interrupt handler.
While I'm here remove two STAT_PUT_IDX register accesses in LE
status event handler. After r204539 msk(4) always sync status LEs
so there is no need to resort to reading STAT_PUT_IDX register to
know the end of status LE processing. Just trust status LE's
ownership bit.
Notes:
svn path=/head/; revision=204545
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=204543
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
than 256 instead of using sqrt_table.
Reported by: Joe Marcus Clarke <marcus at freebsd dot org>
Notes:
svn path=/head/; revision=204542
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
countdown timer register. The timer resolution may vary among
controllers but the value would be represented by core clock
cycles. msk(4) will automatically computes number of required clock
cycles from given micro-seconds unit.
The default interrupt holdoff timer value is 100us which will
ensure less than 10k interrupts under load. The timer value can be
changed with dev.mskc.0.int_holdoff sysctl node.
Note, the interrupt moderation is shared resource on dual-port
controllers so you can't use separate interrupt moderation value
for each port. This means we can't stop interrupt moderation in
driver stop routine. Also have msk_tick() reclaim transmitted Tx
buffers as safety belt. With this change there is no need to check
missing Tx completion interrupt in watchdog handler, so remove it.
Notes:
svn path=/head/; revision=204541
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
full-duplex. Previously msk(4) used to allow flow-control on
1000baseT half-duplex media. Also GMAC pause is enabled if link
partner is capable of handling it.
While I'm here use IFM_OPTIONS instead of using IFM_GMASK to check
optional flags of link.
Notes:
svn path=/head/; revision=204540
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=204539
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Submitted by: gcooper
PR: kern/144397
MFC after: 1 month
Notes:
svn path=/head/; revision=204533
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
their software.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=204523
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
their software.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=204522
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
including the AR9285. This seems to fix some users's problems.
Submitted by: Jorge Boncompte [DTI2] <jorge at dti2.net>
Notes:
svn path=/head/; revision=204521
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
their software.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=204520
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
filled si_uid and si_pid).
Reported by: Joel Bertrand <joel.bertrand systella fr>
PR: 141956
Reviewed by: kib
MFC after: 2 weeks
Notes:
svn path=/head/; revision=204519
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
it is valid along with the other register values when a machine check is
encountered.
MFC after: 1 week
Notes:
svn path=/head/; revision=204518
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
netstat -Q.
MFC after: 6 days
Sponsored by: Juniper Networks
Notes:
svn path=/head/; revision=204515
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
u_int, so prefer unsigned int.
MFC after: 6 days
Pointed out by: bz, kib, Mr Tinderbox
Notes:
svn path=/head/; revision=204511
|
| |
| |
| |
| |
| |
| |
| | |
- Add missed DMA initialization for ALI SATA chips.
Notes:
svn path=/head/; revision=204509
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
query routines. This code is necessarily more fragile in the presence of
kernel changes than querying the kernel via sysctl (the default), but
useful when investigating crashes or live kernel state via firewire.
MFC after: 1 week
Sponsored by: Juniper Networks
Notes:
svn path=/head/; revision=204499
|
| |
| |
| |
| |
| |
| |
| | |
MFC after: 3 days
Notes:
svn path=/head/; revision=204498
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Rename the netisr protocol registration array, 'np' to 'netisr_proto',
in order to reduce the chances of symbol name collisions. It remains
statically defined, but it will be looked up by netstat(1).
- Move certain internal structure definitions from netisr.c to
netisr_internal.h so that netstat(1) can find them. They remain
private, and should not be used for any other purpose (for example,
they should not be used by kernel modules, which must instead use the
public interfaces in netisr.h).
- Store a kernel-compiled version of NETISR_MAXPROT in the global variable
netisr_maxprot, and export via a sysctl, so that it is available for use
by netstat(1). This is especially important for crashdump
interpretation, where the size of the workstream structure is determined
by the maximum number of protocols compiled into the kernel.
MFC after: 1 week
Sponsored by: Juniper Networks
Notes:
svn path=/head/; revision=204497
|