Re: svn commit: r347890 - in head/sys/dev: aac bge

2019-05-16 Thread Peter Jeremy
On 2019-May-16 20:41:29 +, Tycho Nightingale wrote: >Author: tychon >Date: Thu May 16 20:41:28 2019 >New Revision: 347890 >URL: https://svnweb.freebsd.org/changeset/base/347890 > >Log: > reinstate 4GB DMA boundary workarounds for bge and aac > > Reviewed by: kib > Sponsored by:

svn commit: r347899 - svnadmin/conf

2019-05-16 Thread Glen Barber
Author: gjb Date: Fri May 17 00:02:35 2019 New Revision: 347899 URL: https://svnweb.freebsd.org/changeset/base/347899 Log: Require explicit re@ approval to stable/11, marking the code freeze point of the 11.3-RELEASE cycle. Approved by: re (implicit) Sponsored by: The FreeBSD

Re: svn commit: r347890 - in head/sys/dev: aac bge

2019-05-16 Thread Tycho Nightingale
> On May 16, 2019, at 5:23 PM, Hans Petter Selasky wrote: > > On 2019-05-16 22:41, Tycho Nightingale wrote: >> Author: tychon >> Date: Thu May 16 20:41:28 2019 >> New Revision: 347890 >> URL: https://svnweb.freebsd.org/changeset/base/347890 >> Log: >> reinstate 4GB DMA boundary workarounds

svn commit: r347896 - head/sys/dev/bge

2019-05-16 Thread Tycho Nightingale
Author: tychon Date: Thu May 16 22:27:38 2019 New Revision: 347896 URL: https://svnweb.freebsd.org/changeset/base/347896 Log: Fix integer overflow in r346386. Sponsored by: Dell EMC Isilon Modified: head/sys/dev/bge/if_bgereg.h Modified: head/sys/dev/bge/if_bgereg.h

svn commit: r347895 - in head: lib/libc/amd64/sys lib/libc/x86/gen lib/libc/x86/sys sys/amd64/amd64 sys/amd64/linux sys/amd64/linux32 sys/arm64/include sys/cddl/dev/dtrace/amd64 sys/dev/random sys/...

2019-05-16 Thread Konstantin Belousov
Author: kib Date: Thu May 16 22:20:54 2019 New Revision: 347895 URL: https://svnweb.freebsd.org/changeset/base/347895 Log: Remove resolver_qual from DEFINE_IFUNC/DEFINE_UIFUNC macros. In all practical situations, the resolver visibility is static. Requested by: markj Sponsored by:

svn commit: r347894 - stable/11/sys/dev/isp

2019-05-16 Thread Kenneth D. Merry
Author: ken Date: Thu May 16 22:03:25 2019 New Revision: 347894 URL: https://svnweb.freebsd.org/changeset/base/347894 Log: MFC r345008: r345008 | ken | 2019-03-11 10:21:14 -0400 (Mon, 11 Mar 2019) | 59 lines

svn commit: r347893 - in head/usr.sbin: etcupdate mergemaster

2019-05-16 Thread Brad Davis
Author: brd Date: Thu May 16 21:50:12 2019 New Revision: 347893 URL: https://svnweb.freebsd.org/changeset/base/347893 Log: Fix mergemaster after r347638 and the master.passwd / group move. Check the legacy directory and use it instead if present. Install these first if using

Re: svn commit: r347890 - in head/sys/dev: aac bge

2019-05-16 Thread Hans Petter Selasky
On 2019-05-16 22:41, Tycho Nightingale wrote: Author: tychon Date: Thu May 16 20:41:28 2019 New Revision: 347890 URL: https://svnweb.freebsd.org/changeset/base/347890 Log: reinstate 4GB DMA boundary workarounds for bge and aac Reviewed by: kib Sponsored by:Dell EMC Isilon

svn commit: r347892 - in head/sys: compat/linuxkpi/common/include/linux modules/linuxkpi

2019-05-16 Thread Johannes Lundberg
Author: johalun Date: Thu May 16 21:17:18 2019 New Revision: 347892 URL: https://svnweb.freebsd.org/changeset/base/347892 Log: LinuxKPI: Finalize import of seq_file. seq_file.h and linux_seq_file.c was imported form ports earlier but linux_seq_file.c was never compiled in with the

svn commit: r347891 - head/sys/compat/linuxkpi/common/include/linux

