| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
for process, thread or others we want to support.
Use the syscall to implement POSIX API clock_getcpuclock and
pthread_getcpuclockid.
PR: 168417
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
timestamp related stack variables to reference ms directly instead of ticks.
The h_ertt(4) Khelp module relies on TCP timestamp information in order to
calculate its enhanced RTT estimates, but was not updated as part of r231767.
Consequently, h_ertt has not been calculating correct RTT estimates since
r231767 was comitted, which in turn broke all delay-based congestion control
algorithms because they rely on the h_ertt RTT estimates.
Fix the breakage by switching h_ertt to use tcp_ts_getticks() in place of all
previous uses of the ticks variable. This ensures all timestamp related
variables in h_ertt use the same units as the TCP stack and therefore results in
meaningful comparisons and RTT estimate calculations.
Reported & tested by: Naeem Khademi (naeemk at ifi uio no)
Discussed with: bz
MFC after: 3 days
|
|
|
|
|
| |
Reviewed by: ache
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
| |
Basically, this is automatic rx zero copy when feasible. TCP payload is
DMA'd directly into the userspace buffer described by the uio submitted
in soreceive by an application.
- Works with sockets that are being handled by the TCP offload engine
of a T4 chip (you need t4_tom.ko module loaded after cxgbe, and an
"ifconfig +toe" on the cxgbe interface).
- Does not require any modification to the application.
- Not enabled by default. Use hw.t4nex.<X>.toe.ddp="1" to enable it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Setup multiple DDP page sizes. When the driver attempts DDP it will
try to combine physically contiguous pages into regions of these sizes.
- Set the indicate size such that the payload carried in the indicate can
be copied in the header mbuf (and the 16K rx buffer can be recycled).
- Set DDP threshold to the max payload that the chip will coalesce and
deliver to the driver (this is ~16K by default, which is also why the
offload rx queue is backed by 16K buffers). If the chip is able to
coalesce up to the max it's allowed to, it's a good sign that the peer
is transmitting in bulk without any TCP PSH.
MFC after: 2 weeks
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| | |
here, bump up the L2 table's size to 4K entries.
MFC after: 2 weeks
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
TCB. Filters are programmed by modifying the TCB too (via a different
routine) and the reply to any TCB update is delivered via a
CPL_SET_TCB_RPL. Figure out whether the reply is for a filter-write or
something else and route it appropriately.
MFC after: 2 weeks
|
| |
| |
| |
| |
| |
| | |
- style(9) fix
Spotted by: kib@, Andrey Zonov
|
| |
| |
| |
| | |
MFC after: 2 weeks
|
| |
| |
| |
| |
| |
| | |
does not need Giant.
MFC after: 1 month
|
| |
| |
| |
| |
| |
| | |
address.
MFC after: 1 week (after the other commits ahead of this gets MFC'd)
|
| |
| |
| |
| |
| |
| |
| |
| | |
makes calls out to the emulator, the locking is fairly simple. A global
mutex protects the list of ssc disks, and each ssc disk has a mutex
to protect it's bioq.
Approved by: marcel
|
| |
| |
| |
| |
| | |
Reviewed by: ken (silently), chuck
MFC after: 3 weeks
|
| |
| |
| |
| |
| | |
Requested by: Peter Jeremy <peter@rulingia.com>
MFC after: 1 week
|
| |
| |
| |
| |
| | |
Submitted by: jh
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| |
| | |
tick until the situation is resolved (if ever), just print a single
message when running out and another when space becomes available.
- When adding more swap, warn if the total amount exceeds half the
theoretical maximum we can handle.
|
| |
| |
| |
| |
| | |
Reported and tested by: Slawa Olhovchenkov <slw@zxy.spb.ru>
MFC after: 1 month
|
| |
| |
| |
| | |
Requested by: rpaulo
|
| | |
|
| |
| |
| |
| | |
having the bogus lines being removed.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Eliminate stray whitespace within init_pte_prot().
Eliminate a gratuitous variable initialization from pmap_enter().
|
| |
| |
| |
| |
| |
| |
| | |
longer).
PR: 156481
Submitted by: Ian Lepore
|
| |
| |
| |
| | |
PR: kern/170098
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add timeout to wait for network controllers to appear when netbooting.
USB ethernet adapter initialization usually is delayed and
they're not available immidiately after autoconfiguration. So we need
to wait a bit before giving up
Reviewed by: stas@
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
to this pmap.
Tidy up the #include's.
Remove the (now) unused #define PMAP_SHPGPERPROC. (This should have
been removed in r239236.)
Tested by: jchandra
|
| | |
|
| |
| |
| |
| | |
Submitted by: bde
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
iterate lock.
This causes LORs and deadlocks as some code paths will have the com lock
held when calling ieee80211_iterate_nodes().
Here, the comlock isn't held during the node table and node iteration
locks; and the callback isn't called with any (extra) lock held.
PR: kern/170098
Submitted by: moonlightakkiy@yahoo.ca
MFC after: 4 weeks
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
EA3250 kernel build.
Approved by: gonzo
|
| |
| |
| |
| |
| |
| |
| |
| | |
- fix macro argument
- wrap long line
- be more explicit about old pid_t type.
MFC after: 1 week
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
"m_getjcl:invalid cluster type" that occurred some
time back with the igb driver. This happens often when
booting over the net. I believe the NIC hardware is left
in a warm state when handed over to the driver, and a stray
RX interrupt happens earlier than the code is prepared for
it to happen. This change was verified to fix the problem,
its kind of a bandaid... but it is similar to what was done
in the igb code.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1) It is not useful to call "devfs_clear_cdevpriv()" from
"d_close" callbacks, hence for example read, write, ioctl and
so on might be sleeping at the time of "d_close" being called
and then then freed private data can still be accessed.
Examples: dtrace, linux_compat, ksyms (all fixed by this patch)
2) In sys/dev/drm* there are some cases in which memory will
be freed twice, if open fails, first by code in the open
routine, secondly by the cdevpriv destructor. Move registration
of the cdevpriv to the end of the drm open routines.
3) devfs_clear_cdevpriv() is not called if the "d_open" callback
registered cdevpriv data and the "d_open" callback function
returned an error. Fix this.
Discussed with: phk
MFC after: 2 weeks
|
| |
| |
| |
| |
| |
| | |
current kernels.
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| | |
allowed to allocate, and corresponding tunable with the same
name. Note that existing processes with higher pids are left intact.
MFC after: 1 week
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
"device_free_softc()" and "device_claim_softc()",
to allow USB serial drivers refcounting the softc.
These functions are used to grab the softc from
auto-free and to free the softc back to the correct
malloc type, respectivly.
Discussed with: jhb
MFC after: 2 weeks
|
| |
| |
| |
| |
| | |
Submitted by: Kra OTN
MFC after: 2 weeks
|
| | |
|
| |
| |
| |
| | |
MFC after: 1 week
|
| | |
|
| |
| |
| |
| |
| |
| | |
strictly, to do not lost some partitions.
Reported by: swills@
|
| | |
|
| | |
|
| | |
|