82806d8 | Robert N. M. Watson | 09 July 2012, 08:27:04 UTC | Merge r229521 from head to stable/9: Add missing -w to kgdb(1)'s usage(). Sponsored by: Adara Networks, Inc. Approved by: re (kib) | 09 July 2012, 08:27:04 UTC |
aa167d9 | Robert N. M. Watson | 08 July 2012, 21:21:45 UTC | Merge r231712 from head to stable/9: When initialising the CP0 status register during boot on 64-bit MIPS, set all three of the kernel, supervisor, and user-mode 64-bit mode flags. While FreeBSD does not currently use the supervisor ring (and hence this is effectively a NOP on most systems), doing this avoids triggering an exception on 64-bit MIPS CPUs that don't support 32-bit compatibility mode, and therefore don't allow clearing the SX bit. Reviewed by: gonzo Sponsored by: DARPA, SRI International Approved by: re (kib) | 08 July 2012, 21:21:45 UTC |
ff36e2a | Robert N. M. Watson | 08 July 2012, 20:41:54 UTC | Merge r234034 from head to stable/9: Merge a local fix to OpenBSM's libauditd to avoid a directory descriptor leak when iterating over possible audit trail directories. This fix will be merged upstream in an identical form, but hasn't yet appeared in an OpenBSM release. Submitted by: guido Obtained from: TrustedBSD Project Approved by: re (kib) | 08 July 2012, 20:41:54 UTC |
d0c6415 | Jack F Vogel | 08 July 2012, 20:39:00 UTC | MFC of 238149 Approved by:re | 08 July 2012, 20:39:00 UTC |
1a7c0fe | Jack F Vogel | 08 July 2012, 20:35:56 UTC | MFC of the e1000 drivers: 236406,238148,238151,238181, and 238214 Approved by:re | 08 July 2012, 20:35:56 UTC |
6e5f02d | Mikolaj Golub | 08 July 2012, 19:29:08 UTC | Fix RTTVAR scale in net.inet.tcp.hostcache.list sysctl. Reviewed by: andre Approved by: re (kib) | 08 July 2012, 19:29:08 UTC |
05d7858 | Michael Tuexen | 08 July 2012, 16:14:42 UTC | MFC r237049: Pass flowid explicitly through the stack instead of taking it from the mbuf chain at different places. While there: Fix several bugs related to VRFs. Approved by: re@ | 08 July 2012, 16:14:42 UTC |
6481434 | Michael Tuexen | 08 July 2012, 16:11:16 UTC | MFC r236956: Unify the sending of ABORT, SHUTDOWN-COMPLETE and ERROR chunks. While there: Fix also some minor bugs and prepare for SCTP/DTLS. Approved by: re@ | 08 July 2012, 16:11:16 UTC |
fd3ea57 | Michael Tuexen | 08 July 2012, 16:00:45 UTC | MFC r236332: Seperate SCTP checksum offloading for IPv4 and IPv6. While there: remove some trainling whitespaces. Approved by: re@ | 08 July 2012, 16:00:45 UTC |
b4c6f13 | Michael Tuexen | 08 July 2012, 15:37:58 UTC | MFC r236087: Get rid of SCTP specific code to avoid CRC32C computations on loopback. Just use offloading. Approved by: re | 08 July 2012, 15:37:58 UTC |
6796175 | Bjoern A. Zeeb | 08 July 2012, 14:21:36 UTC | MFC r236170,236176: It turns out that too many drivers are not only parsing the L2/3/4 headers for TSO but also for generic checksum offloading. Ideally we would only have one common function shared amongst all drivers, and perhaps when updating them for IPv6 we should introduce that. Eventually we should provide the meta information along with mbufs to avoid (re-)parsing entirely. To not break IPv6 (checksums and offload) and to be able to MFC the changes without risking to hurt 3rd party drivers, duplicate the v4 framework, as other OSes have done as well. Introduce interface capability flags for TX/RX checksum offload with IPv6, to allow independent toggling (where possible). Add CSUM_*_IPV6 flags for UDP/TCP over IPv6, and reserve further for SCTP, and IPv6 fragmentation. Define CSUM_DELAY_DATA_IPV6 as we do for legacy IP and add an alias for CSUM_DATA_VALID_IPV6. This pretty much brings IPv6 handling in line with IPv4. TSO is still handled in a different way and not via if_hwassist. Update ifconfig to allow (un)setting of the new capability flags. Update loopback to announce the new capabilities and if_hwassist flags. Individual driver updates will have to follow, as will SCTP. Removed the IFCAP_ prefix when printing the IPv6 checksum capabilities. Approved by: re | 08 July 2012, 14:21:36 UTC |
8f8201f | Bjoern A. Zeeb | 08 July 2012, 12:39:02 UTC | MFC r236093: Trim the extra $FreeBSD$ from the comment below the license. We use the __FBSDID() macro on the file now instead. Approved by: re | 08 July 2012, 12:39:02 UTC |
3c8a973 | Bjoern A. Zeeb | 08 July 2012, 12:36:44 UTC | MFC r235950: Factor out the tcp_hc_getmtu() call. As the comments say it applies to both v4 and v6, so only write it once making it easier to read the protocol family specifc code. Approved by: re | 08 July 2012, 12:36:44 UTC |
a595069 | Bjoern A. Zeeb | 08 July 2012, 12:34:12 UTC | MFC r235953: No need to hold the (expensive) rt lock over (expensive) logging. Approved by: re | 08 July 2012, 12:34:12 UTC |
3aee8ef | Bjoern A. Zeeb | 08 July 2012, 12:30:25 UTC | MFC r235986: Use M_ZERO with malloc rather than calling bzero() ourselves. Change if () panic() checks to KASSERT()s as they are only catching invariants in code flow but not dependent on network input/output. Move initial assigments indirecting pointers after the lock has been aquired. Passing layer boundries, reset M_PROTOFLAGS. Remove a NULL assignment before free. Approved by: re | 08 July 2012, 12:30:25 UTC |
dddac2b | Bjoern A. Zeeb | 08 July 2012, 12:26:32 UTC | MFC r235985: Properly protect the inp read access when handling the control code. In the past this was expensive but given the rlock it's not so much anymore. Approved by: re | 08 July 2012, 12:26:32 UTC |
3b26bf7 | Bjoern A. Zeeb | 08 July 2012, 12:23:27 UTC | MFC r235981,236394 In case forwarding is turned on for a given address family, refuse to queue the packet for LRO and tell the driver to directly pass it on. This avoids re-assembly and later re-fragmentation problems when forwarding. It's not the best solution but the simplest and most effective for the moment. Make TCP LRO work properly with VIMAGE kernels rather than just panicing. There's no VIMAGE context set there yet as this is before if_ethersubr.c. Approved by: re | 08 July 2012, 12:23:27 UTC |
b9f9320 | Bjoern A. Zeeb | 08 July 2012, 12:17:56 UTC | MFC r235962: Factor out Hop-By-Hop option processing. It's still not heavily used, it reduces the footprint of ip6_input() and makes ip6_input() more readable. Approved by: re | 08 July 2012, 12:17:56 UTC |
26ec9f1 | Bjoern A. Zeeb | 08 July 2012, 12:12:34 UTC | MFC r235961: Add code to handle pre-checked TCP checksums as indicated by mbuf flags to save the entire computation for validation if not needed. In the IPv6 TCP output path only compute the pseudo-header checksum, set the checksum offset in the mbuf field along the appropriate flag as done in IPv4. In tcp_respond() just initialize the IPv6 payload length to 0 as ip6_output() will properly set it. Approved by: re | 08 July 2012, 12:12:34 UTC |
aeba9f8 | Bjoern A. Zeeb | 08 July 2012, 12:01:11 UTC | MFC r235960: Simple yet effective change enabling checksum "offload" on loopback for IPv6 to avoid expensive computations. Approved by: re | 08 July 2012, 12:01:11 UTC |
b4aa243 | Bjoern A. Zeeb | 08 July 2012, 11:57:11 UTC | MFC r235959: Defer checksum calulations on UDP6 output and respect the mbuf flags set by NICs having done checksum validation for us already, thus saving the computing time in the input path as well. Approved by: re | 08 July 2012, 11:57:11 UTC |
a60ccff | Bjoern A. Zeeb | 08 July 2012, 11:53:13 UTC | MFC r235958,236130: Add support for delayed checksum calculations in the IPv6 output path. We currently cannot offload to the card if we add extension headers (which incl. fragmentation). Fix two SCTP offload support copy&paste bugs: calculate checksums if fragmenting and no need to flag IPv4 header checksums in the IPv6 forwarding path. Correctly get the payload length in host byte order. While we already plan to support >64k payload here, the IPv6 header payload length obviously is only 16 bit and the calculations need to be right. Approved by: re | 08 July 2012, 11:53:13 UTC |
36e70b1 | Bjoern A. Zeeb | 08 July 2012, 11:42:21 UTC | MFC r235956: Hide the ip6aux functions. The only one referenced outside ip6_input.c is not compiled in yet (__notyet__) in route6.c (r235954, r238231). We do have accessor functions that should be used. Approved by: re | 08 July 2012, 11:42:21 UTC |
e798abb | Bjoern A. Zeeb | 08 July 2012, 11:33:49 UTC | MFC r235955: Simplify the code removing a return from an earlier else case, not differing from the default function return called now. Approved by: re | 08 July 2012, 11:33:49 UTC |
e65bedc | Bjoern A. Zeeb | 08 July 2012, 11:28:33 UTC | MFC r235954: We currently nowhere set IP6A_SWAP making the entire check useless with the current code. Keep around but do not compile in. Approved by: re | 08 July 2012, 11:28:33 UTC |
b84ac12 | Bjoern A. Zeeb | 08 July 2012, 11:24:22 UTC | MFC r235944: Significantly update tcp_lro for mostly two things: 1) introduce basic support for IPv6 without extension headers. 2) try hard to also get the incremental checksum updates right, especially also in the IPv4 case for the IP and TCP header. Move variables around for better locality, factor things out into functions, allow checksum updates to be compiled out, ... Leave a few comments on further things to look at in the future, though that is not the full list. Update drivers with appropriate #includes as needed for IPv6 data type in LRO. Approved by: re | 08 July 2012, 11:24:22 UTC |
61fada4 | Bjoern A. Zeeb | 08 July 2012, 10:46:55 UTC | MFC r235941: in_cksum.h required ip.h to be included for struct ip. To be able to use some general checksum functions like in_addword() in a non-IPv4 context, limit the (also exported to user space) IPv4 specific functions to the times, when the ip.h header is present and IPVERSION is defined (to 4). Approved by: re | 08 July 2012, 10:46:55 UTC |
7c731bd | Bjoern A. Zeeb | 08 July 2012, 10:29:01 UTC | MFC r235924: Introduce a (for now copied stripped down) in6_cksum_pseudo() function. We should be able to use this from in6_cksum() but we should also ponder possible MD specific improvements. It takes an extra csum argument to allow for easy checks as will be done by the upper layer protocol input paths. Approved by: re | 08 July 2012, 10:29:01 UTC |
22fd1d1 | Bjoern A. Zeeb | 08 July 2012, 10:04:30 UTC | MFC r235921: Optimize in6_cksum(), re-ordering work and limiting variable initialization, removing a bzero() for mostly re-initialized struct values, making use of the newly introduced in6_getscope(), as well as converting an if/panic to a KASSERT(). Approved by: re | 08 July 2012, 10:04:30 UTC |
9321617 | Bjoern A. Zeeb | 08 July 2012, 09:49:01 UTC | MFC r235916: Introduce in6_getscope() to allow more effective checksum computations without the need to copy the address to clear the scope. Approved by: re | 08 July 2012, 09:49:01 UTC |
4d2d2c1 | Bjoern A. Zeeb | 08 July 2012, 09:06:25 UTC | MFC r235671: Allow tso4 and tso6 be set individually given we have the bits. This will help with drivers not working as expected during the transition time and later. Approved by: re | 08 July 2012, 09:06:25 UTC |
665dade | Dimitry Andric | 06 July 2012, 17:42:34 UTC | MFC r238071: Fix clang warning, introduced in the recent dtrace import. Approved by: re (kib) | 06 July 2012, 17:42:34 UTC |
60398de | Benjamin Kaduk | 06 July 2012, 03:56:45 UTC | MFC r237581: Explicitly mention that setting the change and expiry times to zero is equivalent to leaving the time unset. [1] Wordsmith in the compat support section. Use a full path to nologin(8) in the context of setting it as a user's shell, keeping a separate cross-reference. PR: docs/169354 [1] Approved by: re (hrs), hrs (mentor) | 06 July 2012, 03:56:45 UTC |
ede3d3a | Andrey Chernov | 06 July 2012, 01:32:53 UTC | MFC r237777 Call set_terminal_mode() after video mode change, not before, because video mode change always reset terminal mode to xterm. It allows things like 'vidcontrol -T cons25 80x30' works as supposed, and allows 'allscreens_flags="-T cons25 80x30"' in /etc/rc.conf too. Approved by: re (hrs) | 06 July 2012, 01:32:53 UTC |
6c1387b | Edward Tomasz Napierala | 05 July 2012, 16:02:14 UTC | MFC r237636: Add manual page for bxe(4). Approved by: re (kib) | 05 July 2012, 16:02:14 UTC |
08ad91c | Konstantin Belousov | 05 July 2012, 15:41:31 UTC | MFC r237661: Add a test for number of CPUs configured/online. Approved by: re (kensmith) | 05 July 2012, 15:41:31 UTC |
5174927 | Alexander Motin | 05 July 2012, 15:39:30 UTC | MFC r238022: Remove 14 not very useful characters " HDA CODEC PCM" from HDA pcm device names to shorten them. PulseAudio reported to have problems with names longer then 63 chars and at least in XMMS long names are inconvinient. Approved by: re (kib) | 05 July 2012, 15:39:30 UTC |
c7aa287 | Konstantin Belousov | 05 July 2012, 15:38:32 UTC | MFC r237660: Optimize the handling of SC_NPROCESSORS_CONF, by using auxv AT_NCPU value if present. Approved by: re (kensmith) | 05 July 2012, 15:38:32 UTC |
bba39d1 | Alexander Motin | 05 July 2012, 15:35:59 UTC | MFC r238015: Add IDs for some USB controllers I have around. Just a cosmetics. Approved by: re (kib) | 05 July 2012, 15:35:59 UTC |
7e4b9d0 | Konstantin Belousov | 05 July 2012, 15:34:55 UTC | MFC r237659: Ensure that for the object which is a dependency for some filtee, relocations are performed before the object's initializer is called. Approved by: re (kensmith) | 05 July 2012, 15:34:55 UTC |
0a42273 | Alexander Motin | 05 July 2012, 15:32:31 UTC | MFC r238011: Restore GPIO config quirks handling, lost during last big refactoring. This fixes sound from speakers on some laptops, including MacBook Pro. Approved by: re (kib) | 05 July 2012, 15:32:31 UTC |
d414025 | Edward Tomasz Napierala | 05 July 2012, 13:45:23 UTC | MFC r237572: Add missing MLINKS for whatever -> if_whatever. Approved by: re (kib) | 05 July 2012, 13:45:23 UTC |
228165b | Xin Li | 04 July 2012, 00:54:16 UTC | MFC r237901: tws(4) is interfaced with CAM so move it to the same section. Reported by: joel Approved by: re (kib) | 04 July 2012, 00:54:16 UTC |
d71b1ed | Navdeep Parhar | 03 July 2012, 22:17:36 UTC | Do not enable IFCAP_TSO6 in cxgb(4) and cxgbe(4) in stable/9. The kernel code in 9 isn't quite ready for TSO6 yet. This is a direct commit to stable/9. IFCAP_TSO6 works properly in head and there is no need to disable it over there. Approved by: re (kib) | 03 July 2012, 22:17:36 UTC |
d4d3af7 | Warren Block | 03 July 2012, 16:49:38 UTC | MFC r238008: Add reference to portsnap(8). Submitted by: Tim Kientzle Approved by: re | 03 July 2012, 16:49:38 UTC |
5323481 | Ken Merry | 03 July 2012, 15:37:36 UTC | MFC 237878: r237878 | ken | 2012-06-30 23:32:26 -0600 (Sat, 30 Jun 2012) | 6 lines Now that the mps(4) driver is endian-safe, add it to the powerpc 32-bit GENERIC config file. Requested by: nwhitehorn Approved by: re (kensmith) | 03 July 2012, 15:37:36 UTC |
202156a | Konstantin Belousov | 03 July 2012, 08:40:20 UTC | MFC r237848: Remove stray blank line. | 03 July 2012, 08:40:20 UTC |
fb8ef5a | Konstantin Belousov | 03 July 2012, 08:23:22 UTC | MFC 237847: Do not test ki_stat as mask. | 03 July 2012, 08:23:22 UTC |
e84ac30 | Konstantin Belousov | 03 July 2012, 08:21:56 UTC | MFC r237844, r237845, r237846: Minor tweaks. | 03 July 2012, 08:21:56 UTC |
c4de2da | Navdeep Parhar | 03 July 2012, 07:03:14 UTC | MFC r238054: Fix inverted test that resulted in incorrect multicast hw programming. | 03 July 2012, 07:03:14 UTC |
27ac6a4 | Andrew Thompson | 03 July 2012, 01:45:28 UTC | MFC r237852 Add the same check as vlan(4) where we ignore the ifnet departure event if the interface is just being renamed. PR: kern/169557 | 03 July 2012, 01:45:28 UTC |
3d7e617 | Doug Barton | 02 July 2012, 22:18:29 UTC | MFC r238038: Unfortunately the change in r237958 resulted in s/install/instclean/ due to the aggressive pattern matching of the :C modifier. I tested build and install in 2 phases, however with different solutions, resulting in the breakage. Mea culpa. The solution is to break out the all: target. This causes a few lines of code duplication, but now the all: target works as it should, and the other targets continue to work as they did before. While I'm here, add a ===> header line to the start of each port build to make it easier to find/more clear in the logs. | 02 July 2012, 22:18:29 UTC |
d1c51fc | Navdeep Parhar | 02 July 2012, 22:04:09 UTC | MFC r238028: Instruct the firmware not to provision resources for TCP offload if the kernel is being built without TCP_OFFLOAD. But never override toecaps_allowed if it has been set manually. | 02 July 2012, 22:04:09 UTC |
af3d70f | Sean Bruno | 02 July 2012, 21:59:10 UTC | MFC r237245, r237250, r237251, r237273, r237330 Document support for Intel Enhanced Speedstep Tech interface of cpufreq(4) via a new man page est(4) Document the two exposed tuneables of est(4). Numerous cleanups and mdoc updates from reviewers. Thanks to mav, joel, wblock, hrs, gjb | 02 July 2012, 21:59:10 UTC |
3cfd722 | Marius Strobl | 02 July 2012, 19:56:31 UTC | MFC: r237547 Fix size of the bcopy when extracting ethernet address Obtained from: DragonFly | 02 July 2012, 19:56:31 UTC |
f92eeb2 | Marius Strobl | 02 July 2012, 19:19:07 UTC | MFC: r237546 Correct sizeof usage Obtained from: DragonFly | 02 July 2012, 19:19:07 UTC |
cb15aa4 | Marius Strobl | 02 July 2012, 19:13:38 UTC | MFC: r237842 Switch back to the 4BSD scheduler for now. There is some more or less recent regression with ULE, causing processes to get stuck in getblk as well as interrupt handler execution delays to rise above the command timeout of mpt(4). | 02 July 2012, 19:13:38 UTC |
8ddaff3 | Alan Cox | 02 July 2012, 17:37:40 UTC | MFC r237085 Correctly identify the function in a KASSERT(). | 02 July 2012, 17:37:40 UTC |
ad552be | Alan Cox | 02 July 2012, 17:22:38 UTC | MFC r236534 Various small changes to PV entry management. | 02 July 2012, 17:22:38 UTC |
82e96ba | Jung-uk Kim | 02 July 2012, 16:00:38 UTC | MFC: r237657, r237658, r237666 Merge OpenSSL 0.9.8x and regen manual pages. | 02 July 2012, 16:00:38 UTC |
d72a19d | Bruce M Simpson | 02 July 2012, 11:46:47 UTC | Merge r237736 from HEAD: Kick the current-state report timer when a V1 group report would be triggered. Submitted by: rpaulo@ | 02 July 2012, 11:46:47 UTC |
41c0623 | David E. O'Brien | 02 July 2012, 10:16:14 UTC | MFC: r236623: RAID is an acronym | 02 July 2012, 10:16:14 UTC |
13bb54a | David E. O'Brien | 02 July 2012, 10:14:12 UTC | * Avoid race conditions with 'make -j<N>'. (partially MFC r236337 (in spirit)) | 02 July 2012, 10:14:12 UTC |
ce8971e | Bruce M Simpson | 02 July 2012, 10:07:32 UTC | Merge r237735 from HEAD: Fix a typo in MLD query exponent processing. Submitted by: rpaulo@ | 02 July 2012, 10:07:32 UTC |
27a085e | David E. O'Brien | 02 July 2012, 10:06:13 UTC | Revert r223540 - it broke the simple 'make -C kerberos5' build. | 02 July 2012, 10:06:13 UTC |
93f4455 | Bruce M Simpson | 02 July 2012, 10:06:00 UTC | Merge r237734 from HEAD: In MLDv2 general query processing, do not enforce the strict check on query origins. Submitted by: Gu Yong | 02 July 2012, 10:06:00 UTC |
3eb097f | David E. O'Brien | 02 July 2012, 10:00:28 UTC | MFC: r235939: consitently use "__LP64__" | 02 July 2012, 10:00:28 UTC |
62d1dd3 | David E. O'Brien | 02 July 2012, 09:47:38 UTC | MFC: r235879: style.Makefile(5) | 02 July 2012, 09:47:38 UTC |
3a9be82 | David E. O'Brien | 02 July 2012, 09:35:28 UTC | MFC: r228114 r228116 r234690: install a readline/tilde.h | 02 July 2012, 09:35:28 UTC |
dfebafc | David E. O'Brien | 02 July 2012, 09:25:08 UTC | Allow building on FreeBSD 7. Note that "HAVE_GETLINE" should be #undef'ed in config.h as were not using the libc interface -- however that leads to redundant redeclaration compiler warnings between the internal file.h and <stdio.h>. | 02 July 2012, 09:25:08 UTC |
3c10664 | David E. O'Brien | 02 July 2012, 08:48:58 UTC | MFC: r234449: update file(1) to version 5.11. | 02 July 2012, 08:48:58 UTC |
d9f4a29 | David E. O'Brien | 02 July 2012, 08:28:16 UTC | MFC: r232274: Document fetch(1)'s 'URL' argument. | 02 July 2012, 08:28:16 UTC |
024c518 | David E. O'Brien | 02 July 2012, 08:21:15 UTC | MFC: r228475 & r228487: Disallow various debug.kdb sysctl's when securelevel is raised. PR: 161350 | 02 July 2012, 08:21:15 UTC |
ad3b0f5 | Andriy Gapon | 02 July 2012, 08:08:29 UTC | MFC r237748: dtrace instruction decoder: add 0x0f 0x1f NOP opcode support | 02 July 2012, 08:08:29 UTC |
6f5e310 | David E. O'Brien | 02 July 2012, 07:39:33 UTC | MFC: r228199: Split sentences at period boundaries. | 02 July 2012, 07:39:33 UTC |
5fa8c81 | David E. O'Brien | 02 July 2012, 07:37:06 UTC | MFC: r228193: tweak the r137233 fix to r136283 -- Code was making two send() attempts vs. the comment documented "If we are working with a privileged socket, then take only one attempt". Make the code match. | 02 July 2012, 07:37:06 UTC |
df922ec | David E. O'Brien | 02 July 2012, 07:18:27 UTC | MFC: r227526: KNF | 02 July 2012, 07:18:27 UTC |
41a74d1 | David E. O'Brien | 02 July 2012, 07:14:21 UTC | MFC: r227524: improve the grep-ability output strings. | 02 July 2012, 07:14:21 UTC |
50ba630 | David E. O'Brien | 02 July 2012, 07:11:43 UTC | MFC: r237279: install filemon.h into /usr/include for userland consumption. | 02 July 2012, 07:11:43 UTC |
5927ce6 | David E. O'Brien | 02 July 2012, 07:10:33 UTC | MFC: r227518: reformat comment to be more readable in standard Xterm. | 02 July 2012, 07:10:33 UTC |
1f66803 | Alan Cox | 02 July 2012, 07:01:41 UTC | MFC r235695, r236158, r236190, r236494 Replace all uses of the vm page queues lock by a r/w lock that is private to this pmap.c. | 02 July 2012, 07:01:41 UTC |
453b105 | Doug Barton | 02 July 2012, 06:51:49 UTC | MFC r237958: For the ports modules building code, clean WRKDIR before building. This is important for those that use -DNO_CLEAN routinely, since it will prevent installing stale stuff, and even more important when the port is upgraded to a newer version. When the user doesn't use -DNO_CLEAN, this will create an infinitesimal amount of extra work, but won't hurt anything. This is necessary because the ports tree has flags that prevent the ususal 'update the build if newer source files exist' logic from doing what it would do in the base. | 02 July 2012, 06:51:49 UTC |
61e269f | Christian Brueffer | 02 July 2012, 06:40:11 UTC | MFC: r237836 mps(4) is endian safe as of r237876. | 02 July 2012, 06:40:11 UTC |
b4ba451 | Martin Matuska | 02 July 2012, 06:39:06 UTC | MFC r236247 (pjd): Remove unused sysctl. | 02 July 2012, 06:39:06 UTC |
69dc84f | Alan Cox | 02 July 2012, 05:57:44 UTC | MFC r235912 There is no need for pmap_protect() to acquire the page queues lock unless it is going to access the pv lists or PMAP1/PADDR1. | 02 July 2012, 05:57:44 UTC |
71fbd3b | David E. O'Brien | 02 July 2012, 05:57:01 UTC | MFC: r229809: Don't include <sys/timeb.h>. The purpose of not including <sys/timeb.h> is to avoid the compiler warning we put in <sys/timeb.h>. So this change will cause CVS to provide its own definition of 'struct timeb'. This is only OK because the code never calls the libc ftime(3) interface. CVS only uses 'struct timeb' as a convenience structure -- thus it doesn't matter how its supplied definition does or does not match the ftime(3) ABI. | 02 July 2012, 05:57:01 UTC |
7df5784 | Alan Cox | 02 July 2012, 05:35:55 UTC | MFC r233290, r235598, r235973, r236045, r236240, r236291, r236378 Change pv_entry_count to a long on amd64. Rename pmap_collect() to pmap_pv_reclaim() and rewrite it such that it no longer uses the active and inactive paging queues. Eliminate some purely stylistic differences among the amd64, i386 native, and i386 xen PV entry allocators. Eliminate code duplication in free_pv_entry() and pmap_remove_pages() by introducing free_pv_chunk(). | 02 July 2012, 05:35:55 UTC |
ab7916d | Alan Cox | 02 July 2012, 03:49:52 UTC | MFC r226843 Eliminate vestiges of page coloring in VM_ALLOC_NOOBJ calls to vm_page_alloc(). While I'm here, for the sake of consistency, always specify the allocation class, such as VM_ALLOC_NORMAL, as the first of the flags. | 02 July 2012, 03:49:52 UTC |
5deca7c | Ken Merry | 02 July 2012, 02:56:01 UTC | MFC 237800: r237800 | ken | 2012-06-29 11:00:52 -0600 (Fri, 29 Jun 2012) | 7 lines Change the mps(4) driver to only scan a target if that is what is needed instead of scanning the full bus every time. Submitted by: mav Discussed with: Sreekanth Reddy <Sreekanth.Reddy@lsi.com> | 02 July 2012, 02:56:01 UTC |
9594b8f | Xin Li | 02 July 2012, 02:50:10 UTC | MFC r237571: Fix a LOR acquiring the if_afdata lock while holding an rtentry lock. Possibly do some entra work in case we would not get into the ifa0 != NULL paths later as we already do for the mltaddr before. XXX We should possibly error in case in6_setscope fails. Reference: http://lists.freebsd.org/pipermail/freebsd-net/2011-September/029829.html Submitted by: bz | 02 July 2012, 02:50:10 UTC |
663e579 | Ken Merry | 02 July 2012, 02:44:00 UTC | MFC 237730: r237730 | ken | 2012-06-28 14:48:24 -0600 (Thu, 28 Jun 2012) | 5 lines Now that the mps(4) driver is endian-safe, add it to the powerpc and sparc64 GENERIC config files. | 02 July 2012, 02:44:00 UTC |
1d0d661 | Ken Merry | 02 July 2012, 02:36:05 UTC | MFC 237726: r237726 | ken | 2012-06-28 13:39:30 -0600 (Thu, 28 Jun 2012) | 5 lines Add a loader tunable, kern.cam.ctl.disable, that will disable loading CTL. This may be useful in very low memory installations. | 02 July 2012, 02:36:05 UTC |
6616634 | Xin Li | 02 July 2012, 02:26:52 UTC | MFC r237568: Fetch both ECDSA and RSA keys by default in ssh-keyscan(1). | 02 July 2012, 02:26:52 UTC |
ee88f81 | David Chisnall | 01 July 2012, 21:51:57 UTC | MFC symbol exports for libsupcc++ and libcxxrt that correctly export new and delete operators. | 01 July 2012, 21:51:57 UTC |
6d41a94 | Alan Cox | 01 July 2012, 18:27:13 UTC | MFC r233954, r236930 Micro-optimize free_pv_entry() for the expected case. Avoid unnecessary atomic operations for clearing PGA_WRITEABLE in pmap_remove_pages(). | 01 July 2012, 18:27:13 UTC |
2ba2db5 | Navdeep Parhar | 01 July 2012, 13:43:30 UTC | MFC r237832, r237436, r237439, r237463, r237512, r237587, r237799, r237819, r237831. r237832: cxgb(4): IPv6 rx/tx hw checksum, IPv6 TSO and LRO too. r237436: cxgbe(4): update to firmware interface 1.5.2.0; updates to shared code. r237439: Do not read registers with read side effects while performing a register dump for cxgbetool. r237463: Do not allocate extra vectors when adapter is not TOE capable (or toecaps have been disallowed by the user). r237512: Better way to determine the status page length and rx pad boundary. r237587: Allow cxgbe(4) running within a VM to attach to its devices that have been exported via PCI passthrough. r237799: cxgbe(4): support for IPv6 hardware checksumming (rx and tx). r237819: cxgbe(4): support for IPv6 TSO and LRO. r237831: - Assign (don't OR) the CSUM_XXX bits to csum_flags in the rx checksum code. - Fix TSO/TSO4 mixup. - Add IFCAP_LINKSTATE to the available/enabled capabilities. | 01 July 2012, 13:43:30 UTC |
afa690c | Navdeep Parhar | 01 July 2012, 12:00:36 UTC | Backport just the sys/{dev,modules}/cxgb{,e}/ parts of r237263, and then disable the TOE and iWARP modules in the Makefiles (they won't compile without the rest of r237263). This reduces diffs between the cxgb/cxgbe drivers in head and 9 and makes it easy to MFC other fixes to 9. | 01 July 2012, 12:00:36 UTC |
844c4af | Navdeep Parhar | 01 July 2012, 09:35:15 UTC | Partial MFC of r236311 (uqs@): Unbreak make depend. | 01 July 2012, 09:35:15 UTC |
edb594a | Bernhard Schmidt | 01 July 2012, 09:30:37 UTC | MFC BA/DELBA fixes: - r234321: Use the M_AMPDU_MPDU flag to determine when to manually set the seqno and use a BA queue. - r235686: Discard frames after a DELBA which where queued during an active BA session. - r235687: remove unused vap variable - r237647: Fix a TX aggregation issue, if after the last compressed BA notification the TX queue is empty, there won't be a TX done notification, effectly resulting in an mbuf leak. The correct way to handle this is to free up mbufs on both BA and TX done notifications up to the last sent seqno. - r237649 (1): We need to defer passing the DELBA request to the firmware until the aggr queue is empty or the firmware will go nuts. PR: kern/167806 (1) | 01 July 2012, 09:30:37 UTC |
915b4f0 | Navdeep Parhar | 01 July 2012, 09:17:55 UTC | MFC r231317, r235963 (bz@), r234831, r234833. r231317 Add IPv6 TSO (including TSO+VLAN) support to cxgb(4). r235963 (bz@) Allow LRO to work on IPv6 as well. Fix the module Makefile to at least properly inlcude opt_inet6.h and allow builds without INET or INET6. r234831 Make sure that the firmware version is available in dev.t4nex.X.firmware_version even if the driver fails to attach properly. At least it'll be easy to tell what we're dealing with. r234833: Change the default to not use packet counters to generate rx interrupts. Rely solely on the timer based mechanism. Update man page to reflect this change. | 01 July 2012, 09:17:55 UTC |