svn commit: r325632 - in head: . rescue/rescue sbin/ipf/ipf

2017-11-09 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 07:52:58 2017 New Revision: 325632 URL: https://svnweb.freebsd.org/changeset/base/325632 Log: rescue ipf: Remove hacks and link in libipf directly. Sponsored by: Dell EMC Isilon Modified: head/Makefile.inc1 head/rescue/rescue/Makefile

svn commit: r325633 - in head: rescue/rescue tools/bsdbox

2017-11-09 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 07:53:02 2017 New Revision: 325633 URL: https://svnweb.freebsd.org/changeset/base/325633 Log: Avoid referencing private lib names directly. Sponsored by: Dell EMC Isilon Modified: head/rescue/rescue/Makefile head/tools/bsdbox/Makefile Modified:

svn commit: r325631 - head/share/mk

2017-11-09 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 07:52:46 2017 New Revision: 325631 URL: https://svnweb.freebsd.org/changeset/base/325631 Log: Add support for CRUNCH_LIBS_ for specifying a lib only for 1 prog. Sponsored by: Dell EMC Isilon Modified: head/share/mk/bsd.crunchgen.mk Modified:

svn commit: r325630 - in head/sys/dev/usb: . quirk

2017-11-09 Thread Hans Petter Selasky
Author: hselasky Date: Fri Nov 10 07:44:57 2017 New Revision: 325630 URL: https://svnweb.freebsd.org/changeset/base/325630 Log: Add new USB quirk. Submitted by: Kris G Sponsored by: Mellanox Technologies MFC after:1 week Modified:

Re: svn commit: r325625 - head/sys/sys

2017-11-09 Thread Bruce Evans
On Fri, 10 Nov 2017, Conrad Meyer wrote: Log: systm.h: Include cdefs.h first Ever since r143063, machine/atomic.h requires cdefs.h. So, include it first. Weak support: style(9) tells us to include cdefs.h first. This just moves a style bug. The existing include of sys/cdefs.h was

svn commit: r325629 - head/sys/powerpc/booke

2017-11-09 Thread Justin Hibbits
Author: jhibbits Date: Fri Nov 10 04:23:58 2017 New Revision: 325629 URL: https://svnweb.freebsd.org/changeset/base/325629 Log: Properly initialize the full md_page structure Modified: head/sys/powerpc/booke/pmap.c Modified: head/sys/powerpc/booke/pmap.c

svn commit: r325628 - head/sys/powerpc/booke

2017-11-09 Thread Justin Hibbits
Author: jhibbits Date: Fri Nov 10 04:14:48 2017 New Revision: 325628 URL: https://svnweb.freebsd.org/changeset/base/325628 Log: Book-E pmap_mapdev_attr() improvements * Check TLB1 in all mapdev cases, in case the memattr matches an existing mapping (doesn't need to be MAP_DEFAULT). *

svn commit: r325627 - head

2017-11-09 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 02:09:37 2017 New Revision: 325627 URL: https://svnweb.freebsd.org/changeset/base/325627 Log: Deal with src.conf for top-level MAKEOBJDIRPREFIX guard. - Don't discard SRCCONF value since it may incorrectly have MAKEOBJDIRPREFIX in it. - Add note

svn commit: r325626 - in head: . share/mk

2017-11-09 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 02:09:33 2017 New Revision: 325626 URL: https://svnweb.freebsd.org/changeset/base/325626 Log: Handle some .OBJDIR == .CURDIR cases. - If OBJROOT is SRCTOP then don't add on TARGET.TARGET_ARCH. This only happens at the top-level, and for

svn commit: r325625 - head/sys/sys

2017-11-09 Thread Conrad Meyer
Author: cem Date: Fri Nov 10 02:00:40 2017 New Revision: 325625 URL: https://svnweb.freebsd.org/changeset/base/325625 Log: systm.h: Include cdefs.h first Ever since r143063, machine/atomic.h requires cdefs.h. So, include it first. Weak support: style(9) tells us to include cdefs.h

svn commit: r325624 - head/libexec/rtld-elf/mips

2017-11-09 Thread John Baldwin
Author: jhb Date: Fri Nov 10 01:17:26 2017 New Revision: 325624 URL: https://svnweb.freebsd.org/changeset/base/325624 Log: Some fixups to the CFI directives for PLT stub entry points. The directives I added in r323466 and r323501 did not define a valid CFA until several instructions into