2019-05-16 Thread Johannes Lundberg
Author: johalun Date: Thu May 16 21:07:37 2019 New Revision: 347891 URL: https://svnweb.freebsd.org/changeset/base/347891 Log: LinuxKPI: Add in_task macro. This patch is part of D19565 Reviewed by: hps, bwidawsk Approved by: imp (mentor), hps Obtained from:bwidawsk MFC

svn commit: r347890 - in head/sys/dev: aac bge

2019-05-16 Thread Tycho Nightingale
Author: tychon Date: Thu May 16 20:41:28 2019 New Revision: 347890 URL: https://svnweb.freebsd.org/changeset/base/347890 Log: reinstate 4GB DMA boundary workarounds for bge and aac Reviewed by: kib Sponsored by: Dell EMC Isilon Differential Revision:

svn commit: r347889 - head/sys/compat/linuxkpi/common/src

2019-05-16 Thread Johannes Lundberg
Author: johalun Date: Thu May 16 19:32:11 2019 New Revision: 347889 URL: https://svnweb.freebsd.org/changeset/base/347889 Log: LinuxKPI: Fix build on powerpc/sparc. Use cmpset instead of testandset in tasklet lock code. Reviewed by: hps Approved by: imp (mentor), hps Obtained

svn commit: r347888 - in head/sys/mips: include mips

2019-05-16 Thread Conrad Meyer
Author: cem Date: Thu May 16 19:10:48 2019 New Revision: 347888 URL: https://svnweb.freebsd.org/changeset/base/347888 Log: mips: Implement basic pmap_kenter_device, pmap_kremove_device Unbreak mips.BERI_DE4_SDROOT build, which uses device xdma. Device xdma depends on the

svn commit: r347887 - head/sys/netinet6

2019-05-16 Thread Hiroki Sato
Author: hrs Date: Thu May 16 19:09:41 2019 New Revision: 347887 URL: https://svnweb.freebsd.org/changeset/base/347887 Log: Fix hostname to be returned in an ICMPv6 NI Reply message defined in RFC 4620, ICMPv6 Node Information Queries. A vnet jail with an IPv6 address sent a hostname of the

svn commit: r347886 - head/share/misc

2019-05-16 Thread Ollivier Robert
Author: roberto Date: Thu May 16 18:54:20 2019 New Revision: 347886 URL: https://svnweb.freebsd.org/changeset/base/347886 Log: Announce OpenBSD 6.5. Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree

svn commit: r347885 - in stable/12: lib/libmt usr.bin/mt

2019-05-16 Thread Kenneth D. Merry
Author: ken Date: Thu May 16 18:50:18 2019 New Revision: 347885 URL: https://svnweb.freebsd.org/changeset/base/347885 Log: MFC 344761: r344761 | ken | 2019-03-04 09:30:37 -0500 (Mon, 04 Mar 2019) | 18 lines

svn commit: r347884 - in stable/11: lib/libmt usr.bin/mt

2019-05-16 Thread Kenneth D. Merry
Author: ken Date: Thu May 16 18:42:27 2019 New Revision: 347884 URL: https://svnweb.freebsd.org/changeset/base/347884 Log: MFC 344761: r344761 | ken | 2019-03-04 09:30:37 -0500 (Mon, 04 Mar 2019) | 18 lines

svn commit: r347883 - in stable/11/sys: dev/mlx4/mlx4_core dev/mlx4/mlx4_ib dev/mlx5/mlx5_core dev/mlx5/mlx5_en dev/mlx5/mlx5_ib sys

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:33:30 2019 New Revision: 347883 URL: https://svnweb.freebsd.org/changeset/base/347883 Log: MFC r347325: Bump the Mellanox driver version numbers and the FreeBSD version number. Sponsored by: Mellanox Technologies Modified:

svn commit: r347881 - in stable/11/sys/dev/mlx5: . mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:28:59 2019 New Revision: 347881 URL: https://svnweb.freebsd.org/changeset/base/347881 Log: MFC r347324: Make command workqueue persistant in mlx5core. There is no reason to re-create the command workqueue during healthcare. This also fixes an issue

svn commit: r347882 - stable/11/sys/netinet/cc

2019-05-16 Thread Michael Tuexen
Author: tuexen Date: Thu May 16 18:29:25 2019 New Revision: 347882 URL: https://svnweb.freebsd.org/changeset/base/347882 Log: MFC r347381: Prevent cwnd to collapse down to 1 MSS after exiting recovery. This is descrined in RFC 6582, which updates RFC 3782. Modified:

