summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Merge Neterion if_nxge driver version 2.0.9.11230 with the followingrwatson2007-10-295-3146/+3384
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes: 01 - Enhanced LRO: LRO feature is extended to support multi-buffer mode. Previously, Ethernet frames received in contiguous buffers were offloaded. Now, frames received in multiple non-contiguous buffers can be offloaded, as well. The driver now supports LRO for jumbo frames. 02 - Locks Optimization: The driver code was re-organized to limit the use of locks. Moreover, lock contention was reduced by replacing wait locks with try locks. 03 - Code Optimization: The driver code was re-factored to eliminate some memcpy operations. Fast path loops were optimized. 04 - Tag Creations: Physical Buffer Tags are now optimized based upon frame size. For better performance, Physical Memory Maps are now re-used. 05 - Configuration: Features such as TSO, LRO, and Interrupt Mode can be configured either at load or at run time. Rx buffer mode (mode 1 or mode 2) can be configured at load time through kenv. 06 - Driver Statistics: Run time statistics are enhanced to provide better visibility into the driver performance. 07 - Bug Fixes: The driver contains fixes for the problems discovered and reported since last submission. 08 - MSI support: Added Message Signaled Interrupt feature which currently uses 1 message. 09 Removed feature: Rx 3 buffer mode feature has been removed. Driver now supports 1, 2 and 5 buffer modes of which 2 and 5 buffer modes can be used for header separation. 10 Compiler warning: Fixed compiler warning when compiled for 32 bit system. 11 Copyright notice: Source files are updated with the proper copyright notice. MFC after: 3 days Submitted by: Alicia Pena <Alicia dot Pena at neterion dot com>, Muhammad Shafiq <Muhammad dot Shafiq at neterion dot com>
* Hide geli warnings about sector size beeing bigger than the page size whenpjd2007-10-267-7/+7
| | | | doing regression testing.
* cached -> nscdru2007-10-191-1/+1
|
* Mdoc fix.obrien2007-10-091-2/+2
| | | | | Submitted by: ru Approved by: re(implicit)
* Correct lib name.obrien2007-10-091-1/+1
| | | | | Submitted by: ru Approved by: re(kensmith)
* Repo copy libpthreads to libkse.obrien2007-10-093-4/+12
| | | | | | This introduces the WITHOUT_LIBKSE nob, and changes WITHOUT_LIBPTHREADS to mean with neither threading libs. Approved by: re(kensmith)
* The exit status of a case statement where none of the patterns is matchedstefanf2007-10-041-0/+13
| | | | | | | | is supposed to be 0, not the status of the previous command. Reported by: Eygene Ryabinkin PR: 116559 Approved by: re (gnn)
* - Add cddl/lib to the list of library directories.ru2007-10-011-1/+2
| | | | | | | - Add /bin to PATH to suppress a harmless warning from a makefile that sets a variable using cat(1). Approved by: re (kensmith)
* The shell_1_sh test was failing with "make -jX".ru2007-10-011-1/+1
| | | | Approved by: re (kensmith)
* MK_LIBTHR was misspelled.ru2007-10-011-1/+1
| | | | Approved by: re (kensmith)
* Make the PCI code aware of PCI domains (aka PCI segments) so we canmarius2007-09-301-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | support machines having multiple independently numbered PCI domains and don't support reenumeration without ambiguity amongst the devices as seen by the OS and represented by PCI location strings. This includes introducing a function pci_find_dbsf(9) which works like pci_find_bsf(9) but additionally takes a domain number argument and limiting pci_find_bsf(9) to only search devices in domain 0 (the only domain in single-domain systems). Bge(4) and ofw_pcibus(4) are changed to use pci_find_dbsf(9) instead of pci_find_bsf(9) in order to no longer report false positives when searching for siblings and dupe devices in the same domain respectively. Along with this change the sole host-PCI bridge driver converted to actually make use of PCI domain support is uninorth(4), the others continue to use domain 0 only for now and need to be converted as appropriate later on. Note that this means that the format of the location strings as used by pciconf(8) has been changed and that consumers of <sys/pciio.h> potentially need to be recompiled. Suggested by: jhb Reviewed by: grehan, jhb, marcel Approved by: re (kensmith), jhb (PCI maintainer hat)
* Update structure name to follow the new IPsec code.gnn2007-09-191-1/+1
| | | | | Reported by: phk Approved by: re
* Enhance and expand kernel privilege regression tests in support ofrwatson2007-09-0942-2212/+3850
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | work present in FreeBSD 7.0 to refine the kernel privilege model: - Introduce support for jail as a testing variable, in order to confirm that privileges are properly restricted in the jail environment. - Restructure overall testing approach so that privilege and jail conditions are set in the testing infrastructure before tests are invoked, and done so in a custom-created process to isolate the impact of tests from each other in a more consistent way. - Tests now provide setup and cleanup hooks that occur before and after the test runs. - New privilege tests are now present for several audit privileges, several credential management privileges, dmesg buffer reading privilege, and netinet raw socket creation. - Other existing tests are restructured and generally improved as a result of better framework structure and jail as a variable. For exampe, we now test that certain sysctls are writable only outside jail, while others are writable within jail. On a similar note, privileges relating to setting UFS file flags are now better exercised, as with the right to chmod and utimes files. Approved by: re (bmah) Obtained from: TrustedBSD Project
* Add support for Camellia encryption algorithm.pjd2007-09-017-14/+21
| | | | | | PR: kern/113790 Submitted by: Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp> Approved by: re (bmah)
* Add WITHOUT_ZONEINFO to the build options and regenerate src.conf.5remko2007-08-271-0/+2
| | | | | | Reminded by: ceri Approved by: re (bmah) Approved by: imp (mentor)
* Add option to not fill second code image, this makes the full diskphk2007-08-261-3/+10
| | | | | | | | | image compress much better. Respect pkg_add's internal 200 package limitation. Approved by: re (bmah) Spelling fixes by: bmah
* Bring in two fixes for TinyBSD:remko2007-08-228-7/+8
| | | | | | | | | | | | | | - Add the bind mtree to the TinyBSD build so that files can be installed there (else the build fails) - Change GEOM_GPT to GEOM_PART_GPT since that had been renamed in current. The kernel configuration provided by TinyBSD will not build without these changes. PR: misc/115484 PR: misc/115405 Submitted by: Richard Arends <richard at unixguru dot nl> Approved by: re (bmah) Approved by: imp (mentor)
* New regression test updates for rename, etc.delphij2007-08-103-6/+58
| | | | | Obtained from: NetBSD Approved by: re (tmpfs blanket)
* Add regression tests for flopen(3).des2007-08-033-1/+189
| | | | Approved by: re (blanket)
* wlandebug has been moved to the base system.thompsa2007-07-285-435/+1
| | | | Approved by: re (rwatson)
* Added environ-replacement detection. For programs that "clean" (i.e., su)scf2007-07-203-34/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | or replace (i.e., zdump) the environment after a call to setenv(), putenv() or unsetenv() has been made, a few changes were made. - getenv() will return the value from the new environ array. - setenv() was split into two functions: __setenv() which is most of the previous setenv() without checks on the name and setenv() which contains the checks before calling __setenv(). - setenv(), putenv() and unsetenv() will unset all previous values and call __setenv() on all entries in the new environ array which in turn adds them to the end of the envVars array. Calling __setenv() instead of setenv() is done to avoid the temporary replacement of the '=' in a string with a NUL byte. Some strings may be read-only data. Added more regression checks for clearing the environment array. Replaced gettimeofday() with getrusage() in timing regression check for better accuracy. Fixed an off-by-one bug in __remove_putenv() in the use of memmove(). This went unnoticed due to the allocation of double the number of environ entries when building envVars. Fixed a few spelling mistakes in the comments. Reviewed by: ache Approved by: wes Approved by: re (kensmith)
* Make clear that WITHOUT_TOOLCHAIN cannot be applied to build targets.bz2007-07-191-1/+2
| | | | | | PR: 114220 Reviewed by: simon Approved by: re (hrs)
* Make fstest work out-of-the-box on Solaris:pjd2007-07-183-13/+34
| | | | | | | | | | - Solaris' setgroups(2) doesn't change process' effective gid, so set it explicitly. - POSIX doesn't define O_NOFOLLOW. FreeBSD returns EMLINK when target is a symbolic link, but Solaris returns ELOOP then. - Solaris doesn't define O_SHLOCK and O_EXLOCK flags. Approved by: re (rwatson)
* - Chase for crypto_if.m -> crytpodev_if.m rename in order todelphij2007-07-111-1/+6
| | | | | | | fix doxygen generation. - Add some missing *_if.m files. Approved by: re (hrs)
* Fix commit mail retrieval when using message-id.flz2007-07-101-8/+4
| | | | | Submitted by: novel Approved by: re (hrs)
* Add a test case for sed(1) regression - we should not ignore casedelphij2007-07-062-0/+5
| | | | | | when not being asked to do so. Approved by: re (hrs)
* Add case-insensitive matching to sed, using the 'I' flag, similarly to GNU sed.ssouhlal2007-07-043-0/+10
| | | | | | | | | For example, sed /foo/Id sed s/foo/bar/Ig Reviewed by: dds Approved by: re (hrs)
* Significantly reduce the memory leak as noted in BUGS section forscf2007-07-048-0/+702
| | | | | | | | | | | | | | | | | | | | | | | | | | setenv(3) by tracking the size of the memory allocated instead of using strlen() on the current value. Convert all calls to POSIX from historic BSD API: - unsetenv returns an int. - putenv takes a char * instead of const char *. - putenv no longer makes a copy of the input string. - errno is set appropriately for POSIX. Exceptions involve bad environ variable and internal initialization code. These both set errno to EFAULT. Several patches to base utilities to handle the POSIX changes from Andrey Chernov's previous commit. A few I re-wrote to use setenv() instead of putenv(). New regression module for tools/regression/environ to test these functions. It also can be used to test the performance. Bump __FreeBSD_version to 700050 due to API change. PR: kern/99826 Approved by: wes Approved by: re (kensmith)
* Remove wicontrol(8) from the base system. Using wicontrol to configure anthompsa2007-07-014-4/+0
| | | | | | | interface has been deprecated since 5.1, wi(4) wireless interfaces are managed via the net80211 stack and ifconfig. Approved by: re (rwatson)
* Neterion Xframe 10GbE Server/Storage adapter driver.sam2007-06-297-0/+3518
| | | | | | | | | | | The nxge driver provides support for Neterion Xframe-I and Xframe-II adapters. The driver supports TCP Segmentation Offload (TSO/LSO), Jumbo frames (5 buffer mode), Header separation (2 and 3 Receive buffer modes), VLAN, and Promiscuous mode. Submitted by: Neterion Reviewed by: rwatson Approved by: re (kensmith)
* Fix a obsecure coredump while testing with tmpfs on amd64.delphij2007-06-261-2/+6
| | | | Approved by: re (kensmith)
* id generation is now handled by uma(9) subsystem,delphij2007-06-252-76/+0
| | | | | | | so remove the (now) irrevelent test case. Requested by: Howard Su Approved by: re (tmpfs blanket)
* - Remove UMAP filesystem. It was disconnected from build three years ago,rafan2007-06-257-7/+0
| | | | | | | and it is seriously broken. Discussed on: freebsd-arch@ Approved by: re (mux)
* - Bugs in gethostbyXXX/getipnodebyXXX regression tests fixed.bushman2007-06-242-73/+162
| | | | | | | Tests for getipnodebyXXX functions now cover most number of flags combinations. Approved by: re (kensmith), brooks (mentor)
* MFp4: Add regression tests for tmpfs.delphij2007-06-1626-0/+2521
| | | | | Obtained from: NetBSD via p4 Submitted by: Howard Su
* Make the order of tests the same for user and kernel. Use the naturalharti2007-06-141-1/+1
| | | | layer order from bottom to top.
* Options spring cleanup:sepotvin2007-06-132-0/+9
| | | | | | | | | | - Add and document the KVM and KVM_SUPPORT options that are needed for the ifmcstats(3) makefile - Garbage collect unused variables - Add missing inclusion of bsd.own.mk where needed Approved by: kan (mentor) Reviewed by: ru
* Recoverdisk is now part of the base system.phk2007-06-123-436/+0
|
* Add regression test for SSM code.bms2007-06-122-0/+798
|
* Import rewrite of IPv4 socket multicast layer to support source-specificbms2007-06-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and protocol-independent host mode multicast. The code is written to accomodate IPv6, IGMPv3 and MLDv2 with only a little additional work. This change only pertains to FreeBSD's use as a multicast end-station and does not concern multicast routing; for an IGMPv3/MLDv2 router implementation, consider the XORP project. The work is based on Wilbert de Graaf's IGMPv3 code drop for FreeBSD 4.6, which is available at: http://www.kloosterhof.com/wilbert/igmpv3.html Summary * IPv4 multicast socket processing is now moved out of ip_output.c into a new module, in_mcast.c. * The in_mcast.c module implements the IPv4 legacy any-source API in terms of the protocol-independent source-specific API. * Source filters are lazy allocated as the common case does not use them. They are part of per inpcb state and are covered by the inpcb lock. * struct ip_mreqn is now supported to allow applications to specify multicast joins by interface index in the legacy IPv4 any-source API. * In UDP, an incoming multicast datagram only requires that the source port matches the 4-tuple if the socket was already bound by source port. An unbound socket SHOULD be able to receive multicasts sent from an ephemeral source port. * The UDP socket multicast filter mode defaults to exclusive, that is, sources present in the per-socket list will be blocked from delivery. * The RFC 3678 userland functions have been added to libc: setsourcefilter, getsourcefilter, setipv4sourcefilter, getipv4sourcefilter. * Definitions for IGMPv3 are merged but not yet used. * struct sockaddr_storage is now referenced from <netinet/in.h>. It is therefore defined there if not already declared in the same way as for the C99 types. * The RFC 1724 hack (specify 0.0.0.0/8 addresses to IP_MULTICAST_IF which are then interpreted as interface indexes) is now deprecated. * A patch for the Rhyolite.com routed in the FreeBSD base system is available in the -net archives. This only affects individuals running RIPv1 or RIPv2 via point-to-point and/or unnumbered interfaces. * Make IPv6 detach path similar to IPv4's in code flow; functionally same. * Bump __FreeBSD_version to 700048; see UPDATING. This work was financially supported by another FreeBSD committer. Obtained from: p4://bms_netdev Submitted by: Wilbert de Graaf (original work) Reviewed by: rwatson (locking), silence from fenner, net@ (but with encouragement)
* Don't forget to clear out the hold space for each subsequent fileyar2007-06-121-1/+2
| | | | | | | | when in -i mode so that each file gets a clean context of its own. Add a regression test for the bug. Tested with: regression tests
* Add cust_pkg() which iteratively tries to install packages.phk2007-06-121-2/+59
| | | | | | Move /usr/local/etc to /etc/local so that installed packages can be frobbed. Use a more compatible 512MB card geometry.
* add 11n statssam2007-06-111-17/+60
|
* o add 11n knobsam2007-06-111-5/+11
| | | | o gcc42 stuff
* Updated tests for changed features.grog2007-06-0924-10/+68
| | | | Submitted by: edwin@
* Default to R/O root filesystemphk2007-06-051-0/+3
|
* Fix the fstab on the second image, just like updatep2.sh does.phk2007-06-051-0/+7
|
* Use correct comment syntax for $FreeBSD$. This file gets put throughgrog2007-06-041-1/+5
| | | | | | cpp, not a shell script. Pointy hat to: grog
* Add regression tests for calendar.grog2007-06-0319-1/+461
| | | | | | Submitted by: edwin@ PR: bin/113275 MFC after: 2 weeks
* Add sparc64 regression test files.dds2007-05-2410-0/+134
| | | | Submitted by: Carl Johan Gustavsson
OpenPOWER on IntegriCloud