summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* If vmm.ko could not be initialized correctly then prevent the creation ofneel2013-04-123-8/+21
| | | | | | virtual machines subsequently. Submitted by: Chris Torek
* If doing buildworld -DWITH_BMAKE make sure bmake does the build.sjg2013-04-121-2/+6
|
* Add pciids of the T5 based cards. The ones that I haven't tested withnp2013-04-111-0/+21
| | | | | | cxgbe(4) are disabled for now. This will change. MFC after: 2 weeks
* Cosmetic change (s/wrwc/wcwr/;s/WRWC/WCWR/).np2013-04-113-12/+12
| | | | MFC after: 3 days.
* Auto-reduce the holdoff timers that are greater than the maximum valuenp2013-04-111-1/+22
| | | | | | allowed by the hardware. MFC after: 3 days
* Generate a LINT for powerpc and for powerpc64.bz2013-04-112-4/+7
| | | | Discussed with: nwhitehorn
* Always enable TXOK interrupts when setting up TX queues for EDMA NICs.adrian2013-04-111-1/+7
|
* cxgbe/tom: Slight simplification of code that calculates options2.np2013-04-112-10/+16
| | | | MFC after: 3 days
* Fix bugs in the elapsed time calculation in ctlstat_standard()ken2013-04-111-7/+3
| | | | | | | | | | | | | | | | | | pointed out by bde: - Casting to long double isn't needed. - The division isn't needed, multiplication can be used. "When 1 nanosecond is in a floating point literal, the whole expression is automatically promoted correctly." - non-KNF indentation (1 tab) for the newly split line - different non-KNF indentation (5 spaces) for the previously split line - exessive parentheses around the division operation - bogus blank line which splits up the etime initialization - general verboseness from the above. Submitted by: bde MFC after: 3 days
* Get rid of a couple of stray \n's.np2013-04-111-2/+2
| | | | MFC after: 3 days.
* There is no need for elaborate queries and error checking when trying tonp2013-04-111-18/+4
| | | | | | set FW4MSG_ENCAP. MFC after: 3 days
* Spelling correctionemaste2013-04-112-2/+2
|
* Document sbuf_start_section() and sbuf_end_section() functions.trociny2013-04-111-2/+36
| | | | MFC after: 1 month
* Add sbuf_start_section and sbuf_end_section to the libsbuf symbol map.trociny2013-04-112-0/+8
| | | | MFC after: 1 month
* Add sbuf_start_section() and sbuf_end_section() functions, which cantrociny2013-04-112-1/+75
| | | | | | | | be used for automatic section alignment. Discussed with: kib Reviewed by: kib MFC after: 1 month
* - Explain clearly why a different firmware is being installed (if/whennp2013-04-111-18/+57
| | | | | | | | it is being installed). Improve other error messages while here. - Select special FPGA specific configuration profile when appropriate. MFC after: 3 days
* Minor spelling and grammar fixes.joel2013-04-114-9/+9
|
* Remove contractions.joel2013-04-1114-23/+23
|
* Fix tcp_output() so that tcpcb is updated in the same manner when anglebius2013-04-111-70/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | mbuf allocation fails, as in a case when ip_output() returns error. To achieve that, move large block of code that updates tcpcb below the out: label. This fixes a panic, that requires the following sequence to happen: 1) The SYN was sent to the network, tp->snd_nxt = iss + 1, tp->snd_una = iss 2) The retransmit timeout happened for the SYN we had sent, tcp_timer_rexmt() sets tp->snd_nxt = tp->snd_una, and calls tcp_output(). In tcp_output m_get() fails. 3) Later on the SYN|ACK for the SYN sent in step 1) came, tcp_input sets tp->snd_una += 1, which leads to tp->snd_una > tp->snd_nxt inconsistency, that later panics in socket buffer code. For reference, this bug fixed in DragonflyBSD repo: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1ff9b7d322dc5a26f7173aa8c38ecb79da80e419 Reviewed by: andre Tested by: pho Sponsored by: Nginx, Inc. PR: kern/177456 Submitted by: HouYeFei&XiBoLiu <lglion718 163.com>
* Remove kernel options from the SYNOPSIS. They are already documented in thejoel2013-04-111-27/+0
| | | | geom(4) manual page SYNOPSIS.
* cxgbe(4): Ensure that the MOD_LOAD handler runs before either t4nex ornp2013-04-111-4/+9
| | | | | | t5nex attach to their devices. MFC after: 3 days
* - Add entries for alc and akoszek, alredy referenced elsewheregavin2013-04-111-5/+11
| | | | | | | - Add phk -> mux relationship, confirmed by mux@ - Add scottl -> sbruno relationship - Move four ex-committers to the alumni section - Sort.
* Set and display the IP fragment bit correctly when dealing withnp2013-04-111-1/+7
| | | | | | the filter mode. MFC after: 3 days.
*-. DTrace: option for time-ordered outputpfg2013-04-1162-901/+2285
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge changes from illumos: 3021 option for time-ordered output from dtrace(1M) 3022 DTrace: keys should not affect the sort order when sorting by value 3023 it should be possible to dereference dynamic variables 3024 D integer narrowing needs some work 3025 register leak in D code generation 3026 libdtrace should set LD_NOLAZYLOAD=1 to help the pid provider This brings yet another feature implemented in upstream DTrace. A complete description is available here: http://dtrace.org/blogs/ahl/2012/07/28/my-new-dtrace-favorite/ This change bumps the DT_VERS_* number to 1.9.1 in accordance to what is done in illumos. This change was somewhat complicated because upstream is mixed many changes in an individual commit and some of the tests don't really apply to us. There are also appear to be differences in timestamping with Solaris so we had to workaround some assertions making sure no regression happened. Special thanks to Fabian Keil for changes and testing. Illumos Revisions: 13758:23432da34147 Reference: https://www.illumos.org/issues/3021 https://www.illumos.org/issues/3022 https://www.illumos.org/issues/3023 https://www.illumos.org/issues/3024 https://www.illumos.org/issues/3025 https://www.illumos.org/issues/1694 Tested by: Fabian Keil Obtained from: Illumos MFC after: 1 months
| | * Add missing file dt_pq.h that should have been committed in r239385mm2013-04-091-0/+51
| |/ | | | | | | Reported by: Pedro Giffuni <pfg@FreeBSD.org>
| * Update vendor/illumos/dist to illumos-gate 14004:dd91fed709a7mm2013-04-063-4/+84
| | | | | | | | | | | | Illumos DTrace issues: 3675 DTrace print() should try to resolve function pointers 3676 dt_print_enum hardcodes a value of zero
| * Update vendor/illumos/dist to illumos-gate 13991:53e4f9da98a1mm2013-04-061-24/+65
| | | | | | | | | | Illumos ZFS issues: 3641 want a histogram of compressed block sizes
* | Remove EOL whitespace.joel2013-04-112-2/+2
| |
* | Remove unused atomic headeremaste2013-04-111-1/+0
| |
* | fuser(1) requires a filename.eadler2013-04-111-1/+1
| | | | | | | | | | | | Reviewed by: lstewart Approved by: bcr (mentor) MFC after: 3 days
* | Fix typo.glebius2013-04-111-1/+1
| |
* | Fix libzfs to report error instead of returning zero if trying to hold ormm2013-04-111-4/+24
| | | | | | | | | | | | | | | | | | | | release a non-existing snapshot of a existing dataset. In recursive case error is reported if no snapshots with the requested name have been found. Problem and proposed solution reported to illumos: 3699 zfs hold or release of a non-existent snapshot does not output error MFC after: 8 days
* | MFV r249354:mm2013-04-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | Merge bugfixes accepted and integrated by vendor. Underlying problems have been reported by us and fixed in r240942 and r249196. Illumos ZFS issues: 3645 dmu_send_impl: possibilty of pool hold leak 3692 Panic on zfs receive of a recursive deduplicated stream MFC after: 8 days
* | Include types.h for C99 uintXX_t types.glebius2013-04-111-1/+1
| |
* | Do not sent 120 TEST UNIT READY requests on generic NOT READY statuses.mav2013-04-111-5/+2
| | | | | | | | | | | | | | | | | | | | Some failing disks tend to return vendor-specific ASC/ASCQ codes with NOT READY sense key. It caused extremely long recovery attempts, repeating these 120 TURs (it takes at least 1 minute) for every I/O request. Instead of that use default error handling, doing just few retries. Reviewed by: ken, gibbs MFC after: 1 month
* | Make the code to check if VMX is enabled more readable by using macrosneel2013-04-112-1/+7
| | | | | | | | | | | | instead of magic numbers. Discussed with: Chris Torek
* | Update ciss(4) man page. We absolutely support performant mode of operationsbruno2013-04-101-10/+7
| | | | | | | | | | | | | | | | | | | | on this controller. Indicate that the 5300 is the *only* controller that will only work in simple mode. Bus rescans should not be needed now and I consider it a bug if disks do not appear or dissapear when created or destroyed. Obtained from: Yahoo! Inc
* | While investigating a p/r I noted that the camcontrol devlist output forsbruno2013-04-101-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | volumes behind a ciss(4) controller were being reported with malformeed names and identifiers. Repair that reporting by using the CAM values for the three SCSI indents reported via camcontrol devlist PR: kern/171650 Reviewed by: scottl Obtained from: Yahoo! Inc. MFC after: 2 weeks
* | options DPT_HANDLE_TIMEOUTS hasn't worked since dpt(4) was converted to CAMsbruno2013-04-104-180/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | somewhere around svn r39402 to r39234. I don't know of anyone who really wants to test these changes, but they only remove the deprecated code in question. This shreds the driver down a bit and *removes* options from the kernel configs. These don't appear to be referenced in the man page, so no need to check it there. PR: kern/44587 Obtained from: Yahoo! Inc. MFC after: 2 weeks
* | Add a callback to the ada(4) driver so that it knows when GEOM has releasedken2013-04-101-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | references to it. This is the functional equivalent to change r237518, which added this functionality to the cd(4) and da(4) drivers. This fix prevents a panic caused by GEOM calling adaopen() while the device is going away. We now keep the device around until GEOM has finished cleaning up its state. ata_da.c: In adaregister(), add a d_gone callback to the GEOM disk structure registered for the ada driver. Increment the peripheral reference count for GEOM. Add a new callback, adadiskgonecb(), that GEOM calls when it is done with its resources. This callback releases the reference acquired in adaregister(). Submitted by: Po-Li Soong Sponsored by: Spectra Logic MFC After: 5 days
* | Create controller-level DMA tag, handling range of supported addresses.mav2013-04-102-8/+28
| | | | | | | | | | | | | | That simplifies logic for channels and gives the bus information about what device actually allocated the tag. Submitted by: jhb@
* | Use kvm_counter_u64_fetch() to fix obtaining ipstat and tcpstat fromglebius2013-04-103-29/+69
| | | | | | | | | | | | kernel core files. Sponsored by: Nginx, Inc.
* | o Provide function kvm_read_zpcpu() to access UMA_ZONE_PCPU allocations.glebius2013-04-104-7/+89
| | | | | | | | | | | | o Provide function kvm_counter_u64_fetch() to fetch valut of a counter(9). Sponsored by: Nginx, Inc.
* | Need to call init_mem() to really initialize the MMIO range lookups.neel2013-04-101-0/+1
| | | | | | | | | | | | | | | | This was working by accident because: - the RB_HEADs were being initialized to zero as part of BSS - the pthread_rwlock functions were implicitly initializing the lock object Obtained from: NetApp
* | Remove obsolete comment about lack of locking for MMIO range lookup.neel2013-04-101-6/+0
| | | | | | | | Pointed out by: Tycho Nightingale (tycho.nightingale@plurisbusnetworks.com)
* | Simplify allocate_legacy code, txr pointer was breaking LEGACY compile,jfv2013-04-101-2/+1
| | | | | | | | thanks to Nick Rogers for pointing this out.
* | Add ID for ASMedia ASM1042 USB 3.0 controller.mav2013-04-101-0/+3
| | | | | | | | MFC after: 1 week
* | Since UMA_ZONE_PCPU zones put a constraint on sizeof(struct pcpu), declaredglebius2013-04-101-7/+1
| | | | | | | | | | | | as CTASSERT in MI pcpu.h, stop including all possible mutually exclusive PCPU_MD_FIELDS fields into LINT kernels, due to brekaing aforementioned CTASSERT.
* | Fix a time calculation error in ctlstat_standard().ken2013-04-101-2/+3
| | | | | | | | | | | | | | | | | | | | | | ctlstat.c: When converting a timeval to a floating point number in ctlstat_standard(), cast the nanoseconds calculation to a long double, so we don't lose precision. Without the cast, we wind up with a time in whole seconds only. Sponsored by: Spectra Logic MFC after: 3 days
* | Remove the number of addresses restriction from sctp_connectx().tuexen2013-04-101-202/+94
| | | | | | | | | | | | | | Remove unused code. While there, do some cleanup of the code. MFC after: 1 week
OpenPOWER on IntegriCloud