svn commit: r347880 - in stable/11/sys/dev/mlx5: . mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:28:12 2019 New Revision: 347880 URL: https://svnweb.freebsd.org/changeset/base/347880 Log: MFC r347323: Fix race between driver unload and dumping firmware in mlx5core. Present code uses lock-less accesses to the dump data to prevent top level

svn commit: r347879 - stable/11/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:27:27 2019 New Revision: 347879 URL: https://svnweb.freebsd.org/changeset/base/347879 Log: MFC r347322: Ensure the flowtable rules are not freed twice in mlx5en(4). This can happen when re-loading the driver. Sponsored by: Mellanox Technologies

svn commit: r347878 - stable/11/sys/dev/virtio/network

2019-05-16 Thread Michael Tuexen
Author: tuexen Date: Thu May 16 18:26:42 2019 New Revision: 347878 URL: https://svnweb.freebsd.org/changeset/base/347878 Log: MFC r347233: Remove non-functional SCTP checksum offload support for virtio. Checksum offloading for SCTP is not currently specified for virtio. If the

svn commit: r347877 - stable/11/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:26:14 2019 New Revision: 347877 URL: https://svnweb.freebsd.org/changeset/base/347877 Log: MFC r347321: Undo previous steps upon returning failure in mlx5en(4). Else flowtable resources may not be properly freed. Sponsored by: Mellanox

svn commit: r347876 - stable/11/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:25:26 2019 New Revision: 347876 URL: https://svnweb.freebsd.org/changeset/base/347876 Log: MFC r347320: Make sure the flow destination structure does not use values off the stack in mlx5en(4). Sponsored by: Mellanox Technologies Modified:

svn commit: r347875 - in stable/11/sys/dev/mlx5: . mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:24:51 2019 New Revision: 347875 URL: https://svnweb.freebsd.org/changeset/base/347875 Log: MFC r347319: Flush command workqueue when command completion is triggered in mlx5core. Avoid race for command completion when triggering a command completions

svn commit: r347873 - stable/11/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:23:28 2019 New Revision: 347873 URL: https://svnweb.freebsd.org/changeset/base/347873 Log: MFC r347317: Remove non-functional MLX5E_MAX_RX_SEGS macro in mlx5en(4). Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/mlx5/mlx5_en/en.h

svn commit: r347874 - stable/11/sys/dev/mlx5

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:24:05 2019 New Revision: 347874 URL: https://svnweb.freebsd.org/changeset/base/347874 Log: MFC r347318: Make command timeout way shorter in mlx5core. The command timeout is terribly long, whole two hours. Make it 60s so if things do go wrong, the

svn commit: r347872 - stable/11/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:22:46 2019 New Revision: 347872 URL: https://svnweb.freebsd.org/changeset/base/347872 Log: MFC r347316: Fix for compilation warning in mlx5en(4). Function 'mlx5e_alloc_rx_wqe' can never be inlined because it uses alloca (override using the

svn commit: r347870 - stable/11/usr.sbin/mlx5tool

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:20:47 2019 New Revision: 347870 URL: https://svnweb.freebsd.org/changeset/base/347870 Log: MFC r347314: Ensure that only one command is specified at a time in mlx5tool(8). Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

svn commit: r347871 - stable/11/sys/dev/mlx5/mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:22:02 2019 New Revision: 347871 URL: https://svnweb.freebsd.org/changeset/base/347871 Log: MFC r347315: Rename functions from mlx5_fwdump to mlx5_ctl in mlx5core. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

svn commit: r347866 - stable/11/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:17:38 2019 New Revision: 347866 URL: https://svnweb.freebsd.org/changeset/base/347866 Log: MFC r347310: Expose per-lane counters before correction mechanism in mlx5en(4). Sponsored by: Mellanox Technologies Modified:

svn commit: r347869 - in stable/11: share/man/man4 sys/dev/mlx5 sys/dev/mlx5/mlx5_core usr.sbin/mlx5tool

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:20:14 2019 New Revision: 347869 URL: https://svnweb.freebsd.org/changeset/base/347869 Log: MFC r347313: Implement firmware reset from userspace in mlx5tool(8). Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

svn commit: r347868 - in stable/11/sys/dev/mlx5: . mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:19:08 2019 New Revision: 347868 URL: https://svnweb.freebsd.org/changeset/base/347868 Log: MFC r347312: Add Firmware Reset Level, MFRL, register accessors in mlx5core. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

