Re: svn commit: r304436 - in head: . sys/netinet

2016-08-18 Thread Marko Zec
) > +++ head/UPDATING Thu Aug 18 22:59:05 2016(r304436) > @@ -32,6 +32,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12 > "ln -s 'abort:false,junk:false' /etc/malloc.conf".) > > 20160818: > + The UDP receive code has been updated to only treat inc

svn commit: r304447 - head/sys/dev/hyperv/netvsc

2016-08-18 Thread Sepherosa Ziehau
Author: sephe Date: Fri Aug 19 05:43:28 2016 New Revision: 304447 URL: https://svnweb.freebsd.org/changeset/base/304447 Log: hyperv/hn: Move RXBUF to hn_softc And don't recreate RXBUF for each primary channel open, it is now created in device_attach DEVMETHOD and destroyed in

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Warner Losh
> On Aug 18, 2016, at 11:21 PM, Nathan Whitehorn wrote: > > > > On 08/18/16 21:15, Warner Losh wrote: >> On Thu, Aug 18, 2016 at 6:56 AM, Allan Jude wrote: >>> On 08/18/16 05:50 AM, Dag-Erling Smørgrav wrote: Nathan Whitehorn

svn commit: r304446 - head/sys/dev/hyperv/netvsc

2016-08-18 Thread Sepherosa Ziehau
Author: sephe Date: Fri Aug 19 05:30:39 2016 New Revision: 304446 URL: https://svnweb.freebsd.org/changeset/base/304446 Log: hyperv/hn: Remove the useless num_channel MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7555 Modified:

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Nathan Whitehorn
On 08/18/16 21:15, Warner Losh wrote: On Thu, Aug 18, 2016 at 6:56 AM, Allan Jude wrote: On 08/18/16 05:50 AM, Dag-Erling Smørgrav wrote: Nathan Whitehorn writes: OK. In which configurations? My Dell servers, for instance, don't do this. How

svn commit: r304444 - head/sys/dev/hyperv/netvsc

2016-08-18 Thread Sepherosa Ziehau
Author: sephe Date: Fri Aug 19 05:20:12 2016 New Revision: 30 URL: https://svnweb.freebsd.org/changeset/base/30 Log: hyperv/hn: Remove assign-only struct field MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7554

svn commit: r304443 - head/sys/cam

2016-08-18 Thread Warner Losh
Author: imp Date: Fri Aug 19 04:30:29 2016 New Revision: 304443 URL: https://svnweb.freebsd.org/changeset/base/304443 Log: Improve the pattern matching so that internal *'s work, as well as [set] notation. This fixes pattern matching for recently added drives that would set the NCQ Trim

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Warner Losh
On Thu, Aug 18, 2016 at 6:56 AM, Allan Jude wrote: > On 08/18/16 05:50 AM, Dag-Erling Smørgrav wrote: >> Nathan Whitehorn writes: >>> OK. In which configurations? My Dell servers, for instance, don't do >>> this. How are they set up? What drivers

svn commit: r304441 - head/sys/dev/hyperv/netvsc

2016-08-18 Thread Sepherosa Ziehau
Author: sephe Date: Fri Aug 19 03:32:04 2016 New Revision: 304441 URL: https://svnweb.freebsd.org/changeset/base/304441 Log: hyperv/hn: Move NVS version to softc MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7553 Modified:

Re: svn commit: r304187 - in head: . share/man/man4 sys/conf sys/dev/mcd sys/modules sys/modules/mcd

2016-08-18 Thread Warner Losh
On Thu, Aug 18, 2016 at 12:50 AM, Julian Elischer wrote: > On 16/08/2016 4:54 AM, John Baldwin wrote: >> >> On Monday, August 15, 2016 08:38:02 PM John Baldwin wrote: >>> >>> Author: jhb >>> Date: Mon Aug 15 20:38:02 2016 >>> New Revision: 304187 >>> URL:

svn commit: r304440 - head/sys/kern

2016-08-18 Thread Mark Johnston
Author: markj Date: Fri Aug 19 01:27:24 2016 New Revision: 304440 URL: https://svnweb.freebsd.org/changeset/base/304440 Log: Correct a check for P2_PTRACE_FSTP in ptracestop(). MFC after:1 day Modified: head/sys/kern/kern_sig.c Modified: head/sys/kern/kern_sig.c

Re: svn commit: r304326 - head/sys/dev/usb/net

2016-08-18 Thread YongHyeon PYUN
On Thu, Aug 18, 2016 at 04:44:29PM +, Bjoern A. Zeeb wrote: > On 18 Aug 2016, at 5:07, Pyun YongHyeon wrote: > > >Author: yongari > >Date: Thu Aug 18 05:07:02 2016 > >New Revision: 304326 > >URL: https://svnweb.freebsd.org/changeset/base/304326 > > [...] > >+struct axge_frame_txhdr { >