svn commit: r325623 - head/libexec/rtld-elf/mips

2017-11-09 Thread John Baldwin
Author: jhb Date: Fri Nov 10 01:13:45 2017 New Revision: 325623 URL: https://svnweb.freebsd.org/changeset/base/325623 Log: Use NESTED() instead of LEAF() for rtld_start. This is only cosmetic, but the entry point for rtld is not a leaf function, and this avoids two .frame directives for

svn commit: r325622 - head/share/man/man9

2017-11-09 Thread Matt Joras
Author: mjoras Date: Thu Nov 9 23:36:10 2017 New Revision: 325622 URL: https://svnweb.freebsd.org/changeset/base/325622 Log: Correct mistake in manpage. Reported by: pluknet Approved by: rstone (mentor) MFC with: r325621 Pointy hat to: mjoras Modified:

svn commit: r325621 - in head: share/man/man9 sys/kern sys/sys

2017-11-09 Thread Matt Joras
Author: mjoras Date: Thu Nov 9 22:51:48 2017 New Revision: 325621 URL: https://svnweb.freebsd.org/changeset/base/325621 Log: Introduce EVENTHANDLER_LIST and some users. This introduces a facility to EVENTHANDLER(9) for explicitly defining a reference to an event handler list. This is

svn commit: r325620 - head/sys/dev/bnxt

2017-11-09 Thread Sean Bruno
Author: sbruno Date: Thu Nov 9 22:26:49 2017 New Revision: 325620 URL: https://svnweb.freebsd.org/changeset/base/325620 Log: Fix issue with VXLAN-ecapsulated rx h/w checksumming. Submitted by: grehan Reviewed by: bhargava.marre...@broadcom.com Differential Revision:

svn commit: r325619 - head/share/mk

2017-11-09 Thread Bryan Drewery
Author: bdrewery Date: Thu Nov 9 22:08:07 2017 New Revision: 325619 URL: https://svnweb.freebsd.org/changeset/base/325619 Log: Mark targets .PHONY. This avoids the obvious of not running the target when expected, but also avoids META_MODE from showing 'Building'. This is mostly only

svn commit: r325618 - in stable/11: share/man/man4 sys/conf sys/contrib/dev/liquidio sys/dev/ixgbe sys/dev/liquidio sys/dev/liquidio/base sys/modules sys/modules/lio

2017-11-09 Thread Sean Bruno
Author: sbruno Date: Thu Nov 9 19:52:56 2017 New Revision: 325618 URL: https://svnweb.freebsd.org/changeset/base/325618 Log: Merge r323509 and r324994 adding Cavium LiquidIO Driver (lio) to stable/11. Submitted by: pkannega...@cavium.com ((Prasad V Kanneganti) Sponsored by: Cavium

svn commit: r325617 - stable/10/sys/ofed/drivers/infiniband/core

2017-11-09 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 9 19:46:40 2017 New Revision: 325617 URL: https://svnweb.freebsd.org/changeset/base/325617 Log: Remove the now obsolete "unify_tcp_port_space" ibcore module parameter. Missed as part of the MFC of r324792 in r325611. This is a direct commit. Sponsored

svn commit: r325616 - head/sys/ofed/drivers/infiniband/core

2017-11-09 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 9 19:30:10 2017 New Revision: 325616 URL: https://svnweb.freebsd.org/changeset/base/325616 Log: Make sure sin_zero is zero in ibcore. Else socket address maching using bcmp() might fail. Sponsored by: Mellanox Technologies MFC after:1 week Modified:

svn commit: r325615 - head/sys/ofed/drivers/infiniband/core

2017-11-09 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 9 19:27:29 2017 New Revision: 325615 URL: https://svnweb.freebsd.org/changeset/base/325615 Log: Make sure the IPv6 scope ID gets zeroed when exchanging CMA messages in ibcore. Else the IPv6 address matching might fail. This change adds support for both

svn commit: r325614 - in head/sys/ofed: drivers/infiniband/core include/rdma

2017-11-09 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 9 19:22:43 2017 New Revision: 325614 URL: https://svnweb.freebsd.org/changeset/base/325614 Log: Multiple fixes for using IPv6 link-local addresses with RDMA in ibcore. 1) Fail to resolve RDMA address if rtalloc1() returns the loopback device, lo0, as the