svn commit: r347867 - stable/11/contrib/ofed/libmlx5

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:18:22 2019 New Revision: 347867 URL: https://svnweb.freebsd.org/changeset/base/347867 Log: MFC r347311: Add ConnectX-6 DX HCA ID to libmlx5. In addition, add "ConnectX family mlx5Gen Virtual Function" device ID. Every new HCA VF will be identified

svn commit: r347865 - stable/11/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:16:57 2019 New Revision: 347865 URL: https://svnweb.freebsd.org/changeset/base/347865 Log: MFC r347309: Add support for extended PCIe counters in mlx5en(4). Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/mlx5/mlx5_en/en.h

svn commit: r347864 - stable/11/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:16:08 2019 New Revision: 347864 URL: https://svnweb.freebsd.org/changeset/base/347864 Log: MFC r347308: Extend the counters framework in mlx5en(4). Allow more macro arguments and split the variable type and name into separate arguments. This allows

svn commit: r347863 - in stable/11/sys/dev/mlx5: . mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:13:47 2019 New Revision: 347863 URL: https://svnweb.freebsd.org/changeset/base/347863 Log: MFC r347307: Update performance counter bits in mlx5core. Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/mlx5/mlx5_core/mlx5_diagnostics.c

svn commit: r347862 - in stable/11/sys/dev/mlx5: . mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:13:02 2019 New Revision: 347862 URL: https://svnweb.freebsd.org/changeset/base/347862 Log: MFC r347306: Implement reading PCI power status in mlx5core. Implement a watchdog as part of the healtcare subsystem which reads the PCI power status during

svn commit: r347861 - in stable/11/sys/dev/mlx5: . mlx5_core mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:12:14 2019 New Revision: 347861 URL: https://svnweb.freebsd.org/changeset/base/347861 Log: MFC r347305: Move workqueue from mlx5en(4) to mlx5core. This avoids creating more workqueues in mlx5core to do simple firmware command polling tasks.

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:11:25 2019 New Revision: 347860 URL: https://svnweb.freebsd.org/changeset/base/347860 Log: MFC r347304: Always return success for RoCE modify port in mlx5ib. CM layer calls ib_modify_port() regardless of the link layer. For the Ethernet ports,

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:10:10 2019 New Revision: 347859 URL: https://svnweb.freebsd.org/changeset/base/347859 Log: MFC r347303: Add support for new rates to mlx5ib. Submitted by: slavash@ Sponsored by: Mellanox Technologies Modified:

svn commit: r347858 - in stable/11/contrib/ofed/libibverbs: . examples

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:09:34 2019 New Revision: 347858 URL: https://svnweb.freebsd.org/changeset/base/347858 Log: MFC r347302: Add support for 200Gbit speeds to libibverbs. Submitted by: slavash@ Sponsored by: Mellanox Technologies Modified:

svn commit: r347857 - in stable/11/sys/ofed: drivers/infiniband/core include/rdma

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:08:33 2019 New Revision: 347857 URL: https://svnweb.freebsd.org/changeset/base/347857 Log: MFC r347301: Add new rates to ibcore. Add the new rates that were added to the Infiniband specification as part of HDR and 2x support. Submitted by:

svn commit: r347856 - stable/11/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:07:52 2019 New Revision: 347856 URL: https://svnweb.freebsd.org/changeset/base/347856 Log: MFC r347300: Do not add IFM_10G_LR and IFM_40G_ER4 to supported media types by default in mlx5en(4). IFM_10G_LR and IFM_40G_ER4 media should be added only if

svn commit: r347855 - in stable/11/sys/dev/mlx5: . mlx5_core mlx5_en mlx5_ib

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:06:56 2019 New Revision: 347855 URL: https://svnweb.freebsd.org/changeset/base/347855 Log: MFC r347299: Add support for 200Gb ethernet speeds to mlx5core. Submitted by: slavash@ Sponsored by: Mellanox Technologies Modified:

svn commit: r347854 - stable/11/sys/dev/mlx5

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:06:10 2019 New Revision: 347854 URL: https://svnweb.freebsd.org/changeset/base/347854 Log: MFC r347298: Remove unused speed enums in mlx5core. Submitted by: slavash@ Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/mlx5/driver.h

svn commit: r347853 - stable/11/sys/dev/mlx5/mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:05:16 2019 New Revision: 347853 URL: https://svnweb.freebsd.org/changeset/base/347853 Log: MFC r347297: Control automatic update of firmware on driver load with a tunable in mlx5core. Submitted by: kib@ Sponsored by: Mellanox Technologies

svn commit: r347852 - in head/sys/compat/linuxkpi/common: include/linux src