svn commit: r304439 - head/sys/dev/usb/net

2016-08-18 Thread Pyun YongHyeon
Author: yongari Date: Fri Aug 19 00:50:32 2016 New Revision: 304439 URL: https://svnweb.freebsd.org/changeset/base/304439 Log: Fix build on big-endian systems. Reported by: bz Modified: head/sys/dev/usb/net/if_axgereg.h Modified: head/sys/dev/usb/net/if_axgereg.h

svn commit: r304438 - head/sbin/fsck_ffs

2016-08-18 Thread Kirk McKusick
Author: mckusick Date: Fri Aug 19 00:03:41 2016 New Revision: 304438 URL: https://svnweb.freebsd.org/changeset/base/304438 Log: Fsck_ufs was using an int rather than a ufs2_daddr_t to store the alternate superblock location when given in the -b option. When int is 32-bits, block numbers

svn commit: r304437 - head/sys/netinet

2016-08-18 Thread Ryan Stone
Author: rstone Date: Thu Aug 18 22:59:10 2016 New Revision: 304437 URL: https://svnweb.freebsd.org/changeset/base/304437 Log: Fix unlocked access to ifnet address list in_broadcast() was iterating over the ifnet address list without first taking an IF_ADDR_RLOCK. This could cause a

svn commit: r304435 - head/sys/netinet

2016-08-18 Thread Ryan Stone
Author: rstone Date: Thu Aug 18 22:59:00 2016 New Revision: 304435 URL: https://svnweb.freebsd.org/changeset/base/304435 Log: Don't iterate over the ifnet addr list in ip_output() For almost every packet that is transmitted through ip_output(), a call to in_broadcast() was made to decide

svn commit: r304436 - in head: . sys/netinet

2016-08-18 Thread Ryan Stone
== --- head/UPDATING Thu Aug 18 22:59:00 2016(r304435) +++ head/UPDATING Thu Aug 18 22:59:05 2016(r304436) @@ -32,6 +32,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12 "ln -s 'abort:false,junk:false' /etc/malloc.conf".)

svn commit: r304434 - releng/11.0/sys/dev/pci

2016-08-18 Thread Eric van Gyzen
Author: vangyzen Date: Thu Aug 18 22:01:52 2016 New Revision: 304434 URL: https://svnweb.freebsd.org/changeset/base/304434 Log: MFC r304433 PCIe HotPlug: Detect bridges that are not really HotPlug capable Some devices report that they have an MRL when they actually do not. Since

svn commit: r304433 - stable/11/sys/dev/pci

2016-08-18 Thread Eric van Gyzen
Author: vangyzen Date: Thu Aug 18 21:47:00 2016 New Revision: 304433 URL: https://svnweb.freebsd.org/changeset/base/304433 Log: MFC r304246 PCIe HotPlug: Detect bridges that are not really HotPlug capable Some devices report that they have an MRL when they actually do not. Since

Re: svn commit: r304176 - in head: include lib/libc/sys sys/compat/freebsd32 sys/kern

2016-08-18 Thread Jilles Tjoelker
On Thu, Aug 18, 2016 at 10:53:16AM +0300, Konstantin Belousov wrote: > On Wed, Aug 17, 2016 at 10:20:40PM +0200, Jilles Tjoelker wrote: > > On Mon, Aug 15, 2016 at 07:08:51PM +, Konstantin Belousov wrote: > > > /* ISO/IEC 9945-1: 1996 */ > > > #if __POSIX_VISIBLE >= 199506 || __XSI_VISIBLE >

svn commit: r304432 - releng/11.0/sys/netinet

2016-08-18 Thread Michael Tuexen
Author: tuexen Date: Thu Aug 18 19:18:40 2016 New Revision: 304432 URL: https://svnweb.freebsd.org/changeset/base/304432 Log: MFC r304428: Ensure that sctp_it_ctl.cur_it does not point to a free object (during a small time window). Thanks to Byron Campen for reporting the issue and

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Nathan Whitehorn
On 08/18/16 08:12, Dag-Erling Smørgrav wrote: Nathan Whitehorn writes: We have a mechanism (GEOM stripe size) for drivers to supply a default alignment to userland. If we think we can get that right, great. If we don't think we can get it right, the default system

svn commit: r304431 - head/cddl/contrib/opensolaris/cmd/dtrace

2016-08-18 Thread Mark Johnston
Author: markj Date: Thu Aug 18 17:27:58 2016 New Revision: 304431 URL: https://svnweb.freebsd.org/changeset/base/304431 Log: Add a SIGINFO handler for dtrace(1). Have it print the contents of aggregations, if any. Otherwise, one needs to kill the running script to view the collected

