summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* MFC r291014: Simplify fabric tasting code.mav2015-11-301-87/+22
| | | | | Except cosmetic changes this removes fabric ports from our port database. It is always firmware duty to manage them, so driver don't need to worry.
* MFC r291013: Remove some confusions between loopid and nphdl.mav2015-11-305-66/+66
| | | | | | | | Modern cards in most cases operate abstract port handles, that have no any relation to real loop IDs. Leave loopid used only where it really goes about local loop IDs. While there, fix few more cases where LUNs were still printed in decimal.
* MFC r291000: Register our FC4 Features in SNS.mav2015-11-305-0/+152
|
* MFC r290993, r290994: Unify and cleanup FC ports scan.mav2015-11-303-217/+153
|
* MFC r290981: Off-by-one correctiont to r290980.mav2015-11-301-1/+1
|
* MFC r290980: Make firmware handle virtual ports SNS logins for us.mav2015-11-302-15/+8
|
* MFC r290978: Add real initial support for RQSTYPE_RPT_ID_ACQ.mav2015-11-303-34/+33
|
* MFC r290830: Fix/improve CRN tracking.mav2015-11-302-33/+21
|
* MFC r290507: Rework r290504.mav2015-11-302-5/+7
|
* MFC r290506: Specify VP when sending a marker.mav2015-11-301-0/+1
|
* MFC r290504: Make ISP_SLEEP() really sleep instead of spinning.mav2015-11-302-49/+14
| | | | While there, simplify the wait logic.
* MFC r290160: Remove some unneeded code.mav2015-11-301-4/+0
|
* MFC r290159: Remove reset delays for which I see neither explanation nor need.mav2015-11-301-25/+7
|
* MFC r290147: Fix and improve error masking and reporting.mav2015-11-303-48/+54
|
* MFC r290118: Change the way how target mode is enabled on 23xx chips.mav2015-11-302-4/+5
| | | | | Without docs I am not completely sure about this, but on my tests new method works better then previous, at least with our latest firmware.
* MFC r290104: Improve/fix loop scanning routine.mav2015-11-304-64/+195
| | | | | | | | | | | | For the most of chips (except anscient ones) port handlers have no relation to port IDs. In such situation old code scanning first 125 handlers was quite naive. Instead of doing that, send to chip single request to get full list of port handlers available on specific virtual port and scan only them. Old code had problems with case of several virtual ports enabled, when port handlers allocated from global address space could easily go above 125. This change was successfully tested on 23xx, 24xx and 25xx chips in loop mode with 4 virtual initiator ports, each seing 50 virtual target ports.
* MFC r289138: Remove legacy CHS geometry from dmesg and unify capacity outputs.mav2015-11-303-17/+11
|
* MFC r291383: Fix panic when trying to sort unsupported command in OOA queue.mav2015-11-301-0/+2
| | | | Handle unsupported commands as not conflicting/blocking.
* MFC: r290959rmacklem2015-11-301-3/+5
| | | | | | | | | | | | | | When the smbfs iod thread (smb_iod_thread()) is shutting down, smb_iod_destroy() would call smb_iod_request(). This call could return as soon as the wakeup(evp) in smb_iod_main() call is done and then could destroy the mutexes. This caused a race with the rest of smb_iod_main()s use of these mutexes. A crash reported on freebsd-stable@ by Christian Kratzer was diagnosed as a use of one of these mutexes after it was destroyed. This patch moves destruction of the mutexes from smb_iod_destroy() to the end of smb_iod_thread(), so that they aren't destroyed before the thread is done with them. Christian comfirmed that the patch stopped the crashes from happening.
* MFC r291207:smh2015-11-301-4/+19
| | | | | | Fix dumpon compatibility with dumpdev kenv Sponsored by: Multiplay
* MFC r290855: Increase reset assertion time from 10 to 100us.mav2015-11-291-1/+1
| | | | | | | | | On my own tests I see no effect from this change, but I also can't reproduce the reported problem in general. PR: 127391 PR: 204554 Submitted by: satz@iranger.com
* MFC r289895:kib2015-11-291-86/+42
| | | | | | | | | | | Reduce the amount of calls to VOP_BMAP() made from the local vnode pager. MFC r291157, r291158: Include the pages before/after the requested page, that fit into the reqblock, into the calculation of the size of run of pages. Tested by: pho
* MFC r291126:mav2015-11-284-3/+70
| | | | | | | | | | Add API to obtain primary enclosure name and ID for /dev/sesX devices. sesX device number may change between reboots, so to properly identify the instance we need more data. Name and ID reported here may mach ones reported by SCSI device, but that is not really required by specs. Sponsored by: iXsystems, Inc.
* MFC r291306:gjb2015-11-281-1/+1
| | | | | | Fix tmpfs(5) '/tmp' mount point. Sponsored by: The FreeBSD Foundation
* MFC r290820: Add NULL check to make Coverity happy.mav2015-11-271-1/+2
|
* MFC r290670: Modify target port groups logic in CTL.mav2015-11-274-33/+82
| | | | | | | | | | | | | | | | | - Introduce "ha_shared" port option, which being set to "on" moves the port into separate port group, shared between HA nodes. This allows to better handle cases when iSCSI portals are bound to CARP address that can dynamically move between nodes. Some initiators (at least VMware) don't detect that after iSCSI reconnect they've attached to different SCSI port from different port group, that totally breakes ALUA status parsing. In theory, I believe, it should be enough to have different iSCSI portal group tags on different nodes to make initiators detect this condition, but it seems like VMware ignores those values, and even full LUN retaste forced by UA does not help. - Make CTL report up to three port groups: 1 -- non-HA mode or ports with "ha_shared" option set, 2 -- HA node 1, 3 -- HA node 2. - Report Transitioning state for all port groups when HA interlink is connected, but neither of nodes is primary for the LUN.
* MFC r290615: Introduce portal group options in ctl.conf.mav2015-11-275-77/+99
| | | | | | While CTL has concept of port options, used at least for iSCSI ports now, before this change it was impossible to set them manually. There still no user-configurable port options now, but I am planning to change that.
* MFC r291061: Improve locking of sg_threadcount.mav2015-11-271-1/+3
|
* MFC r291097:ume2015-11-271-1/+4
| | | | Don't truncate an interface name when -W option is specified.
* MFC r291266:kib2015-11-271-1/+1
| | | | | Correct the number of DTLB entries reported for the CPUID Leaf 2 descriptor 0x6c.
* MFC 290028:gnn2015-11-263-1/+12
| | | | | | | | | | | | | Turning on IPSEC used to introduce a slight amount of performance degradation (7%) for host host TCP connections over 10Gbps links, even when there were no secuirty policies in place. There is no change in performance on 1Gbps network links. Testing GENERIC vs. GENERIC-NOIPSEC vs. GENERIC with this change shows that the new code removes any overhead introduced by having IPSEC always in the kernel. Differential Revision: D3993 Sponsored by: Rubicon Communications (Netgate)
* MFC r291172:ngie2015-11-261-1/+1
| | | | | | | | | | Use __MAKE_SHELL instead of HOST_SHELL when generating aton_ether_subr.c (HOST_SHELL is used in NetBSD) This fixes permission denied issues when gen_ether_subr is not executable Reported by: José Pérez <fbl@aoek.com> Suggested by: bdrewery, sjg
* Fix bad MFC (r291175)ngie2015-11-261-1/+1
| | | | | | | Replace SRCTOP with the relevant path via .CURDIR Pointyhat to: ngie Sponsored by: EMC / Isilon Storage Division
* MFC r288006,r288031,r288032,r288033:ngie2015-11-255-7/+11
| | | | | | | | | | | | | | | | | | r288006 (by rodrigc): Add declarations to eliminate -Wmissing-prototypes warnings r288031 (by rodrigc): Remove names from some prototypes r288032 (by rodrigc): Remove names from some prototypes r288033 (by rodrigc): Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
* MFC r291012:smh2015-11-251-1/+9
| | | | | | Document loader(8) dumpdev option Sponsored by: Multiplay
* MFC r258245:ngie2015-11-252-0/+2
| | | | | | | | r258245 (by eadler): Add missing include files for the printf_l and scanf_l man pages. Reported by: swildner@dragonflybsd.org
* MFC r264737:ngie2015-11-257-4/+242
| | | | | | | | | | | | | | | Discussed with: jilles r264737 (by jilles): libc/stdio: Fail fdopen() on an execute-only fd. An execute-only fd (opened with O_EXEC) allows neither read() nor write() and is therefore incompatible with all stdio modes. Therefore, the [EINVAL] error applies. Also adjust the similar check in freopen() with a NULL path, even though this checks an fd which is already from a FILE.
* MFC: r289425jkim2015-11-241-1/+11
| | | | | Add support for ARM EABI. Note it is not a direct MFC because some macros are not defined in this branch.
* MFC r291146:hselasky2015-11-241-2/+8
| | | | | | Add support for Kana and Eisu keys to the USB keyboard driver. PR: 204709
* MFC r291145:hselasky2015-11-241-2/+2
| | | | | | Fix scancodes for Kana and Eisu keys. PR: 204709
* MFC r290326:hselasky2015-11-241-2/+6
| | | | | | | Relax the BUS_DMA_KEEP_PG_OFFSET requirement to allow optimising allocation of DMA bounce buffers. Discussed with: ian @
* MFC r277082:smh2015-11-2410-270/+970
| | | | | | Update to the shared code for Intel I40E drivers (by jfv) Sponsored by: Multiplay
* Belatedly bump __FreeBSD_version after r291215smh2015-11-241-1/+1
| | | | | | | | | | | Due to the change in args for g_dev_setdumpdev by r291215 belatedly bump __FreeBSD_version to allow any potential consumers to check for this, as requested by delphij. This is a direct commit to stable/10 Approved by: so (delphij) Sponsored by: Multiplay
* MFC r286999:royger2015-11-244-4/+38
| | | | | | xen: allow disabling PV disks and nics Sponsored by: Citrix Systems R&D
* MFC r274366:smh2015-11-234-13/+15
| | | | | | | Add missing privilege check when setting the dump device. Approved by: pjd, secteam (both no objections) Sponsored by: Multiplay
* MFC r290199:jimharris2015-11-233-0/+9
| | | | | | nvd, nvme: report stripesize through GEOM disk layer Sponsored by: Intel
* MFC r290198:jimharris2015-11-231-3/+6
| | | | | | nvme: fix race condition in split bio completion path Sponsored by: Intel
* MFC r277974:hselasky2015-11-231-3/+3
| | | | | | | Fix a bunch of -Wcast-qual warnings in sys/dev/usb/input/uhid.c, by using __DECONST. No functional change. Differential Revision: https://reviews.freebsd.org/D1743
* MFC r284722 and r284724:hselasky2015-11-231-1/+1
| | | | Fix endless recursion in ti(4)'s ti_ifmedia_upd(), found by clang 3.7.0.
* MFC r291072, r291168 and r291169:hselasky2015-11-236-3/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | Add the mlx5 and mlx5en modules to the i386 and amd64 kernel builds by default and add a manual page for mlx5en. The mlx5 module contains shared code for both infiniband and ethernet. The mlx5en module contains specific code for ethernet functionality only. A mlx5ib module is in the works for infiniband support. Supported hardware: - ConnectX-4: 10/20/25/40/50/56/100Gb/s speeds. - ConnectX-4 LX: 10/25/40/50Gb/s speeds (low power consumption) Refer to the mlx5en(4) manual page for a comprehensive list. The team porting the mlx5 driver(s) to FreeBSD: - Hans Petter Selasky <hselasky@freebsd.org> - Oded Shanoon <odeds@mellanox.com> - Meny Yossefi <menyy@mellanox.com> - Shany Michaely <shanim@mellanox.com> - Shahar Klein <shahark@mellanox.com> - Daria Genzel <dariaz@mellanox.com> - Mark Bloch <markb@mellanox.com> Differential Revision: https://reviews.freebsd.org/D4163 Sponsored by: Mellanox Technologies
OpenPOWER on IntegriCloud