2019-05-16 Thread Johannes Lundberg
Author: johalun Date: Thu May 16 18:03:08 2019 New Revision: 347852 URL: https://svnweb.freebsd.org/changeset/base/347852 Log: LinuxKPI: Updates to tasklets for Linux 5.0. DRM drivers expect tasklets to have a counter for enable/disable calls. Also, add a few more tasklet locking

svn commit: r347851 - stable/11/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:02:09 2019 New Revision: 347851 URL: https://svnweb.freebsd.org/changeset/base/347851 Log: MFC r347295: Let rx_out_of_buffer be a 32-bit counter in mlx5en(4). This fixes counting issues when the firmware resets the counter during allocation of the

svn commit: r347850 - in stable/11/sys/dev/mlx5: . mlx5_core mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:01:23 2019 New Revision: 347850 URL: https://svnweb.freebsd.org/changeset/base/347850 Log: MFC r347294: Add vnic steering drop statistics in mlx5en(4). Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/mlx5/mlx5_core/mlx5_cmd.c

svn commit: r347848 - in stable/12/sys/dev: ae dme

2019-05-16 Thread Brooks Davis
Author: brooks Date: Thu May 16 18:00:17 2019 New Revision: 347848 URL: https://svnweb.freebsd.org/changeset/base/347848 Log: MFC r347365, r347703 r347365: Update dme(4) to reflect that it will not be removed due to FCP-101. dme(4) is the built-in NIC on a couple non-expandable mips

svn commit: r347849 - stable/11/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 18:00:37 2019 New Revision: 347849 URL: https://svnweb.freebsd.org/changeset/base/347849 Log: MFC r347293: Use software counters for rx_packets and rx_bytes in mlx5en(4). The physical- and virtual- port counters might not reflect the amount of data

svn commit: r347847 - stable/11/sys/dev/mlx5/mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:59:43 2019 New Revision: 347847 URL: https://svnweb.freebsd.org/changeset/base/347847 Log: MFC r347292: Add mlx5_firmware_update() in mlx5core. Add support for upgrading firmware on mlx5 module load. Submitted by: slavash@ Sponsored by: Mellanox

svn commit: r347846 - stable/11/sys/ofed/drivers/infiniband/ulp/ipoib

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:59:02 2019 New Revision: 347846 URL: https://svnweb.freebsd.org/changeset/base/347846 Log: MFC r347291: Handle IB_EVENT_DEVICE_FATAL event in ipoib. Perform flush if IB_EVENT_DEVICE_FATAL was received. Submitted by: slavash@ Sponsored by: Mellanox

svn commit: r347845 - stable/11/sys/dev/mlx5/mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:57:55 2019 New Revision: 347845 URL: https://svnweb.freebsd.org/changeset/base/347845 Log: MFC r347290: Fix for double bus master disable in mlx5core. mlx5_pci_disable_device is calling pci_disable_device which disables bus master. No need to

svn commit: r347844 - stable/11/sys/dev/mlx5/mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:57:09 2019 New Revision: 347844 URL: https://svnweb.freebsd.org/changeset/base/347844 Log: Fix minor compile issue after MFC r347288. This is a direct commit. Sponsored by: Mellanox Technologies Modified:

svn commit: r347843 - in head/sys/compat/linuxkpi/common: include/linux src

2019-05-16 Thread Johannes Lundberg
Author: johalun Date: Thu May 16 17:53:36 2019 New Revision: 347843 URL: https://svnweb.freebsd.org/changeset/base/347843 Log: LinuxKPI: Add group_leader member to struct task_struct. Assign self as group leader at creation to act as the only member of a new process group. This patch

svn commit: r347842 - in stable/11: share/man/man4 usr.sbin/mlx5tool

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:51:30 2019 New Revision: 347842 URL: https://svnweb.freebsd.org/changeset/base/347842 Log: MFC r347289: Document userspace firmware flash in mlx5tool(8) and mlx5io(4). Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

svn commit: r347841 - in stable/11: sys/dev/mlx5 sys/dev/mlx5/mlx5_core usr.sbin/mlx5tool

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:50:52 2019 New Revision: 347841 URL: https://svnweb.freebsd.org/changeset/base/347841 Log: MFC r347288: Implement userspace firmware update for ConnectX-4/5/6. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

svn commit: r347840 - in stable/11: share/man/man4 sys/dev/mlx5 sys/dev/mlx5/mlx5_core usr.sbin/mlx5tool

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:50:15 2019 New Revision: 347840 URL: https://svnweb.freebsd.org/changeset/base/347840 Log: MFC r347287: Rename mlx5_fwdump_addr to more neutral mlx5_tool_addr in mlx5core. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