Re: svn commit: r304326 - head/sys/dev/usb/net

2016-08-18 Thread Bjoern A. Zeeb
On 18 Aug 2016, at 5:07, Pyun YongHyeon wrote: Author: yongari Date: Thu Aug 18 05:07:02 2016 New Revision: 304326 URL: https://svnweb.freebsd.org/changeset/base/304326 Log: Switch to TX header format rather than directly manipulating header structures. This simplifies mbuf copy operation

svn commit: r304430 - head/sys/dev/vt

2016-08-18 Thread Ed Maste
Author: emaste Date: Thu Aug 18 16:22:40 2016 New Revision: 304430 URL: https://svnweb.freebsd.org/changeset/base/304430 Log: vt: fix old keyboard release in CONS_SETKBD On the first switch we previously released the newly allocated keyboard instead of the old one. Keyboard state was

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Nathan Whitehorn
On 08/18/16 05:56, Allan Jude wrote: On 08/18/16 05:50 AM, Dag-Erling Smørgrav wrote: Nathan Whitehorn writes: OK. In which configurations? My Dell servers, for instance, don't do this. How are they set up? What drivers are being used? Is this something that affects

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Dag-Erling Smørgrav
Nathan Whitehorn writes: > We have a mechanism (GEOM stripe size) for drivers to supply a default > alignment to userland. If we think we can get that right, great. If we > don't think we can get it right, the default system policy in the > absence of real information from

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Nathan Whitehorn
On 08/18/16 02:50, Dag-Erling Smørgrav wrote: Nathan Whitehorn writes: OK. In which configurations? My Dell servers, for instance, don't do this. How are they set up? What drivers are being used? Is this something that affects passthrough disks, RAIDs, disk images?

svn commit: r304429 - in stable/11/sys: amd64/amd64 i386/i386 kern sys x86/x86

2016-08-18 Thread Eric Badger
Author: badger Date: Thu Aug 18 14:10:36 2016 New Revision: 304429 URL: https://svnweb.freebsd.org/changeset/base/304429 Log: MFC r302783: Add explicit detection of KVM hypervisor Set vm_guest to a new enum value (VM_GUEST_KVM) when kvm is detected and use vm_guest in

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Slawa Olhovchenkov
On Thu, Aug 18, 2016 at 08:56:55AM -0400, Allan Jude wrote: > A) If stripesize == 0, use some sane value like 4096 > > B) Some other combination that uses the reported stripe size, unless it > is 0, in which case it uses 4096 (or some other value controlled by a > different new sysctl) > > C)

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Allan Jude
On 08/18/16 05:50 AM, Dag-Erling Smørgrav wrote: > Nathan Whitehorn writes: >> OK. In which configurations? My Dell servers, for instance, don't do >> this. How are they set up? What drivers are being used? Is this >> something that affects passthrough disks, RAIDs, disk

svn commit: r304428 - stable/11/sys/netinet

2016-08-18 Thread Michael Tuexen
Author: tuexen Date: Thu Aug 18 12:51:26 2016 New Revision: 304428 URL: https://svnweb.freebsd.org/changeset/base/304428 Log: MFC r304146: Ensure that sctp_it_ctl.cur_it does not point to a free object (during a small time window). Thanks to Byron Campen for reporting the issue and

svn commit: r304426 - stable/11/sys/net

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 12:08:39 2016 New Revision: 304426 URL: https://svnweb.freebsd.org/changeset/base/304426 Log: MFC r303009: Negotiate/disable TXCSUM_IPV6 same as TXCSUM. Modified: stable/11/sys/net/if_bridge.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r304427 - stable/10/sys/net

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 12:09:20 2016 New Revision: 304427 URL: https://svnweb.freebsd.org/changeset/base/304427 Log: MFC r303009: Negotiate/disable TXCSUM_IPV6 same as TXCSUM. Modified: stable/10/sys/net/if_bridge.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r304425 - stable/10/usr.sbin/bhyve

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 11:56:07 2016 New Revision: 304425 URL: https://svnweb.freebsd.org/changeset/base/304425 Log: MFC r302504, r302666, r302668, r302932, r302933: Add emulation for Intel e1000 (e82545) network adapter. The code was successfully tested with FreeBSD, Linux,

svn commit: r304424 - stable/11/usr.sbin/bhyve

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 11:51:14 2016 New Revision: 304424 URL: https://svnweb.freebsd.org/changeset/base/304424 Log: MFC r302504, r302666, r302668, r302932, r302933: Add emulation for Intel e1000 (e82545) network adapter. The code was successfully tested with FreeBSD, Linux,

