summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* MFC r279975: Use ahci_write_fis_d2h() for commands completion.mav2015-03-271-21/+11
|
* MFC revision 280463ken2015-03-271-7/+1
| | | | | | | | | | | | | | ------------------------------------------------------------------------ r280463 | ken | 2015-03-24 15:42:28 -0600 (Tue, 24 Mar 2015) | 5 lines Remove some #if 0'ed code that apparently confuses cscope. Requested by: Peter Xu <xzpeter@gmail.com> MFC after: 3 days ------------------------------------------------------------------------ Sponsored by: Spectra Logic
* MFC r280236:ae2015-03-261-1/+1
| | | | | To avoid a possible race, release the reference to ifa after return from nd6_dad_na_input().
* MFC r270572: drm/i915: Disable the build of i915 on PC98emaste2015-03-261-1/+3
| | | | This module is of no use on this platform.
* MFC r280254:kib2015-03-261-6/+21
| | | | | Provide definitions for all descriptors types in the DMAR invalidation queue.
* MFC r280262 and r280263:hselasky2015-03-261-9/+24
| | | | Add more known bugs to the USB audio manual page.
* MFC r280249: Add camcontrol subcommands to control APM and AAM levels.mav2015-03-262-3/+99
| | | | Sponsored by: iXsystems, Inc.
* MFC r279913: Fix couple BIO_DELETE bugs in geom_mirror.mav2015-03-261-2/+24
| | | | | Do not report GEOM::candelete if none of providers support BIO_DELETE. If consumer still requests BIO_DELETE, report error instead of hanging.
* MFC r279903,279941:yongari2015-03-262-60/+126
| | | | | | Add RTL8211F gigabit PHY support. PR: 197265
* MFC r279223:yongari2015-03-261-1/+1
| | | | Correct a typo.
* MFC r277907:yongari2015-03-261-3/+3
| | | | Correct device description message.
* MFC r277050:yongari2015-03-261-23/+2
| | | | | | | | Receive filter configuration is done in nge_rxfilter(). Remove unnecessary filter configuration code in nge_init_locked(). While I'm here add a check for driver running state for multicast filter handling. Also remove unnecessary assignment to error variable since it is cleared in the function entry.
* MFC r275816:yongari2015-03-261-6/+7
| | | | | | | | | | | | Fix a bug introdiced in r217548. According to NS DP83815 data sheet, RX filter should be disabled before programming. Previously it was clearing wrong bits so RX filter was not disabled in RX filter configuration. MFC r277048: Enable receive filter in sis_rxfilter(). While I'm here add a check for driver running state for multicast filter handling.
* MFC r279361, r279395, r279396:ian2015-03-256-17/+137
| | | | | | | | | | | Allow the kern.osrelease and kern.osreldate sysctl values to be set in a jail's creation parameters. This allows the kernel version to be reliably spoofed within the jail whether examined directly with sysctl or indirectly with the uname -r and -K options. Export the new osreldate and osrelease jail parms in jail_get(2). Fix line wrap.
* Document SA-15:06.gjb2015-03-251-0/+7
| | | | Sponsored by: The FreeBSD Foundation
* MFC: 279398arybchik2015-03-253-1/+70
| | | | | | | | | | | | | | | sfxge: compile out LRO if kernel is compiled without IPv4 and IPv6 Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor) MFC: 279411 Unbreak 'make depend' with sfxge by removing debugging code activated in the INET || INET6 case X-MFC with: r279398 Pointyhat to: arybchik
* MFC: 280433arybchik2015-03-251-1/+1
| | | | | | sfxge: cleanup: fix index variable type to match upper boundary type Sponsored by: Solarflare Communications, Inc.
* MFC: 280432arybchik2015-03-251-0/+7
| | | | | | sfxge: cleanup: add a blank line before each #if to improve readability Sponsored by: Solarflare Communications, Inc.
* MFC: 280431arybchik2015-03-251-2/+2
| | | | | | sfxge: cleanup: remove trailing whitespaces Sponsored by: Solarflare Communications, Inc.
* MFC: 280380arybchik2015-03-251-1/+1
| | | | | | | sfxge: remove unnecessary and wrong prediction Sponsored by: Solarflare Communications, Inc. Original Differential Revision: https://reviews.freebsd.org/D2085
* MFC: 280379arybchik2015-03-251-0/+9
| | | | | | | | | | sfxge: do not check MCDI status word This is a temporary workaround until we determine a reliable sequence of operations for detecting MC reboots. Sponsored by: Solarflare Communications, Inc. Original Differential Revision: https://reviews.freebsd.org/D2084
* MFC: 280378arybchik2015-03-251-4/+11
| | | | | | | | | | sfxge: FreeBSD before 10 does not have bus_space_*_8 on amd64 bus_space_*_8() are not always macros, so it is not correct to use #ifndef. Sponsored by: Solarflare Communications, Inc. Original Differential Revision: https://reviews.freebsd.org/D2083
* MFC: 280377arybchik2015-03-251-19/+49
| | | | | | | sfxge: add statistics for each Tx queue Sponsored by: Solarflare Communications, Inc. Original Differential Revision: https://reviews.freebsd.org/D2082
* MFC: 280376arybchik2015-03-255-149/+5
| | | | | | | | | | sfxge: remove obsolete Tx non-multi queue support Tx multi queue is added in FreeBSD 8.0. So, the changeset drops earlier versions support. Sponsored by: Solarflare Communications, Inc. Original Differential Revision: https://reviews.freebsd.org/D2081
* MFC: 280375arybchik2015-03-251-0/+64
| | | | | | | | | | | | | | | | | | | | sfxge: add barriers to BAR write macros In theory the barriers are required to cope with write combining and reordering. Two barriers are added (sometimes merged to one): 1. Before the first write to guarantee that previous writes to the region have been done 2. Before the last write to guarantee that write to the last dword/qword is done after previous writes Barriers are inserted before in the assumption that it is better to postpone barriers as much as it is possible (more chances that the operation has already been already done and barrier does not stall CPU). On x86 and amd64 bus space write barriers are just compiler memory barriers which are definitely required. Sponsored by: Solarflare Communications, Inc. Original Differential Revision: https://reviews.freebsd.org/D2077
* MFC: 280374arybchik2015-03-251-1/+10
| | | | | | | | | | | | | | | sfxge: assert either kernel or internal copy of interface flags ioctl to put interface down sets ifp->if_flags which holds the intended administratively defined state and calls driver callback to apply it. When everything is done, driver updates internal copy of interface flags sc->if_flags which holds the operational state. So, transmit from Rx path is possible when interface is intended to be administratively down in accordance with ifp->if_flags, but not applied yet and the operational state is up in accordance with sc->if_flags. Sponsored by: Solarflare Communications, Inc. Original Differential Revision: https://reviews.freebsd.org/D2075
* MFC: 280164arybchik2015-03-251-1/+1
| | | | | | | | | | sfxge: increase default put-list limit to 1024 Drops are observed under multi-stream TCP traffic due to put-list overflow with limit equal to 64. Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC: 280163arybchik2015-03-251-2/+4
| | | | | | | | | | | sfxge: prefetch txq->common if TxQ is started only Transmit may be called when TxQ is not started yet (i.e. txq->common is invalid). TxQ state is checked below when mbuf is processed and dropped if TxQ is not started. Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC: 280162arybchik2015-03-253-1/+45
| | | | | | | | | | sfxge: adding version info to device description The information is required for NIC update and config tools. Submitted by: Artem V. Andreev <Artem.Andreev at oktetlabs.ru> Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC: 280161arybchik2015-03-251-16/+21
| | | | | | | | | | sfxge: move deferred packet list statistics to dedicated node It is done to structure sysctl and do not mix with Tx queue statistics to be added. Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC: 280160arybchik2015-03-252-0/+59
| | | | | | | sfxge: add tunables to control LRO parameters on driver load time Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC: 279351arybchik2015-03-255-17/+18
| | | | | | | | | | | sfxge: expect required init_state on data path and in periodic calls With the patch applied the number of instruction events is 1% less and number of mispredicted branch events is 5% less under multistream TCP traffic load close to line rate. Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC: 279266arybchik2015-03-251-1/+1
| | | | | | | sfxge: correct limit for number of Rx queues Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC: 279231arybchik2015-03-252-0/+9
| | | | | | | | | sfxge: add put-list high watermark It is interesting to know how long put-list grows. Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC r280322 and r280429:hselasky2015-03-253-129/+282
| | | | | | | | | | | | | | | | | | | | | The synchronisation value returned by the so-called feedback endpoint appears to be too inaccurate that it can be used to synchronize the playback data stream. If there is a recording endpoint associated with the playback endpoint, use that instead. That means if the isochronous OUT endpoint is asynchronus the USB audio driver will automatically start recording, if possible, to get exact information about the needed sample rate adjustments. In no recording endpoint is present, no rate adaption will be done. While at it fix an issue where the hardware buffer pointers don't get reset at the first device PCM trigger. Make some variables 32-bit to avoid problems with multithreading. Use the feedback value from the synchronization endpoint as fallback when there is no recording channel. PR: 198444
* MFC: 279230arybchik2015-03-251-11/+13
| | | | | | | sfxge: use goto to cleanup to avoid duplicate cleanup code Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC: 279183arybchik2015-03-253-0/+73
| | | | | | | | | | | | | | | sfxge: add common code support for changing TX queue pace To delay packets from a particular TX queue by a particular time, write a value into the TX Pace table s.t. pace time <= TX Pace Clock Period * (2 ^ pace value) - the TX pace clock is 1/13 of the system clock, so its period should be 104 or 52 ns depending on whether turbo mode is active. EFX_TX_PACE_CLOCK_BASE added by me. Submitted by: Mark Spender <mspender at solarflare.com> Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC: 279182arybchik2015-03-255-7/+11
| | | | | | | | sfxge: correct event queue interrupt moderation timer quanta Submitted by: Andrew Lee <alee at solarflare.com> Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC: 279181arybchik2015-03-251-2/+2
| | | | | | | sfxge: add indefinite article and update timestamp Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC: 279179arybchik2015-03-252-2/+0
| | | | | | | | | sfxge: DMA allocated memory is set to zeros because of BUS_DMA_ZERO flag It is not required to set it to zeros once again. Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC: 279178arybchik2015-03-251-1/+5
| | | | | | | | | | | sfxge: do no allow EFSYS_MEM_ALLOC sleep It solves locking problem when EFSYS_MEM_ALLOC is called in the context holding a mutex (not allowed to sleep). E.g. on interface bring up or multicast addresses addition. Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC: 279177arybchik2015-03-251-0/+19
| | | | | | | | | sfxge: assert event queue lock in event handlers It is useful to highlight lock context. Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC: 279176arybchik2015-03-251-2/+2
| | | | | | | | | | | sfxge: pass correct address to free allocated memory in the case of load error It is one more place missed in the previous fix. Most likely is was just memory leak on the error handling path since typically efsys_mem_t is filled in by zeros on allocation. Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC: 279175arybchik2015-03-251-35/+64
| | | | | | | | | | sfxge: using bus_space_*_stream_* API for better portability Host-bus byte order translation is not requred. Submitted by: Artem V. Andreev <Artem.Andreev at oktetlabs.ru> Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC r280345:hselasky2015-03-251-2/+18
| | | | | | | | Fix for out of order device destruction notifications when using the delist_dev() function. In addition to this change: - add a proper description of this function - add a proper witness assert inside this function - switch a nearby line to use the "cdp" pointer instead of cdev2priv()
* MFC: 279174arybchik2015-03-251-0/+30
| | | | | | | sfxge: add missing Siena sensors to common code Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC: 279173arybchik2015-03-252-0/+12
| | | | | | | sfxge: add missing common code NVRAM types and map from MCDI Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC: 279172arybchik2015-03-251-1/+3
| | | | | | | | sfxge: add new identities to Siena static config Submitted by: Andrew Jackson <ajackson at solarflare.com> Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC: 279147arybchik2015-03-251-7/+13
| | | | | | | sfxge: TxQ block level should use EFX_TXQ_LIMIT as maximum TxQ size Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
* MFC r279725:hselasky2015-03-253-1/+5
| | | | | | Add more USB IDs. PR: 197753
OpenPOWER on IntegriCloud