svn commit: r325613 - stable/10/sys/ofed/include/linux

2017-11-09 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 9 19:15:28 2017 New Revision: 325613 URL: https://svnweb.freebsd.org/changeset/base/325613 Log: MFC r325278: Unconditionally include "opt_inet6.h" in the LinuxKPI. This makes sure the INET6 macro gets properly defined, also for kernel module builds.

svn commit: r325612 - stable/11/sys/compat/linuxkpi/common/include/linux

2017-11-09 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 9 19:08:30 2017 New Revision: 325612 URL: https://svnweb.freebsd.org/changeset/base/325612 Log: MFC r325278: Unconditionally include "opt_inet6.h" in the LinuxKPI. This makes sure the INET6 macro gets properly defined, also for kernel module builds.

svn commit: r325611 - in stable/10/sys: dev/cxgbe/iw_cxgbe dev/mlx5/mlx5_ib ofed/drivers/infiniband/core ofed/drivers/infiniband/hw/mlx4 ofed/drivers/infiniband/hw/mthca ofed/include/linux ofed/inc...

2017-11-09 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 9 19:00:11 2017 New Revision: 325611 URL: https://svnweb.freebsd.org/changeset/base/325611 Log: MFC r324792: The remote DMA TCP portspace selector, RDMA_PS_TCP, is used for both iWarp and RoCE in ibcore. The selection of RDMA_PS_TCP can not be used to

svn commit: r325610 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2017-11-09 Thread Andriy Gapon
Author: avg Date: Thu Nov 9 18:22:42 2017 New Revision: 325610 URL: https://svnweb.freebsd.org/changeset/base/325610 Log: MFV r325609: 7531 Assign correct flags to prefetched buffers illumos/illumos-gate@272952165423c254ad7708f1b3fe2ff0a6ce408b

svn commit: r325609 - in vendor-sys/illumos/dist/uts/common/fs/zfs: . sys

2017-11-09 Thread Andriy Gapon
Author: avg Date: Thu Nov 9 18:21:17 2017 New Revision: 325609 URL: https://svnweb.freebsd.org/changeset/base/325609 Log: 7531 Assign correct flags to prefetched buffers illumos/illumos-gate@272952165423c254ad7708f1b3fe2ff0a6ce408b

svn commit: r325608 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-11-09 Thread Andriy Gapon
Author: avg Date: Thu Nov 9 18:14:42 2017 New Revision: 325608 URL: https://svnweb.freebsd.org/changeset/base/325608 Log: MFV r325607: 8607 zfs: variable set but not used illumos/illumos-gate@b852c2f54326f8ac1daa372a88bfe951dd7e20ed

svn commit: r325607 - vendor-sys/illumos/dist/uts/common/fs/zfs

2017-11-09 Thread Andriy Gapon
Author: avg Date: Thu Nov 9 18:13:26 2017 New Revision: 325607 URL: https://svnweb.freebsd.org/changeset/base/325607 Log: 8607 zfs: variable set but not used illumos/illumos-gate@b852c2f54326f8ac1daa372a88bfe951dd7e20ed

svn commit: r325606 - head/sys/cddl/contrib/opensolaris/common/zfs

2017-11-09 Thread Andriy Gapon
Author: avg Date: Thu Nov 9 18:12:21 2017 New Revision: 325606 URL: https://svnweb.freebsd.org/changeset/base/325606 Log: MFV r325605: 8713 Buffer overflow in dsl_dataset_name() illumos/illumos-gate@f37ae9a714b97eca91c74c680c20c750c7cf5c02

svn commit: r325605 - vendor-sys/illumos/dist/common/zfs

2017-11-09 Thread Andriy Gapon
Author: avg Date: Thu Nov 9 18:06:18 2017 New Revision: 325605 URL: https://svnweb.freebsd.org/changeset/base/325605 Log: 8713 Buffer overflow in dsl_dataset_name() illumos/illumos-gate@f37ae9a714b97eca91c74c680c20c750c7cf5c02

svn commit: r325604 - in stable/11/sys: dev/cxgbe/iw_cxgbe dev/mlx5/mlx5_ib ofed/drivers/infiniband/core ofed/drivers/infiniband/hw/mlx4 ofed/drivers/infiniband/hw/mthca ofed/include/rdma