svn commit: r304422 - stable/11/usr.sbin/bhyve

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 11:49:16 2016 New Revision: 304422 URL: https://svnweb.freebsd.org/changeset/base/304422 Log: MFC r302459: Allow AHCI controller to support up to 32 arbitrary devices. While old syntax is still supported, new syntax looks like this: -s

svn commit: r304423 - stable/11/usr.sbin/bhyve

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 11:49:49 2016 New Revision: 304423 URL: https://svnweb.freebsd.org/changeset/base/304423 Log: MFC r302460: Add emulation for multiple (up to 16) MSI vectors for AHCI. It was useless before, but may improve performance now if multiple devices are configured

svn commit: r304421 - stable/10/usr.sbin/bhyve

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 11:45:46 2016 New Revision: 304421 URL: https://svnweb.freebsd.org/changeset/base/304421 Log: MFC r302460: Add emulation for multiple (up to 16) MSI vectors for AHCI. It was useless before, but may improve performance now if multiple devices are configured

svn commit: r304420 - stable/10/usr.sbin/bhyve

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 11:45:02 2016 New Revision: 304420 URL: https://svnweb.freebsd.org/changeset/base/304420 Log: MFC r302459: Allow AHCI controller to support up to 32 arbitrary devices. While old syntax is still supported, new syntax looks like this: -s

svn commit: r304419 - stable/11

2016-08-18 Thread Oleg Bulyzhin
Author: oleg Date: Thu Aug 18 11:41:58 2016 New Revision: 304419 URL: https://svnweb.freebsd.org/changeset/base/304419 Log: Fix directory properties missing in previous (r304415) commit. Modified: Directory Properties: stable/11/ (props changed)

svn commit: r304418 - stable/10/sys/dev/isp

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 11:39:30 2016 New Revision: 304418 URL: https://svnweb.freebsd.org/changeset/base/304418 Log: MFC r300296: Pass proper for 23xx arguments to isp_endcmd(). Modified: stable/10/sys/dev/isp/isp_freebsd.c Directory Properties: stable/10/ (props changed)

svn commit: r304417 - in stable/10/sys: cam cam/ctl dev/isp

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 11:38:47 2016 New Revision: 304417 URL: https://svnweb.freebsd.org/changeset/base/304417 Log: MFC r300293: Pass task management response information from CTL through CAM to isp(4), utilizing previously unused arg field of struct ccb_notify_acknowledge. This

svn commit: r304416 - stable/10/sys/dev/isp

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 11:37:38 2016 New Revision: 304416 URL: https://svnweb.freebsd.org/changeset/base/304416 Log: MFC r300222: Fix delaying requests to unknown virtual ports 2s after init. This code was originally implemented 7 years ago, but never really worked due to trivial

svn commit: r304415 - stable/11/sys/netpfil/ipfw

2016-08-18 Thread Oleg Bulyzhin
Author: oleg Date: Thu Aug 18 11:23:02 2016 New Revision: 304415 URL: https://svnweb.freebsd.org/changeset/base/304415 Log: MFC r304154 Fix command: ipfw set (enable|disable) N (where N > 4). Modified: stable/11/sys/netpfil/ipfw/ip_fw_sockopt.c Modified:

svn commit: r304414 - stable/10/sys/dev/ahci

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 11:17:36 2016 New Revision: 304414 URL: https://svnweb.freebsd.org/changeset/base/304414 Log: MFC r302947: In AHCI_IRQ_MODE_AFTER mode do not clear interrupts below. This is probably a NOP change since IS register is not activery used for interrupts below the

svn commit: r304413 - stable/10/sys/dev/ahci

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 11:17:01 2016 New Revision: 304413 URL: https://svnweb.freebsd.org/changeset/base/304413 Log: MFC r302946: Do not consider the last interrupt shared if there are enough interrupts for all channels. Modified: stable/10/sys/dev/ahci/ahci.c Directory Properties:

svn commit: r304412 - stable/11/sys/dev/ahci

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 11:15:35 2016 New Revision: 304412 URL: https://svnweb.freebsd.org/changeset/base/304412 Log: MFC r302947: In AHCI_IRQ_MODE_AFTER mode do not clear interrupts below. This is probably a NOP change since IS register is not activery used for interrupts below the

svn commit: r304411 - stable/11/sys/dev/ahci

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 11:14:57 2016 New Revision: 304411 URL: https://svnweb.freebsd.org/changeset/base/304411 Log: MFC r302946: Do not consider the last interrupt shared if there are enough interrupts for all channels. Modified: stable/11/sys/dev/ahci/ahci.c Directory Properties:

svn commit: r304410 - stable/10/sys/dev/ntb/ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 11:09:43 2016 New Revision: 304410 URL: https://svnweb.freebsd.org/changeset/base/304410 Log: MFC r303561: Wrap previous MSIX workaround into #ifndef EARLY_AP_STARTUP. With EARLY_AP_STARTUP we can successfully negotiate MSIX earlier. Modified:

svn commit: r304409 - stable/10/sys/dev/ntb/ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 11:03:21 2016 New Revision: 304409 URL: https://svnweb.freebsd.org/changeset/base/304409 Log: MFC r303554: Block MSIX negotiation until SMP started and IRQ reshuffled. Modified: stable/10/sys/dev/ntb/ntb_hw/ntb_hw.c Directory Properties: stable/10/ (props

svn commit: r304408 - stable/10/sys/dev/ntb/if_ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 11:02:42 2016 New Revision: 304408 URL: https://svnweb.freebsd.org/changeset/base/304408 Log: MFC r303553: Make MAC address generation more random. 'ticks' approach does not work at boot time. Modified: stable/10/sys/dev/ntb/if_ntb/if_ntb.c Directory

svn commit: r304406 - stable/10/sys/dev/ntb/ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 11:01:26 2016 New Revision: 304406 URL: https://svnweb.freebsd.org/changeset/base/304406 Log: MFC r303510: Clear scratchpad after MSIX negotiation to not leak garbage. Modified: stable/10/sys/dev/ntb/ntb_hw/ntb_hw.c Directory Properties: stable/10/ (props

svn commit: r304407 - stable/10/sys/dev/ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 11:02:01 2016 New Revision: 304407 URL: https://svnweb.freebsd.org/changeset/base/304407 Log: MFC r303514: Fix NTBT_QP_LINKS negotiation. I believe it never worked correctly for more the one queue even in Linux. This fixes case when one of consumer drivers is

svn commit: r304405 - in stable/10: share/man/man4 sys/dev/ntb sys/dev/ntb/if_ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 11:00:48 2016 New Revision: 304405 URL: https://svnweb.freebsd.org/changeset/base/304405 Log: MFC r303494: Once more refactor KPI between ntb_transport(4) and if_ntb(4). New design allows to attach multiple consumers to ntb_transport(4) instance. Previous

svn commit: r304404 - in stable/10: share/man/man4 sys/dev/ntb sys/dev/ntb/ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:59:12 2016 New Revision: 304404 URL: https://svnweb.freebsd.org/changeset/base/304404 Log: MFC r303429, r303437, r303551: Once more refactor KPI between NTB hardware and consumers. New design allows hardware resources to be split between several consumers.

svn commit: r304403 - stable/10/share/man/man4

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:57:18 2016 New Revision: 304403 URL: https://svnweb.freebsd.org/changeset/base/304403 Log: MFC r302520: Replace NTB man page with more detailed and up to date. Sponsored by: iXsystems, Inc. Added: stable/10/share/man/man4/if_ntb.4 - copied

svn commit: r304402 - in head: . sys/compat/freebsd32 sys/kern sys/sys

2016-08-18 Thread George V. Neville-Neil
2016(r304401) +++ head/UPDATING Thu Aug 18 10:54:39 2016(r304402) @@ -31,6 +31,10 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12 disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20160818: +

svn commit: r304401 - stable/10/sys/dev/ntb/ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:54:21 2016 New Revision: 304401 URL: https://svnweb.freebsd.org/changeset/base/304401 Log: MFC r303266: Postpone ntb_get_msix_info() till we need to negotiate MSIX. Calling it earlier increases the window when MSIX info may change. This change does not

svn commit: r304400 - in stable/10/sys/dev/ntb: . ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:53:44 2016 New Revision: 304400 URL: https://svnweb.freebsd.org/changeset/base/304400 Log: MFC r302622 (by sephe): ntb: Fix LINT Modified: stable/10/sys/dev/ntb/ntb_hw/ntb_hw.c stable/10/sys/dev/ntb/ntb_transport.c Directory Properties: stable/10/ (props

svn commit: r304399 - stable/10/sys/dev/ntb/ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:53:03 2016 New Revision: 304399 URL: https://svnweb.freebsd.org/changeset/base/304399 Log: MFC r302531: Revert odd change, setting limit registers before base. I don't know what errata is mentioned there, I was unable to find it, but setting limit before

svn commit: r304398 - stable/10/sys/dev/ntb/ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:52:29 2016 New Revision: 304398 URL: https://svnweb.freebsd.org/changeset/base/304398 Log: MFC r302530: Fix wrong copy/paste in r302510. Modified: stable/10/sys/dev/ntb/ntb_hw/ntb_hw.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r304397 - stable/10/sys/dev/ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:51:53 2016 New Revision: 304397 URL: https://svnweb.freebsd.org/changeset/base/304397 Log: MFC r302529: Remove callout_reset(link_work) from ntb_transport_attach(). At that point link is quite likely not established yet, so messing with scratch registers