svn commit: r347839 - stable/11/sys/dev/mlx5/mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:49:29 2019 New Revision: 347839 URL: https://svnweb.freebsd.org/changeset/base/347839 Log: MFC r347286: Add mlxfw callbacks in mlx5core. Add mlx5 implementation for the ones defined by the mlxfw shared module to be used while flashing the device

svn commit: r347838 - in stable/11: share/man/man4 sys/conf sys/dev/mlxfw sys/modules sys/modules/mlxfw

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:48:36 2019 New Revision: 347838 URL: https://svnweb.freebsd.org/changeset/base/347838 Log: MFC r347285 and r347327: Initial version of Mellanox in-kernel firmware upgrade support. Submitted by: slavash@ Sponsored by: Mellanox Technologies Added:

svn commit: r347837 - in head/sys/compat/linuxkpi/common: include/linux src

2019-05-16 Thread Johannes Lundberg
Author: johalun Date: Thu May 16 17:44:17 2019 New Revision: 347837 URL: https://svnweb.freebsd.org/changeset/base/347837 Log: LinuxKPI: Update access_ok macro for v5.0. Check LINUXKPI_VERSION macro for backwards compatibility. It's recommended to update any drivers that depend on the

svn commit: r347836 - in head: sys/arm64/arm64 sys/arm64/include sys/compat/linuxkpi/common/src sys/sys sys/x86/include sys/x86/iommu sys/x86/x86 usr.sbin/camdd

2019-05-16 Thread Tycho Nightingale
Author: tychon Date: Thu May 16 17:41:16 2019 New Revision: 347836 URL: https://svnweb.freebsd.org/changeset/base/347836 Log: Allow loading the same DMA address multiple times without any prior unload for the LinuxKPI. Reviewed by: kib, zeising Sponsored by: Dell EMC Isilon

svn commit: r347835 - stable/11/sys/dev/mlx5/mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:38:59 2019 New Revision: 347835 URL: https://svnweb.freebsd.org/changeset/base/347835 Log: MFC r347284: Convert remaining module parameters into SYSCTLs in mlx5core. Sponsored by: Mellanox Technologies Modified:

svn commit: r347833 - stable/11/sys/dev/mlx5/mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:37:34 2019 New Revision: 347833 URL: https://svnweb.freebsd.org/changeset/base/347833 Log: MFC r347282: Change implicit and probably erronous EPERM to EIO on command status error in mlx5core. Submitted by: kib@ Sponsored by: Mellanox Technologies

svn commit: r347834 - stable/11/sys/dev/mlx5/mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:38:11 2019 New Revision: 347834 URL: https://svnweb.freebsd.org/changeset/base/347834 Log: MFC r347283: Remove redundant line of code in mlx5core. Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/mlx5/mlx5_core/mlx5_cmd.c Directory

svn commit: r347832 - stable/11/usr.sbin/mlx5tool

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:36:52 2019 New Revision: 347832 URL: https://svnweb.freebsd.org/changeset/base/347832 Log: MFC r347281: Fix typo. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified: stable/11/usr.sbin/mlx5tool/mlx5tool.8 Directory Properties:

svn commit: r347831 - stable/11/usr.sbin/mlx5tool

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:36:18 2019 New Revision: 347831 URL: https://svnweb.freebsd.org/changeset/base/347831 Log: MFC r347280: Fix style. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified: stable/11/usr.sbin/mlx5tool/mlx5tool.c Directory Properties:

svn commit: r347830 - stable/11/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:35:39 2019 New Revision: 347830 URL: https://svnweb.freebsd.org/changeset/base/347830 Log: MFC r347279: Fix netstat counters mapping in mlx5en(4). The current mapping of driver counters to netstat counters is wrong. For example, a single jabber

svn commit: r347829 - stable/11/sys/ofed/drivers/infiniband/ulp/ipoib

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:34:54 2019 New Revision: 347829 URL: https://svnweb.freebsd.org/changeset/base/347829 Log: MFC r347278: Fix endless loop in ipoib_poll(). ib_req_notify_cq may return negative value which will indicate a failure. In the case of uncorrectable error,

svn commit: r347828 - head/sys/dev/xdma