2017-11-09 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 9 17:58:57 2017 New Revision: 325604 URL: https://svnweb.freebsd.org/changeset/base/325604 Log: MFC r324792: The remote DMA TCP portspace selector, RDMA_PS_TCP, is used for both iWarp and RoCE in ibcore. The selection of RDMA_PS_TCP can not be used to

svn commit: r325602 - stable/10/sys/contrib/rdma/krping

2017-11-09 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 9 17:51:55 2017 New Revision: 325602 URL: https://svnweb.freebsd.org/changeset/base/325602 Log: MFC r324490: Add support for parsing and using IPv6 addresses in krping. Sponsored by: Mellanox Technologies Modified:

svn commit: r325603 - stable/11/sys/dev/mlx5/mlx5_ib

2017-11-09 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 9 17:54:00 2017 New Revision: 325603 URL: https://svnweb.freebsd.org/changeset/base/325603 Log: MFC r324491: Use common rdma_ip2gid() function instead of custom mlx5_ip2gid() one. Sponsored by: Mellanox Technologies Modified:

svn commit: r325601 - stable/11/sys/contrib/rdma/krping

2017-11-09 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 9 17:49:45 2017 New Revision: 325601 URL: https://svnweb.freebsd.org/changeset/base/325601 Log: MFC r324490: Add support for parsing and using IPv6 addresses in krping. Sponsored by: Mellanox Technologies Modified:

svn commit: r325600 - stable/11/sys/ofed/include/rdma

2017-11-09 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 9 17:47:33 2017 New Revision: 325600 URL: https://svnweb.freebsd.org/changeset/base/325600 Log: MFC r324492: Make sure the IPv6 scope ID gets zeroed inside the GID. Else searching for a valid GID entry based on IPv6 addresses can fail. Sponsored by:

svn commit: r325599 - stable/10/sys/dev/mlx5/mlx5_ib

2017-11-09 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 9 17:02:20 2017 New Revision: 325599 URL: https://svnweb.freebsd.org/changeset/base/325599 Log: Use MAC-based GID format for the GID table entries in mlx5ib(4) to be compatible with the ibcore module in FreeBSD 10-stable. This fixes RDMA over VLAN, because

svn commit: r325598 - in vendor/zstd/1.3.2: . contrib/gen_html contrib/pzstd contrib/pzstd/test contrib/pzstd/utils contrib/pzstd/utils/test contrib/seekable_format doc doc/educational_decoder lib ...

2017-11-09 Thread Baptiste Daroussin
Author: bapt Date: Thu Nov 9 15:43:15 2017 New Revision: 325598 URL: https://svnweb.freebsd.org/changeset/base/325598 Log: Tag import of zstd 1.3.2 Added: vendor/zstd/1.3.2/ - copied from r325595, vendor/zstd/dist/ vendor/zstd/1.3.2/COPYING - copied unchanged from r325597,

svn commit: r325597 - in vendor/zstd/dist: . contrib/gen_html contrib/pzstd contrib/pzstd/test contrib/pzstd/utils contrib/pzstd/utils/test contrib/seekable_format contrib/seekable_format/examples ...

2017-11-09 Thread Baptiste Daroussin
Author: bapt Date: Thu Nov 9 15:38:02 2017 New Revision: 325597 URL: https://svnweb.freebsd.org/changeset/base/325597 Log: import zstd 1.3.2 Added: vendor/zstd/dist/COPYING vendor/zstd/dist/contrib/seekable_format/ vendor/zstd/dist/contrib/seekable_format/examples/

svn commit: r325596 - head/sys/dev/cxgbe/common

2017-11-09 Thread Navdeep Parhar
Author: np Date: Thu Nov 9 15:35:51 2017 New Revision: 325596 URL: https://svnweb.freebsd.org/changeset/base/325596 Log: cxgbe(4): Do not request settings not supported by the port. MFC after:1 week Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/common/t4_hw.c

Re: svn commit: r325422 - head/lib/libc/sys

2017-11-09 Thread Warner Losh
On Thu, Nov 9, 2017 at 8:08 AM, Baptiste Daroussin wrote: > On Sun, Nov 05, 2017 at 03:02:19AM +, Ed Maste wrote: > > Author: emaste > > Date: Sun Nov 5 03:02:19 2017 > > New Revision: 325422 > > URL: https://svnweb.freebsd.org/changeset/base/325422 > > > > Log: > >