svn commit: r304396 - stable/10/sys/dev/ntb/ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:51:18 2016 New Revision: 304396 URL: https://svnweb.freebsd.org/changeset/base/304396 Log: MFC r302510: Simplify MSIX MW BAR xlat setup, and don't forget to unlock its limit. The last fixes SB01BASE_LOCKUP workaround after driver reload. Modified:

svn commit: r304394 - stable/10/sys/dev/ntb/ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:50:27 2016 New Revision: 304394 URL: https://svnweb.freebsd.org/changeset/base/304394 Log: MFC r302508: Disable SB01BASE_LOCKUP workaround when split BARs disabled. For some reason hack with sending MSI-X interrupts by writing to remote LAPIC memory works

svn commit: r304395 - in head: lib/libc/aarch64/sys lib/libc/amd64/sys lib/libc/arm/sys lib/libc/i386/sys lib/libc/mips/sys lib/libc/powerpc/sys lib/libc/powerpc64/sys lib/libc/riscv/sys lib/libc/s...

2016-08-18 Thread George V. Neville-Neil
Author: gnn Date: Thu Aug 18 10:50:40 2016 New Revision: 304395 URL: https://svnweb.freebsd.org/changeset/base/304395 Log: Remove unusedd and obsolete openbsd_poll system call. (Phase 1) Reported by: brooks Reviewed by: brooks,jhb Differential Revision:

svn commit: r304393 - stable/10/sys/dev/ntb/if_ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:47:22 2016 New Revision: 304393 URL: https://svnweb.freebsd.org/changeset/base/304393 Log: Direct commit to stable/10 to fix build without newer interface KPIs. Modified: stable/10/sys/dev/ntb/if_ntb/if_ntb.c Modified: stable/10/sys/dev/ntb/if_ntb/if_ntb.c

svn commit: r304392 - stable/10/sys/dev/ntb/if_ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:46:29 2016 New Revision: 304392 URL: https://svnweb.freebsd.org/changeset/base/304392 Log: MFC r302499: Improve checksum "offload" support. For compatibility reasons make driver not report any checksum offload by default, since there is indeed none. But

svn commit: r304391 - stable/10/sys/dev/ntb/if_ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:45:53 2016 New Revision: 304391 URL: https://svnweb.freebsd.org/changeset/base/304391 Log: MFC r302496: Rewrite if_ntb to use modern interface KPIs and features. It includes: link state, if_transmit, buf_ring, multiple queues, bpf, etc. Sponsored by:

svn commit: r304390 - in stable/10/sys/dev/ntb: . if_ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:45:15 2016 New Revision: 304390 URL: https://svnweb.freebsd.org/changeset/base/304390 Log: MFC r302495: Improve memory allocation errors handling on receive. Modified: stable/10/sys/dev/ntb/if_ntb/if_ntb.c stable/10/sys/dev/ntb/ntb_transport.c Directory

svn commit: r304389 - in stable/10/sys/dev/ntb: . if_ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:44:35 2016 New Revision: 304389 URL: https://svnweb.freebsd.org/changeset/base/304389 Log: MFC r302494: Synchronize MTU code with Linux. It is mandatory for transport compatibility. Modified: stable/10/sys/dev/ntb/if_ntb/if_ntb.c

svn commit: r304388 - in stable/10/sys/dev/ntb: . ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:43:59 2016 New Revision: 304388 URL: https://svnweb.freebsd.org/changeset/base/304388 Log: MFC r302493: Reimplement doorbell register emulation for NTB_SB01BASE_LOCKUP. This allows at least first three doorbells to work very close to normal hardware,

svn commit: r304387 - stable/10/sys/dev/ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:43:23 2016 New Revision: 304387 URL: https://svnweb.freebsd.org/changeset/base/304387 Log: MFC r302492: Bring some more order into link and qp state handling. Do not touch scratchpad registers until link is reported up. Mask and do not handle doorbell

svn commit: r304386 - stable/10/sys/dev/ntb/ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:42:48 2016 New Revision: 304386 URL: https://svnweb.freebsd.org/changeset/base/304386 Log: MFC r302491: Switch ctx_lock from mutex to rmlock. It is odd idea to serialize different MSI-X vectors. Use of rmlocks here allows them to execute in parallel, but

svn commit: r304385 - stable/10/sys/dev/ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:42:12 2016 New Revision: 304385 URL: https://svnweb.freebsd.org/changeset/base/304385 Log: MFC r302490: Create separate RX taskqueue for each qp. Modified: stable/10/sys/dev/ntb/ntb_transport.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r304384 - stable/10/sys/dev/ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:41:34 2016 New Revision: 304384 URL: https://svnweb.freebsd.org/changeset/base/304384 Log: MFC r302489: Remove rx_completion_task taskqueue. It is not needed after RX lock removed in previous commit. Modified: stable/10/sys/dev/ntb/ntb_transport.c