2019-05-16 Thread Conrad Meyer
Author: cem Date: Thu May 16 17:34:36 2019 New Revision: 347828 URL: https://svnweb.freebsd.org/changeset/base/347828 Log: xdma(4): Fix invalid pointer use (breaks arm.SOCFPGA build) In xdma_handle_mem_node(), vmem_size_t and vmem_addr_t pointers were passed to an FDT API that emits

svn commit: r347827 - stable/11/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:34:09 2019 New Revision: 347827 URL: https://svnweb.freebsd.org/changeset/base/347827 Log: MFC r347277: Avoid leaking send queue mbufs during error recovery in mlx5en(4). Sponsored by: Mellanox Technologies Modified:

svn commit: r347825 - stable/11/sys/dev/mlx5

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:32:47 2019 New Revision: 347825 URL: https://svnweb.freebsd.org/changeset/base/347825 Log: MFC r347275: Enhance MCAM reg to allow query on access reg support in mlx5core. Enhance MCAM to allow the driver to query which access regs are supported. For

svn commit: r347826 - stable/11/sys/dev/mlx5/mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:33:24 2019 New Revision: 347826 URL: https://svnweb.freebsd.org/changeset/base/347826 Log: MFC r347276: Add helper functions to set/query MCC/MCDA/MCQI registers in mlx5core. To be used by the mlx5 callbacks exposed to the mlxfw module. Linux

svn commit: r347824 - stable/11/sys/dev/mlx5

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:32:08 2019 New Revision: 347824 URL: https://svnweb.freebsd.org/changeset/base/347824 Log: MFC r347274: Add MCC (Management Component Control) register definitions in mlx5core. MCC (Management Component Control) allows to control a firmware

svn commit: r347820 - stable/11/sys/dev/mlx5

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:29:43 2019 New Revision: 347820 URL: https://svnweb.freebsd.org/changeset/base/347820 Log: MFC r347270: Expose PCAM, MCAM registers infrastructure in mlx5core. PCAM: Ports capabilities mask register. MCAM: Management capabilities mask register.

svn commit: r347819 - stable/11/sys/dev/mlx5/mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:29:04 2019 New Revision: 347819 URL: https://svnweb.freebsd.org/changeset/base/347819 Log: MFC r347269: Add sysctl(8) to control fast unload support in mlx5core. Sponsored by: Mellanox Technologies Modified:

svn commit: r347823 - stable/11/sys/dev/mlx5/mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:31:31 2019 New Revision: 347823 URL: https://svnweb.freebsd.org/changeset/base/347823 Log: MFC r347273: Add reading the mcam_reg in mlx5core. Submitted by: slavash@ Sponsored by: Mellanox Technologies Modified:

svn commit: r347822 - in stable/11/sys/dev/mlx5: . mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:30:55 2019 New Revision: 347822 URL: https://svnweb.freebsd.org/changeset/base/347822 Log: MFC r347272: Query and cache PCAM, MCAM registers on initialization in mlx5core. On load_one, we now cache our capabilities registers internally, similar to

svn commit: r347821 - stable/11/sys/dev/mlx5/mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:30:20 2019 New Revision: 347821 URL: https://svnweb.freebsd.org/changeset/base/347821 Log: MFC r347271: Implement PCAM, MCAM access register commands in mlx5core. Introduced registers will expose capabilities of new registers and features related to

svn commit: r347818 - in stable/11/sys/dev/mlx5: . mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:28:30 2019 New Revision: 347818 URL: https://svnweb.freebsd.org/changeset/base/347818 Log: MFC r347268: Add Fast teardown support to mlx5core. Today mlx5 devices support two teardown modes: 1- Regular teardown 2- Force teardown This change

svn commit: r347817 - stable/11/sys/dev/mlx5/mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:25:41 2019 New Revision: 347817 URL: https://svnweb.freebsd.org/changeset/base/347817 Log: MFC r347266: Implement get and set nic state as global functions in mlx5core. Sponsored by: Mellanox Technologies Modified:

svn commit: r347816 - stable/11/sys/dev/mlx5/mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:25:01 2019 New Revision: 347816 URL: https://svnweb.freebsd.org/changeset/base/347816 Log: MFC r347265: Ticks are integer type in FreeBSD. Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/mlx5/mlx5_core/mlx5_health.c Directory

svn commit: r347815 - stable/11/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:24:21 2019 New Revision: 347815 URL: https://svnweb.freebsd.org/changeset/base/347815 Log: MFC r347264: Configure firmware to use RX hash format in mini CQE in mlx5en(4). When using CQE zipping, one can choose between RX hash and Checksum. This will