Re: svn commit: r325422 - head/lib/libc/sys

2017-11-09 Thread Baptiste Daroussin
On Thu, Nov 09, 2017 at 04:08:13PM +0100, Baptiste Daroussin wrote: > On Sun, Nov 05, 2017 at 03:02:19AM +, Ed Maste wrote: > > Author: emaste > > Date: Sun Nov 5 03:02:19 2017 > > New Revision: 325422 > > URL: https://svnweb.freebsd.org/changeset/base/325422 > > > > Log: > >

Re: svn commit: r325422 - head/lib/libc/sys

2017-11-09 Thread Baptiste Daroussin
On Sun, Nov 05, 2017 at 03:02:19AM +, Ed Maste wrote: > Author: emaste > Date: Sun Nov 5 03:02:19 2017 > New Revision: 325422 > URL: https://svnweb.freebsd.org/changeset/base/325422 > > Log: > posix_fallocate.2: add an EINVAL errno case > > As of r325320 posix_fallocate returns EINVAL

svn commit: r325595 - head/usr.sbin

2017-11-09 Thread Warner Losh
Author: imp Date: Thu Nov 9 14:31:25 2017 New Revision: 325595 URL: https://svnweb.freebsd.org/changeset/base/325595 Log: Remove useless .if. The whole point of SUBDIR.yes was so that we didn't need this construct. Sponsored by: Netflix Modified: head/usr.sbin/Makefile Modified:

svn commit: r325594 - head/sys/ddb

2017-11-09 Thread Gavin Atkinson
Author: gavin Date: Thu Nov 9 13:38:24 2017 New Revision: 325594 URL: https://svnweb.freebsd.org/changeset/base/325594 Log: Point people towards our https web site for documentation, http accesses are just redirected anyway. MFC after:1 week Modified: head/sys/ddb/db_command.c

svn commit: r325593 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 13:38:17 2017 New Revision: 325593 URL: https://svnweb.freebsd.org/changeset/base/325593 Log: Fix setting AENQ group in ENA driver With the current state of the AENQ handlers in the ENA driver, only implemented handlers should be indicated. Submitted by:

svn commit: r325592 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 13:36:42 2017 New Revision: 325592 URL: https://svnweb.freebsd.org/changeset/base/325592 Log: Allow usage of more RX descriptors than 1 in ENA driver Using only 1 descriptor on RX could be an issue, if system would be low on resources and could not provide

svn commit: r325591 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 13:35:07 2017 New Revision: 325591 URL: https://svnweb.freebsd.org/changeset/base/325591 Log: Read max MTU from the ENA device The device now provides driver with max available MTU value it can handle. The function setting MTU for the interface was

svn commit: r325590 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 13:33:02 2017 New Revision: 325590 URL: https://svnweb.freebsd.org/changeset/base/325590 Log: Fix calculating io queues number in ENA driver The maximum number of io_cq was the same number as maximum io_sq indicated by the device working in normal mode

svn commit: r325589 - in head/sys: contrib/ena-com dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 13:30:39 2017 New Revision: 325589 URL: https://svnweb.freebsd.org/changeset/base/325589 Log: Rework printouts and logging level in ENA driver The driver was printing out a lot of information upon failure, which does not have to be interested for the user.

svn commit: r325588 - head/sys/x86/iommu

2017-11-09 Thread Konstantin Belousov
Author: kib Date: Thu Nov 9 13:09:07 2017 New Revision: 325588 URL: https://svnweb.freebsd.org/changeset/base/325588 Log: Correct operators precedence. Also keep the calculated vm_page_alloc_contig() flags in the variable to not re-evaluate it on the loop iteration. Noted by: alc

svn commit: r325587 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 12:39:26 2017 New Revision: 325587 URL: https://svnweb.freebsd.org/changeset/base/325587 Log: Fix comparing L3 type with L4 enum on RX hash in ENA driver This bug wasn't impacting anything, because both enums are indicating the same value, but it could cause a

svn commit: r325586 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 12:37:19 2017 New Revision: 325586 URL: https://svnweb.freebsd.org/changeset/base/325586 Log: Fix compilation warnings when building ENA driver with gcc compiler The gcc compiler is more sensitive when variable is having an value assigned, but it is not used