svn commit: r304383 - stable/10/sys/dev/ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:40:59 2016 New Revision: 304383 URL: https://svnweb.freebsd.org/changeset/base/304383 Log: MFC r302488: Remove unneeded RX lock, and make TX lock per-qp. Modified: stable/10/sys/dev/ntb/ntb_transport.c Directory Properties: stable/10/ (props changed)

svn commit: r304382 - stable/10/sys/dev/ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:40:18 2016 New Revision: 304382 URL: https://svnweb.freebsd.org/changeset/base/304382 Log: MFC r302487: Reduce code divergence from Linux, preparing for DMA support. Modified: stable/10/sys/dev/ntb/ntb_transport.c Directory Properties: stable/10/ (props

svn commit: r304381 - stable/10/sys/dev/ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:39:42 2016 New Revision: 304381 URL: https://svnweb.freebsd.org/changeset/base/304381 Log: MFC r302486: Fix operation with multiple qps. Modified: stable/10/sys/dev/ntb/ntb_transport.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r304380 - in stable/10/sys: conf dev/ntb dev/ntb/if_ntb dev/ntb/ntb_hw modules/ntb modules/ntb/ntb modules/ntb/ntb_hw modules/ntb/ntb_transport

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:39:00 2016 New Revision: 304380 URL: https://svnweb.freebsd.org/changeset/base/304380 Log: MFC r302484: NewBus'ify NTB subsystem. This follows NTB subsystem modularization in Linux, tuning it to FreeBSD native NewBus interfaces. This change allows to

svn commit: r304379 - stable/11/usr.bin/calendar/calendars/ru_RU.UTF-8

2016-08-18 Thread Andrey A. Chernov
Author: ache Date: Thu Aug 18 10:37:20 2016 New Revision: 304379 URL: https://svnweb.freebsd.org/changeset/base/304379 Log: MFC r304374 Fix TAB replaced with spaces in prev. commit. Modified: stable/11/usr.bin/calendar/calendars/ru_RU.UTF-8/calendar.pagan Directory Properties:

svn commit: r304378 - head/sys/netpfil/ipfw/nat64

2016-08-18 Thread Bjoern A. Zeeb
Author: bz Date: Thu Aug 18 10:26:15 2016 New Revision: 304378 URL: https://svnweb.freebsd.org/changeset/base/304378 Log: Try to fix gcc compilation errors (which are right). nat64_getlasthdr() returns an int, which can be -1 in case of error, storing the result in an uint8_t and then

svn commit: r304377 - stable/10/sys/dev/ntb/ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:25:07 2016 New Revision: 304377 URL: https://svnweb.freebsd.org/changeset/base/304377 Log: MFC r302483: Remove some dead code found by Clang static analyzer. Modified: stable/10/sys/dev/ntb/ntb_hw/ntb_hw.c Directory Properties: stable/10/ (props changed)

svn commit: r304376 - stable/10/sys/dev/ntb/ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:24:31 2016 New Revision: 304376 URL: https://svnweb.freebsd.org/changeset/base/304376 Log: MFC r302482: Fix NTB_SDOORBELL_LOCKUP workaround. Since SBARxSZ register can be write-once, it can be unusable for disabling the SBAR. For such case also set

svn commit: r304375 - stable/10/sys/dev/ntb/if_ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 10:23:51 2016 New Revision: 304375 URL: https://svnweb.freebsd.org/changeset/base/304375 Log: MFC r302014: Fix if_ntb interface setup to include IFF_MULTICAST. This allows IPv6 link local addresses (and other IPv6 functionality) to work. Modified:

svn commit: r304374 - head/usr.bin/calendar/calendars/ru_RU.UTF-8

2016-08-18 Thread Andrey A. Chernov
Author: ache Date: Thu Aug 18 10:18:11 2016 New Revision: 304374 URL: https://svnweb.freebsd.org/changeset/base/304374 Log: Fix TAB replaced with spaces in prev. commit. Modified: head/usr.bin/calendar/calendars/ru_RU.UTF-8/calendar.pagan Modified:

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Dag-Erling Smørgrav
Nathan Whitehorn writes: > OK. In which configurations? My Dell servers, for instance, don't do > this. How are they set up? What drivers are being used? Is this > something that affects passthrough disks, RAIDs, disk images? Most LSI MegaRAID controllers don't have real

