| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
While there, simplify the wait logic.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Handle unsupported commands as not conflicting/blocking.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Fix dumpon compatibility with dumpdev kenv
Sponsored by: Multiplay
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Fix tmpfs(5) '/tmp' mount point.
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Don't truncate an interface name when -W option is specified.
|
|
|
|
|
| |
Correct the number of DTLB entries reported for the CPUID Leaf 2
descriptor 0x6c.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Replace SRCTOP with the relevant path via .CURDIR
Pointyhat to: ngie
Sponsored by: EMC / Isilon Storage Division
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Document loader(8) dumpdev option
Sponsored by: Multiplay
|
|
|
|
|
|
|
|
| |
r258245 (by eadler):
Add missing include files for the printf_l and scanf_l man pages.
Reported by: swildner@dragonflybsd.org
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Add support for ARM EABI. Note it is not a direct MFC because some macros
are not defined in this branch.
|
|
|
|
|
|
| |
Add support for Kana and Eisu keys to the USB keyboard driver.
PR: 204709
|
|
|
|
|
|
| |
Fix scancodes for Kana and Eisu keys.
PR: 204709
|
|
|
|
|
|
|
| |
Relax the BUS_DMA_KEEP_PG_OFFSET requirement to allow optimising
allocation of DMA bounce buffers.
Discussed with: ian @
|
|
|
|
|
|
| |
Update to the shared code for Intel I40E drivers (by jfv)
Sponsored by: Multiplay
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
xen: allow disabling PV disks and nics
Sponsored by: Citrix Systems R&D
|
|
|
|
|
|
|
| |
Add missing privilege check when setting the dump device.
Approved by: pjd, secteam (both no objections)
Sponsored by: Multiplay
|
|
|
|
|
|
| |
nvd, nvme: report stripesize through GEOM disk layer
Sponsored by: Intel
|
|
|
|
|
|
| |
nvme: fix race condition in split bio completion path
Sponsored by: Intel
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Fix endless recursion in ti(4)'s ti_ifmedia_upd(), found by clang 3.7.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|