svn commit: r325585 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 12:32:10 2017 New Revision: 325585 URL: https://svnweb.freebsd.org/changeset/base/325585 Log: Fix checking if the DF flag was set in ENA driver The previous way of checking for DF was not valid. When DF is enabled, the DF bit should be 1. The original way

svn commit: r325584 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 12:07:02 2017 New Revision: 325584 URL: https://svnweb.freebsd.org/changeset/base/325584 Log: Cleanup of the ENA driver header file Remove unused macros and fields - some of them were only initialized, without further usage. Implement minor style fixes

svn commit: r325583 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 12:03:06 2017 New Revision: 325583 URL: https://svnweb.freebsd.org/changeset/base/325583 Log: Allow partial MSI-x allocation in ENA driver The situation, where part of the MSI-x was not configured properly, was not properly handled. Now, the driver reduces

svn commit: r325582 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 12:01:46 2017 New Revision: 325582 URL: https://svnweb.freebsd.org/changeset/base/325582 Log: Remove deprecated and unused counters in ENA driver Few counters were imported from the Linux driver and never used, because of differences between the Linux and

svn commit: r325581 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 11:59:21 2017 New Revision: 325581 URL: https://svnweb.freebsd.org/changeset/base/325581 Log: Cover ENA driver code with branch predictioning statements The driver was using it in only few places, so the rest of the code was covered with those statement.

svn commit: r325580 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 11:57:02 2017 New Revision: 325580 URL: https://svnweb.freebsd.org/changeset/base/325580 Log: Refactor style of the ENA driver * Change all conditional checks in "if" statement to boolean expressions * Initialize variables with too complex values outside the

svn commit: r325579 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 11:54:32 2017 New Revision: 325579 URL: https://svnweb.freebsd.org/changeset/base/325579 Log: Fix error handling in the ENA driver and lock drbr_free() call Some goto tags were renamed for consistency, and few error handling routines were reworked. The

svn commit: r325578 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 11:52:52 2017 New Revision: 325578 URL: https://svnweb.freebsd.org/changeset/base/325578 Log: Destroy admin queue after freeing interrupts in ENA driver On heavy load, when interrupt handling routine was slowed down, there could appear memory corruption,

svn commit: r325577 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 11:50:52 2017 New Revision: 325577 URL: https://svnweb.freebsd.org/changeset/base/325577 Log: Split function checking for missing TX completion in ENA driver Pure cosmetic change for better readability of the driver. Submitted by: Michal Krawczyk

svn commit: r325576 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 11:48:22 2017 New Revision: 325576 URL: https://svnweb.freebsd.org/changeset/base/325576 Log: Check for Rx ring state to prevent from stall in the ENA driver In case when Rx ring is full and driver will fail to allocate Rx mbufs, the ring could be stalled.

svn commit: r325574 - head/sys/dev/ena

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 11:45:59 2017 New Revision: 325574 URL: https://svnweb.freebsd.org/changeset/base/325574 Log: Add RX OOO completion feature The RX out of order completion feature, allows to complete RX descriptors out of order, by keeping trace of all free descriptors in

svn commit: r325573 - vendor-sys/ena-com/1.1.4.4

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 11:39:08 2017 New Revision: 325573 URL: https://svnweb.freebsd.org/changeset/base/325573 Log: Create 1.1.4.4 tag in ena-com Obtained from: Amazon.com, Inc. Added: vendor-sys/ena-com/1.1.4.4/ - copied from r325572, vendor-sys/ena-com/dist/

svn commit: r325572 - vendor-sys/ena-com/dist

2017-11-09 Thread Marcin Wojtas
Author: mw Date: Thu Nov 9 11:37:20 2017 New Revision: 325572 URL: https://svnweb.freebsd.org/changeset/base/325572 Log: Update ena-com HAL to newest version The newest ena-com HAL update adds dynamically controlled logging level functionality. Obtained from: Amazon, Inc.

svn commit: r325571 - head/sys/dev/ahci

2017-11-09 Thread Alexander Motin
Author: mav Date: Thu Nov 9 10:15:57 2017 New Revision: 325571 URL: https://svnweb.freebsd.org/changeset/base/325571 Log: Add some PCI IDs found on AMD Epyc system. MFC after:2 weeks Modified: head/sys/dev/ahci/ahci_pci.c Modified: head/sys/dev/ahci/ahci_pci.c