svn commit: r304373 - stable/11/sys/dev/ntb/ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 09:39:45 2016 New Revision: 304373 URL: https://svnweb.freebsd.org/changeset/base/304373 Log: MFC r303554, r303561: Block MSIX negotiation until SMP started and IRQ reshuffled. Modified: stable/11/sys/dev/ntb/ntb_hw/ntb_hw.c Directory Properties: stable/11/

svn commit: r304371 - stable/11/sys/dev/ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 09:37:27 2016 New Revision: 304371 URL: https://svnweb.freebsd.org/changeset/base/304371 Log: MFC r303551: Fix infinite loops introduced at r303429. Modified: stable/11/sys/dev/ntb/ntb.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r304372 - stable/11/sys/dev/ntb/if_ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 09:38:01 2016 New Revision: 304372 URL: https://svnweb.freebsd.org/changeset/base/304372 Log: MFC r303553: Make MAC address generation more random. 'ticks' approach does not work at boot time. Modified: stable/11/sys/dev/ntb/if_ntb/if_ntb.c Directory

svn commit: r304370 - stable/11/sys/dev/ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 09:36:45 2016 New Revision: 304370 URL: https://svnweb.freebsd.org/changeset/base/304370 Log: MFC r303514: Fix NTBT_QP_LINKS negotiation. I believe it never worked correctly for more the one queue even in Linux. This fixes case when one of consumer drivers is

svn commit: r304369 - stable/11/sys/dev/ntb/ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 09:36:06 2016 New Revision: 304369 URL: https://svnweb.freebsd.org/changeset/base/304369 Log: MFC r303510: Clear scratchpad after MSIX negotiation to not leak garbage. Modified: stable/11/sys/dev/ntb/ntb_hw/ntb_hw.c Directory Properties: stable/11/ (props

svn commit: r304368 - in stable/11: share/man/man4 sys/dev/ntb sys/dev/ntb/if_ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 09:35:31 2016 New Revision: 304368 URL: https://svnweb.freebsd.org/changeset/base/304368 Log: MFC r303494: Once more refactor KPI between ntb_transport(4) and if_ntb(4). New design allows to attach multiple consumers to ntb_transport(4) instance. Previous

svn commit: r304367 - in stable/11: share/man/man4 sys/dev/ntb sys/dev/ntb/ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 09:34:39 2016 New Revision: 304367 URL: https://svnweb.freebsd.org/changeset/base/304367 Log: MFC r303429, r303437: Once more refactor KPI between NTB hardware and consumers. New design allows hardware resources to be split between several consumers. For

svn commit: r304366 - stable/11/share/man/man4

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 09:33:22 2016 New Revision: 304366 URL: https://svnweb.freebsd.org/changeset/base/304366 Log: MFC r302520: Replace NTB man page with more detailed and up to date. Sponsored by: iXsystems, Inc. Added: stable/11/share/man/man4/if_ntb.4 - copied

svn commit: r304365 - stable/11/sys/dev/ntb/ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 09:30:55 2016 New Revision: 304365 URL: https://svnweb.freebsd.org/changeset/base/304365 Log: MFC r303266: Postpone ntb_get_msix_info() till we need to negotiate MSIX. Calling it earlier increases the window when MSIX info may change. This change does not

svn commit: r304364 - in stable/11/sys/dev/ntb: . ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 09:30:21 2016 New Revision: 304364 URL: https://svnweb.freebsd.org/changeset/base/304364 Log: MFC r302622 (by sephe): ntb: Fix LINT Modified: stable/11/sys/dev/ntb/ntb_hw/ntb_hw.c stable/11/sys/dev/ntb/ntb_transport.c Directory Properties: stable/11/ (props

svn commit: r304363 - stable/11/sys/dev/ntb/ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 09:29:35 2016 New Revision: 304363 URL: https://svnweb.freebsd.org/changeset/base/304363 Log: MFC r302531: Revert odd change, setting limit registers before base. I don't know what errata is mentioned there, I was unable to find it, but setting limit before

svn commit: r304362 - stable/11/sys/dev/ntb

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 09:28:59 2016 New Revision: 304362 URL: https://svnweb.freebsd.org/changeset/base/304362 Log: MFC r302529: Remove callout_reset(link_work) from ntb_transport_attach(). At that point link is quite likely not established yet, so messing with scratch registers

svn commit: r304361 - stable/11/sys/dev/ntb/ntb_hw

2016-08-18 Thread Alexander Motin
Author: mav Date: Thu Aug 18 09:28:26 2016 New Revision: 304361 URL: https://svnweb.freebsd.org/changeset/base/304361 Log: MFC r302530: Fix wrong copy/paste in r302510. Modified: stable/11/sys/dev/ntb/ntb_hw/ntb_hw.c Directory Properties: stable/11/ (props changed) Modified:

  1   2   >