svn commit: r347805 - stable/11/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:17:12 2019 New Revision: 347805 URL: https://svnweb.freebsd.org/changeset/base/347805 Log: MFC r347255: Fix tx_jumbo_packets counter in mlx5en(4). Instead of reading Ethernet RFC 2819 pXtoYoctets counters from hardware which counts RX octets, count

svn commit: r347811 - stable/11/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:22:11 2019 New Revision: 347811 URL: https://svnweb.freebsd.org/changeset/base/347811 Log: MFC r347261: Implement fast close of RX channel in mlx5en(4). Instead of waiting for all jobs to be cancelled, simply close the completion queue to prevent

svn commit: r347813 - stable/11/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:23:36 2019 New Revision: 347813 URL: https://svnweb.freebsd.org/changeset/base/347813 Log: MFC r347263: Disable CQE zipping by default in mlx5en(4). After doing performance measurements, it seems like CQE zipping doesn't have any significant

svn commit: r347807 - stable/11/sys/ofed/drivers/infiniband/core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:18:29 2019 New Revision: 347807 URL: https://svnweb.freebsd.org/changeset/base/347807 Log: MFC r347257: Make sure to error out when arming the CQ fails in ibcore. Sponsored by: Mellanox Technologies Modified:

svn commit: r347804 - in stable/11/sys/dev/mlx5: . mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:16:31 2019 New Revision: 347804 URL: https://svnweb.freebsd.org/changeset/base/347804 Log: MFC r347254: Update Ethernet extended counters in mlx5en(4). Expose all Ethernet extended counters those counters via debug_stats sysctl:

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:19:48 2019 New Revision: 347809 URL: https://svnweb.freebsd.org/changeset/base/347809 Log: MFC r347259: Remove unused module parameter in mlx5ib. Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c Directory

svn commit: r347812 - stable/11/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:22:57 2019 New Revision: 347812 URL: https://svnweb.freebsd.org/changeset/base/347812 Log: MFC r347262: Split mlx5e_update_stats_work() in mlx5en(4). Split the function into the mlx5e_update_stats_locked() core and make mlx5e_update_stats_work()

svn commit: r347810 - stable/11/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:21:27 2019 New Revision: 347810 URL: https://svnweb.freebsd.org/changeset/base/347810 Log: MFC r347260 and r347326: Correct number of elements for priority to traffic class mappings in mlx5en(4). The number of priorities is always 8, while the number

svn commit: r347808 - in stable/11/sys/dev: mlx4/mlx4_ib mlx5/mlx5_ib

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:19:03 2019 New Revision: 347808 URL: https://svnweb.freebsd.org/changeset/base/347808 Log: MFC r347258: Make sure to error out when arming the CQ fails in mlx4ib and mlx5ib. Sponsored by: Mellanox Technologies Modified:

svn commit: r347806 - stable/11/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:17:52 2019 New Revision: 347806 URL: https://svnweb.freebsd.org/changeset/base/347806 Log: MFC r347256: Destroy port stats debug context in correct order in mlx5en(4). Destroy children nodes before parent nodes. Sponsored by: Mellanox Technologies

svn commit: r347803 - in stable/11/sys/dev/mlx5: . mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:15:41 2019 New Revision: 347803 URL: https://svnweb.freebsd.org/changeset/base/347803 Log: MFC r347253: Protect from infinite sw-reset loop in mlx5core. Avoid an infinite software firmware reset loop that may be caused by a hardware bug by limiting

svn commit: r347802 - in stable/11/sys/dev/mlx5: . mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:15:00 2019 New Revision: 347802 URL: https://svnweb.freebsd.org/changeset/base/347802 Log: MFC r347252: Disable all MSIX interrupts before shutdown in mlx5. Make sure the interrupt handlers don't race with the fast unload one code in the shutdown

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:14:08 2019 New Revision: 347801 URL: https://svnweb.freebsd.org/changeset/base/347801 Log: MFC r347251: Import Linux code to implement mlx5_ib_disassociate_ucontext() in mlx5ib. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

svn commit: r347795 - head/sys/arm64/arm64

2019-05-16 Thread Justin Hibbits
Author: jhibbits Date: Thu May 16 17:04:29 2019 New Revision: 347795 URL: https://svnweb.freebsd.org/changeset/base/347795 Log: arm64: Add the rename interpreter path for compat32 ld-elf Let arm64 and arm32 dynamic binaries coexist. Match all other compat32 archs. Reviewed by:

  1   2   3   >