summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* MFI r257381:slm2015-04-1523-274/+577
| | | | | | | | | | | | | | | | | Adjust to handle either a 32-bit or 64-bit lun_id_t in printf. MFC r266615: Increase taskqueue thread priority from idle to PRIBIO. MFC r279253: - Copyright to Avago - SSU changes - SATA ID timeout handling (PR 191348) - reset handling changes - Bump version to 20.00.00.00-fbsd MFC r279695: Change that should have been done with r279253
* MFC r281136:rpaulo2015-04-131-1/+5
| | | | ichsmb: add a device id for the Wildcat Point-LP.
* MFC r281383:eadler2015-04-131-1/+1
| | | | | iwn, wlan: fix typos Fxi tow typos
* MFC r281070:rpaulo2015-04-111-5/+5
| | | | urtwn: blink the LED when scanning.
* MFC 279892:jhb2015-04-091-0/+22
| | | | | Resize receive socket buffers that support autosizing when receiving TCP data via direct data placement.
* MFC r279092:np2015-04-081-3/+0
| | | | | | cxgbe(4): there is no need to force an "unimplemented" panic needlessly. The calls to free_nm_txq and free_nm_rxq are made just a few lines prior to the panic.
* MFC r278303:np2015-04-081-0/+44
| | | | | | | | cxgbe(4): Add a minimal if_cxl module that pulls in the real driver as a dependency. This ensures "ifconfig cxl<n> ..." does the right thing even when it's run with no driver loaded. if_cxl.ko is the tiniest module in /boot/kernel.
* MFC r278485:np2015-04-082-33/+29
| | | | | cxgbe(4): allow the SET_FILTER_MODE ioctl to change the mode when it's safe to do so.
* MFC r279243-r279246, r279251, r279691, r279700, and r279701.np2015-04-083-33/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r279243: cxgbe(4): request an automatic tx update when a netmap txq idles. r279244: cxgbe(4): wait for the hardware to catch up before destroying a netmap txq. r279245: cxgbe(4): do not set the netmap rxq interrupts on a hair-trigger. r279246: cxgbe(4): set up congestion management for netmap rx queues. The hw.cxgbe.cong_drop knob controls the response of the chip when netmap queues are congested. r279251: cxgbe(4): allow tx hardware checksumming on the netmap interface. It is disabled by default but users can set IFCAP_TXCSUM on the netmap ifnet (ifconfig ncxl0 txcsum) to override netmap and force the hardware to calculate and insert proper IP and L4 checksums in outbound frames. r279691: cxgbe(4): provide the correct size of freelists associated with netmap rx queues to the chip. This will fix many problems with native netmap rx on ncxl/ncxgbe interfaces. r279700: cxgbe(4): knobs to experiment with the interrupt coalescing timer for netmap rx queues, and the "batchiness" of rx updates sent to the chip. These knobs will probably become per-rxq in the near future and will be documented only after their final form is decided. r279701: cxgbe(4): experimental rx packet sink for netmap queues. This is not intended for general use.
* MFC r280403:np2015-04-081-4/+7
| | | | cxgbe(4): Do not call sbuf_trim on an sbuf with a drain function.
* MFC r279969:np2015-04-081-3/+0
| | | | | cxgbe(4): fix if_media handling for T520-BT cards. 1Gbps and 100Mbps are valid for this card.
* MFC r278372:np2015-04-081-0/+1
| | | | cxgbe(4): adapter_full_init is always a synchronized operation.
* MFC r278371:np2015-04-082-1/+6
| | | | | cxgbe(4): a change to the synchronization rules within the the driver. This is purely cosmetic because the new rules are already followed.
* MFC r278342:np2015-04-081-1/+6
| | | | cxgbe(4): fix a test made while enabling TOE.
* MFC r277102, r277135.np2015-04-081-41/+39
| | | | | | | | r277102: cxgbe/iw_cxgbe: allow any size during the initial MPA exchange. r277135: cxgbe/iw_cxgbe: fix whitespace nit in r277102.
* MFC r276729, r276775.np2015-04-082-93/+29
| | | | | | | | r276729: cxgbe/tom: use vmem(9) as the DDP page pod allocator. r276775: cxgbe/tom: allocate page pod addresses instead of ppod#.
* MFC r276597:np2015-04-083-5/+25
| | | | | cxgbe/tom: do not engage the TOE's payload chopper for payload < 2 MSS or for 10Gbps ports.
* MFC r276728:np2015-04-081-1/+1
| | | | cxgbe(4): fix the description of a strange bunch of counters.
* MFC r281006davidcs2015-04-071-1/+8
| | | | When an mbuf allocation fails in the receive path, the mbuf containing the received packet is not sent to the host network stack and is reused again on the receive ring. Remaining received packets in the ring are not processed in that invocation of bxe_rxeof() and defered to the task thread
* MFC r276574:np2015-04-071-2/+12
| | | | cxgbe/tom: fix the MSS calculation for IPv6 connections handled by the TOE.
* MFC r276570:np2015-04-071-2/+7
| | | | cxgbe/tom: log some more details in send_flowc_wr.
* MFC r275539, r275554.np2015-04-072-146/+176
| | | | | | | | | | | | | | | r275539: cxgbe(4): Allow for different pad and pack boundaries for different adapters. Set the pack boundary for T5 cards to be the same as the PCIe max payload size. The chip likes it this way. In this revision the driver allocate rx buffers that align on both boundaries. This is not a strict requirement and a followup commit will switch the driver to a more relaxed allocation strategy. r275554: cxgbe(4): allow the driver to use rx buffers that do not end on a pack boundary.
* MFC r275733:np2015-04-072-1/+1
| | | | | Move KTR_CXGBE from t4_tom.h to adapter.h so that the base if_cxgbe code can use it too.
* MFC r274456:np2015-04-072-8/+12
| | | | | | | | | | | | | | | Fix some bad interaction between cxgbe(4) and lacp lagg(4) that could leave a port permanently disabled when a copper cable is unplugged and then plugged right back in. lacp_linkstate goes looking for the current ifmedia on a link state change and it could get stale information from cxgbe(4) on a module unplug followed by replug. The fix is to process module events before link-state events within the driver, and to always rebuild the ifmedia list on a module change event (instead of rebuilding it lazily). Thanks to asomers@ for the problem report and detailed analysis to go with it.
* MFC r280393: Reduce priority of ATA/SATA drivers.mav2015-04-0631-35/+35
| | | | | Legacy ata(4) -> BUS_PROBE_LOW_PRIORITY; more functional ahci(4), siis(4), mvs(4) -> BUS_PROBE_DEFAULT; BUS_PROBE_VENDOR leave for vendor drivers.
* MFC r272444 (by jkim):dim2015-04-042-13/+9
| | | | | | | | | | | Merge ACPICA 20140926. MFC r278970 (by jkim): Merge ACPICA 20141107 and 20150204. Approved by: jkim Relnotes: yes
* MFC 276724:jhb2015-04-021-3/+14
| | | | | | | | | | On some Intel CPUs with a P-state but not C-state invariant TSC the TSC may also halt in C2 and not just C3 (it seems that in some cases the BIOS advertises its C3 state as a C2 state in _CST). Just play it safe and disable both C2 and C3 states if a user forces the use of the TSC as the timecounter on such CPUs. PR: 192316
* MFC 261790:jhb2015-04-0113-58/+751
| | | | | | | | | | | | | | | | | | | | | | Add support for managing PCI bus numbers. As with BARs and PCI-PCI bridge I/O windows, the default is to preserve the firmware-assigned resources. PCI bus numbers are only managed if NEW_PCIB is enabled and the architecture defines a PCI_RES_BUS resource type. - Add a helper API to create top-level PCI bus resource managers for each PCI domain/segment. Host-PCI bridge drivers use this API to allocate bus numbers from their associated domain. - Change the PCI bus and CardBus drivers to allocate a bus resource for their bus number from the parent PCI bridge device. - Change the PCI-PCI and PCI-CardBus bridge drivers to allocate the full range of bus numbers from secbus to subbus from their parent bridge. The drivers also always program their primary bus register. The bridge drivers also support growing their bus range by extending the bus resource and updating subbus to match the larger range. - Add support for managing PCI bus resources to the Host-PCI bridge drivers used for amd64 and i386 (acpi_pcib, mptable_pcib, legacy_pcib, and qpi_pcib). - Define a PCI_RES_BUS resource type for amd64 and i386. PR: 197076
* MFC: r280807arybchik2015-03-311-1/+1
| | | | | | sfxge: fix bug in TSO when a DMA segment has both header and data Sponsored by: Solarflare Communications, Inc.
* MFC r280090: Hide virtio features negotiation messages under bootverbose.mav2015-03-291-1/+1
| | | | Those messages are noisy, but useless for average user.
* 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: 279398arybchik2015-03-252-0/+55
| | | | | | | | | | | | | | | 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: 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-252-0/+44
| | | | | | | | | | 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-251-0/+38
| | | | | | | sfxge: add tunables to control LRO parameters on driver load time Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
OpenPOWER on IntegriCloud