Kip Macy
c8411d871a
#define L1_CACHE_BYTES for non-x86
2007-03-14 16:18:51 +00:00
Kip Macy
58bcd3238c
define prefetch as a no-op macro for non-x86 arches
2007-03-14 16:05:39 +00:00
Yaroslav Tykhiy
9c6dee24d7
Let vlan_ioctl() pass some work on to ether_ioctl()
...
and so reduce code duplication a bit.
2007-03-14 14:38:04 +00:00
Diomidis Spinellis
d6eb3444a3
Test files repo-copied into tools/regression/usr.bin/sed and integrated
...
into the regression testing framework.
2007-03-14 13:43:32 +00:00
Diomidis Spinellis
0a6ffa2714
Reinstate error-testing regression tests.
2007-03-14 13:38:23 +00:00
Bruce M Simpson
5e018b11ee
Remove obsolete polling members from documentation for struct ifnet.
...
Submitted by: Aniruddha Bohra
MFC after: 5 days
2007-03-14 13:19:50 +00:00
Pawel Jakub Dawidek
7533652025
Don't deny mounting for jailed processes immediately, allow
...
prison_priv_check() to decide what to do.
This change is suppose not to change current (security) behaviour
in any way.
Reviewed by: rwatson
2007-03-14 13:09:59 +00:00
Diomidis Spinellis
ab6386e42d
Integrate the tests I wrote in 1992 with our current regression
...
testing framework and protocol.
2007-03-14 13:05:45 +00:00
Pawel Jakub Dawidek
f7d4e990c7
White space nits.
2007-03-14 12:54:10 +00:00
Diomidis Spinellis
83f7d3636c
Reference results for sed.test (to be renamed into multitest.t).
...
I have verified these with GNU sed 4.1.5 (and in some cases with Solaris
sed) and they are identical, with the following exceptions:
5.3: The result is unspecified and BSD sed behaves differently.
6.3: GNU sed gets it wrong
7.1: GNU sed gets it wrong
7.8: BSD sed gets it wrong
2007-03-14 12:46:22 +00:00
Diomidis Spinellis
ac451395ea
- Uncomment tests that were commented out
...
- Update platform-conditional tests to reflect current reality
- Fix conditional for test 7.8: it is the fault of BSD sed
2007-03-14 11:03:00 +00:00
Christian Brueffer
36bd29c325
Autogenerate the hardware list for cxgb(4).
2007-03-14 10:52:01 +00:00
Diomidis Spinellis
4c1ccdfd94
- It looks like BSD and GNU sed can nowadays pass two more tests.
...
- Test 7.8 fails for GNU sed not BSD.
2007-03-14 10:10:10 +00:00
Diomidis Spinellis
0bc4fe6eaa
Use another non-printing test; address 0 now has a special meaning in GNU sed.
2007-03-14 09:47:00 +00:00
Diomidis Spinellis
259dde6e74
Document a procedure for testing individual binaries under development.
2007-03-14 09:33:13 +00:00
Diomidis Spinellis
7fdac324d9
Update tests to reflect the state of the art of sed in HEAD and
...
GNU sed 4.1.5.
Almost all of the tests that were skipped for BSD or GNU sed
now appear to work.
2007-03-14 09:05:41 +00:00
Konstantin Belousov
088ffd2086
Implement fine-grained locking for UFS quotas.
...
Each struct dquot gets dq_lock mutex to protect dq_flags and to interlock
with DQ_LOCK. qhash, dqfreelist and dq.dq_cnt are protected by global
dqhlock mutex.
i_dquot array for inode is protected by lockmgr' vnode lock, corresponding
assert added to the dqget(). Access to struct ufsmount quota-related fields
(um_quotas and um_qflags) is protected by um_lock.
Tested by: Peter Holm
Reviewed by: tegge
Approved by: re (kensmith)
This work were not possible without enormous amount of help given by
Tor Egge and Peter Holm. Tor reviewed each version of patch, pointed out
numerous errors and provided invaluable suggestions. Peter did tireless
testing of the patch as it was developed.
2007-03-14 08:54:08 +00:00
Konstantin Belousov
df0f953ae2
Call getinoquota() before allocating new block for the directory to properly
...
account for block allocation.
Tested by: Peter Holm
Reviewed by: tegge
Approved by: re (kensmith)
2007-03-14 08:50:27 +00:00
Konstantin Belousov
762c75b209
Remove unneeded getinoquota() call in the ufs_access().
...
Tested by: Peter Holm
Reviewed by: tegge
Approved by: re (kensmith)
2007-03-14 08:48:57 +00:00
Konstantin Belousov
71d49316cc
Busy filesystem around call of VFS_QUOTACTL() vfs op.
...
Tested by: Peter Holm
Reviewed by: tegge
Approved by: re (kensmith)
2007-03-14 08:45:55 +00:00
Christian Brueffer
c4bbe0e7f4
Add missing punctuation.
2007-03-14 08:03:20 +00:00
Kip Macy
f467efb7b5
play it safe for now and go back to kicking off tx cleaning from the tx path
2007-03-14 07:57:59 +00:00
Diomidis Spinellis
412e5edfa8
Add sed math regression test.
2007-03-14 07:55:05 +00:00
Diomidis Spinellis
32ad3fd6da
Add Towers of Hanoi regression test.
2007-03-14 07:52:38 +00:00
Kip Macy
1d7ee7e515
fix wording blunder
2007-03-14 07:49:45 +00:00
Christian Brueffer
32a0d5b100
Various fixes, also the driver can be compiled into the kernel now.
2007-03-14 07:46:57 +00:00
Diomidis Spinellis
f32c186149
Repo-copy from usr.bin/sed/TEST for integration with the regression suite.
...
Copied-by: simon@
2007-03-14 07:40:44 +00:00
Colin Percival
4d41b13b4e
Reduce the risk of inducing heart attacks, by printing the right path when
...
complaining about lstat(2) failing. It's a bit scary to find the message
tar: /: Cannot stat: No such file or directory
printed while doing a backup.
MFC after: 1 week
2007-03-14 07:30:51 +00:00
Diomidis Spinellis
c29e1340e9
Add missing newline to correct failure of the regression test.
...
According to IEEE Std 1003.1, 2004 "Whenever the pattern space is
written to standard output or a named file, sed shall immediately
follow it with a <newline>."
An attempt at the same correction might have been made with r1.3,
which is however identical with r1.2.
2007-03-14 07:01:49 +00:00
Kip Macy
6654fb1256
Add support for statically compiling cxgb into the kernel
2007-03-14 06:57:26 +00:00
Kip Macy
2150ddaa62
no-op cxgb_config.h for the module compilation case
2007-03-14 06:41:34 +00:00
Kip Macy
bede276b07
#define memory barrier macros for the non-i386 && non-amd64 case
2007-03-14 06:40:46 +00:00
Kip Macy
4f199f0379
remove unused code for recycling descriptors
...
kick tx cleaner from credit update function
2007-03-14 06:36:58 +00:00
Kip Macy
7d9ca96411
add cxgb_config.h to define values that are defined in the Makefile when compiled as a
...
module
move prefetch out of cxgb_sge.c into header under arch conditional compilation
2007-03-14 06:35:38 +00:00
Kip Macy
1940bc694e
move taskqueue_enqueue of tx clean operation out of the start path
2007-03-14 06:34:10 +00:00
Kip Macy
b9d6bc3b79
make desc_reclaimable macro safe to arbitrary arguments
2007-03-14 06:33:28 +00:00
Julian Elischer
c2c54c3d82
More suggestions from pjd.
2007-03-14 06:27:02 +00:00
Julian Elischer
34e1b9e5f0
Some comments from pjd
2007-03-14 06:12:36 +00:00
Matt Jacob
f6a6ae8f5c
Don't call isp_intr from isp_start- this seems to, in rare cases,
...
cause confusion with at least the 23XX chipsets where the output
queue index pointer just gets a bit whacko.
MFC after: 1 day
2007-03-14 05:58:07 +00:00
Kip Macy
51a232a0b5
Add man page for cxgb
2007-03-14 05:12:25 +00:00
Julian Elischer
0929bf8e57
Add locking.9
...
This is supposed to be a brief overview of the locking primatives.
It is not yet complete and contains many place-holders for information
I do not know.
The locking is getting so diverse that I've lost track of it all.
We need this page to keep outselves in sync with what the primitives do.
note.. not part of the build yet.
2007-03-14 04:00:24 +00:00
Kip Macy
e0499fbd1a
Add administration and debugging tool for Chelsio T3 10 Gigabit Ethernet driver
2007-03-14 02:51:57 +00:00
Kip Macy
0b7f21b283
add cxgb to modules Makefile
2007-03-14 02:47:58 +00:00
Kip Macy
f15721bd52
Add modules Makefile for cxgb
2007-03-14 02:47:38 +00:00
Kip Macy
cc57017c60
Add firmware for cxgb
2007-03-14 02:44:48 +00:00
Kip Macy
b6d90eb779
First of several commits for driver support for the Chelsio T3B 10 Gigabit
...
Ethernet adapter.
Reviewed by: scottl, sam
For those interested in the preliminary performance work see below.
Plots of mxge vs. cxgb running netpipe:
blocksize vs. bandwidth:
http://www.fsmware.com/chelsio.random/bsvsbw.gif
blocksize vs. RTT:
First of several commits for driver support for the Chelsio T3B 10 Gigabit
Ethernet adapter.
Reviewed by: scottl, sam
For those interested in the preliminary performance work see below.
Plots of mxge vs. cxgb running netpipe:
blocksize vs. bandwidth:
http://www.fsmware.com/chelsio.random/bsvsbw.gif
blocksize vs. RTT:
http://www.fsmware.com/chelsio.random/bsvstime.gif
blocksize vs. RTT for block sizes <= 10kb:
http://www.fsmware.com/chelsio.random/bsvstime_10kb.gif
http://www.fsmware.com/chelsio.random/bsvstime_10kb3.gif
2007-03-14 02:37:44 +00:00
Kevin Lo
dc0a8e318e
Make it compile
2007-03-14 01:59:00 +00:00
Bruce M Simpson
f6c0136c7f
Add raw IP support (protocol 114) to ipbroadcast regression test.
2007-03-13 23:36:48 +00:00
Thomas Quinot
c9b9952154
(atapi_action): Improve error reporting by removing ATA_R_QUIET flag
...
from ATAPI requests. If CAM debugging is enabled, also mark ATAPI
requests with ATA_R_DEBUG flag.
(atapi_cb): Report ATAPI timeouts to the CAM layer.
Fix incorrect debugging traces in the presence of ATAPI errors.
PR: kern/103602
MFC after: 2 weeks
2007-03-13 20:42:49 +00:00
Thomas Quinot
8810211656
(reinit_bus): When the ATAPI bus is reset, do not schedule an automated
...
CAM rescan if the ATAPI device entries have not changed.
The ATAPI bus may be reset for a variety of reasons, including any time an
ATAPI request times out. It is not necessary to rescan at the CAM level
in such a case, unless a device has appeared or disappeared, or has
otherwise changed.
PR: kern/103602
MFC after: 2 weeks
2007-03-13 20:38:16 +00:00