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

2019-10-07 Thread Andriy Gapon
Author: avg Date: Mon Oct 7 08:00:54 2019 New Revision: 353168 URL: https://svnweb.freebsd.org/changeset/base/353168 Log: ZFS: unconditionally use atomic_swap_64 Previously, the code used a plain store on platforms that lacked atomic_swap_64 and possibly some other platforms as the

svn commit: r353176 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zstreamdump cddl/contrib/opensolaris/cmd/ztest sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contrib/...

2019-10-07 Thread Andriy Gapon
Author: avg Date: Mon Oct 7 08:14:45 2019 New Revision: 353176 URL: https://svnweb.freebsd.org/changeset/base/353176 Log: MFV r350898, r351075: 8423 8199 7432 Implement large_dnode pool feature 8423 8199 7432 Implement large_dnode pool feature 7432 Large dnode pool feature 8199

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:28:55 2019 New Revision: 353181 URL: https://svnweb.freebsd.org/changeset/base/353181 Log: MFC r352954: Notify all sleeping threads of device removal in krping. Implement d_purge for krping_cdevsw. Submitted by: slavash@ Sponsored by: Mellanox

svn commit: r353180 - stable/12/sys/contrib/rdma/krping

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:28:05 2019 New Revision: 353180 URL: https://svnweb.freebsd.org/changeset/base/353180 Log: MFC r352954: Notify all sleeping threads of device removal in krping. Implement d_purge for krping_cdevsw. Submitted by: slavash@ Sponsored by: Mellanox

svn commit: r353165 - head/sys/arm/include

2019-10-07 Thread Andriy Gapon
Author: avg Date: Mon Oct 7 07:37:42 2019 New Revision: 353165 URL: https://svnweb.freebsd.org/changeset/base/353165 Log: align use of cp15_pmccntr_get with its availability According to ian, the only armv6 cpu we support is the 1176, so this change is effectively a no-op. The change

svn commit: r353175 - stable/10/sys/dev/usb

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:13:49 2019 New Revision: 353175 URL: https://svnweb.freebsd.org/changeset/base/353175 Log: MFC r352555: Increase the maximum user-space buffer size from 256kBytes to 32MBytes for libusb. This is useful for speeding up large data transfers while reducing

svn commit: r353173 - stable/12/sys/dev/usb

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:12:28 2019 New Revision: 353173 URL: https://svnweb.freebsd.org/changeset/base/353173 Log: MFC r352555: Increase the maximum user-space buffer size from 256kBytes to 32MBytes for libusb. This is useful for speeding up large data transfers while reducing

svn commit: r353174 - stable/11/sys/dev/usb

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:13:10 2019 New Revision: 353174 URL: https://svnweb.freebsd.org/changeset/base/353174 Log: MFC r352555: Increase the maximum user-space buffer size from 256kBytes to 32MBytes for libusb. This is useful for speeding up large data transfers while reducing

svn commit: r353182 - stable/12/sys/ofed/drivers/infiniband/ulp/ipoib

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:31:31 2019 New Revision: 353182 URL: https://svnweb.freebsd.org/changeset/base/353182 Log: MFC r352955: Make sure the transmit loop doesn't get starved in ipoib. When the software send queue gets filled up, callbacks to if_transmit will stop. Make

svn commit: r353167 - in head/sys/cddl/compat/opensolaris: kern sys

2019-10-07 Thread Andriy Gapon
Author: avg Date: Mon Oct 7 07:54:34 2019 New Revision: 353167 URL: https://svnweb.freebsd.org/changeset/base/353167 Log: ZFS: add emulation of atomic_swap_64 and atomic_load_64 Some 32-bit platforms do not provide 64-bit atomic operations that ZFS requires, either in userland or at

svn commit: r353171 - stable/10/sys/dev/usb/controller

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:11:12 2019 New Revision: 353171 URL: https://svnweb.freebsd.org/changeset/base/353171 Log: MFC r352554: The maximum TD size is 31 and not 15. Found at: EuroBSDcon 2019 Sponsored by: Mellanox Technologies Modified:

svn commit: r353169 - stable/12/sys/dev/usb/controller

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:09:39 2019 New Revision: 353169 URL: https://svnweb.freebsd.org/changeset/base/353169 Log: MFC r352554: The maximum TD size is 31 and not 15. Found at: EuroBSDcon 2019 Sponsored by: Mellanox Technologies Modified:

svn commit: r353166 - head/sys/mips/include

2019-10-07 Thread Andriy Gapon
Author: avg Date: Mon Oct 7 07:42:26 2019 New Revision: 353166 URL: https://svnweb.freebsd.org/changeset/base/353166 Log: add atomic_load_64 for mipsn32 It's just an alias for atomic_load_acq_64 (same as on i386). MFC after:1 week Modified: head/sys/mips/include/atomic.h

svn commit: r353170 - stable/11/sys/dev/usb/controller

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:10:26 2019 New Revision: 353170 URL: https://svnweb.freebsd.org/changeset/base/353170 Log: MFC r352554: The maximum TD size is 31 and not 15. Found at: EuroBSDcon 2019 Sponsored by: Mellanox Technologies Modified:

svn commit: r353172 - head/sys/gnu/dts/arm

2019-10-07 Thread Emmanuel Vadot
Author: manu Date: Mon Oct 7 08:11:49 2019 New Revision: 353172 URL: https://svnweb.freebsd.org/changeset/base/353172 Log: arm: dts: ti: Fix mmc3 instance by setting it to disabled DTS Import of Linux 5.3 added a patch that rework the L3 mmc instance in the AM335x SoC but removed the

svn commit: r353178 - in stable/11/sys/dev/usb: . controller

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:24:46 2019 New Revision: 353178 URL: https://svnweb.freebsd.org/changeset/base/353178 Log: MFC r352556: Add quirk for XHCI(4) controllers to support USB control transfers above 1Kbyte. It might look like some XHCI(4) controllers do not support when

svn commit: r353177 - in stable/12/sys/dev/usb: . controller

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:24:07 2019 New Revision: 353177 URL: https://svnweb.freebsd.org/changeset/base/353177 Log: MFC r352556: Add quirk for XHCI(4) controllers to support USB control transfers above 1Kbyte. It might look like some XHCI(4) controllers do not support when

svn commit: r353179 - in stable/10/sys/dev/usb: . controller

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:25:25 2019 New Revision: 353179 URL: https://svnweb.freebsd.org/changeset/base/353179 Log: MFC r352556: Add quirk for XHCI(4) controllers to support USB control transfers above 1Kbyte. It might look like some XHCI(4) controllers do not support when

svn commit: r353184 - stable/12/sys/dev/mlx5/mlx5_ib

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:35:48 2019 New Revision: 353184 URL: https://svnweb.freebsd.org/changeset/base/353184 Log: MFC r352956: Fix reported max SGE calculation in mlx5ib. Add the 512 bytes limit of RDMA READ and the size of remote address to the max SGE calculation.

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:36:44 2019 New Revision: 353185 URL: https://svnweb.freebsd.org/changeset/base/353185 Log: MFC r352956: Fix reported max SGE calculation in mlx5ib. Add the 512 bytes limit of RDMA READ and the size of remote address to the max SGE calculation.

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:57:39 2019 New Revision: 353202 URL: https://svnweb.freebsd.org/changeset/base/353202 Log: MFC r352964: Export channel IRQ number as part of the "hw_ctx_debug" sysctl(8) in mlx5en(4). Sponsored by: Mellanox Technologies Modified:

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:56:26 2019 New Revision: 353201 URL: https://svnweb.freebsd.org/changeset/base/353201 Log: Fix compilation after MFC r352962. This is a direct commit. Sponsored by: Mellanox Technologies Modified:

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:04:32 2019 New Revision: 353208 URL: https://svnweb.freebsd.org/changeset/base/353208 Log: MFC r352967: Make the mlx5_vsc_wait_on_flag(9) function global. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

svn commit: r353223 - stable/12/sys/dev/mlx5/mlx5_core

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:19:46 2019 New Revision: 353223 URL: https://svnweb.freebsd.org/changeset/base/353223 Log: MFC r352975: Unify prints in mlx5core. All prints in mlx5core should use on of the macros: mlx5_core_err/dbg/warn Submitted by: slavash@ Sponsored by:

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:42:57 2019 New Revision: 353238 URL: https://svnweb.freebsd.org/changeset/base/353238 Log: MFC r352982: Add support for buffer parameter manipulations in mlx5en(4). The following sysctls are added: dev.mce.N.conf.qos.cable_length

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:49:03 2019 New Revision: 353242 URL: https://svnweb.freebsd.org/changeset/base/353242 Log: MFC r352984: Add the ability to query the EEPROM information in mlx5tool(8). Submitted by: slavash@ Sponsored by: Mellanox Technologies Modified:

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 10:25:46 2019 New Revision: 353258 URL: https://svnweb.freebsd.org/changeset/base/353258 Log: MFC r352993: Randomize the delay when waiting for VSC flag in mlx5core. The PRM suggests random 0 - 10ms to prevent multiple waiters on the same interval in

svn commit: r353257 - stable/12/sys/dev/mlx5/mlx5_core

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 10:25:08 2019 New Revision: 353257 URL: https://svnweb.freebsd.org/changeset/base/353257 Log: MFC r352993: Randomize the delay when waiting for VSC flag in mlx5core. The PRM suggests random 0 - 10ms to prevent multiple waiters on the same interval in

svn commit: r353255 - stable/12/usr.sbin/mlx5tool

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 10:23:27 2019 New Revision: 353255 URL: https://svnweb.freebsd.org/changeset/base/353255 Log: MFC r352992: Use size_t for byte_to_write variable when comparing to eeprom_info_out_len which is also size_t in mlx5tool(8). Submitted by: slavash@

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 10:24:19 2019 New Revision: 353256 URL: https://svnweb.freebsd.org/changeset/base/353256 Log: MFC r352992: Use size_t for byte_to_write variable when comparing to eeprom_info_out_len which is also size_t in mlx5tool(8). Submitted by: slavash@

svn commit: r353270 - head/sys/cddl/contrib/opensolaris/common/atomic/i386

2019-10-07 Thread Andriy Gapon
Author: avg Date: Mon Oct 7 12:53:27 2019 New Revision: 353270 URL: https://svnweb.freebsd.org/changeset/base/353270 Log: fix up r353168, add atomic_swap_64 to i386 version of opensolaris_atomic.S The compatibility code for the atomic operations in ZFS code is a bit messy. In some

svn commit: r353272 - in releng/12.1: share/man/man4 sys/conf sys/dev/mlx5 sys/dev/mlx5/mlx5_core sys/dev/mlx5/mlx5_en sys/dev/mlx5/mlx5_ib sys/modules/mlx5 sys/modules/mlx5en usr.sbin/mlx5tool

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 13:13:06 2019 New Revision: 353272 URL: https://svnweb.freebsd.org/changeset/base/353272 Log: MFS r353184, r353186, r353188, r353190, r353192, r353194, r353196, r353198, r353200, r353203, r353205, r353207, r353209, r353211, r353213, r353215, r353217,

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:32:19 2019 New Revision: 353183 URL: https://svnweb.freebsd.org/changeset/base/353183 Log: MFC r352955: Make sure the transmit loop doesn't get starved in ipoib. When the software send queue gets filled up, callbacks to if_transmit will stop. Make

svn commit: r353194 - stable/12/sys/dev/mlx5/mlx5_en

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:44:29 2019 New Revision: 353194 URL: https://svnweb.freebsd.org/changeset/base/353194 Log: MFC r352961: Implement macro for asserting priv lock in mlx5en. Sponsored by: Mellanox Technologies Modified: stable/12/sys/dev/mlx5/mlx5_en/en.h

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:45:06 2019 New Revision: 353195 URL: https://svnweb.freebsd.org/changeset/base/353195 Log: MFC r352961: Implement macro for asserting priv lock in mlx5en. Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/mlx5/mlx5_en/en.h

svn commit: r353203 - stable/12/sys/dev/mlx5/mlx5_en

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:59:09 2019 New Revision: 353203 URL: https://svnweb.freebsd.org/changeset/base/353203 Log: MFC r352965: Correct and update some counter names in mlx5en(4). Sponsored by: Mellanox Technologies Modified: stable/12/sys/dev/mlx5/mlx5_en/en.h Directory

svn commit: r353213 - stable/12/sys/dev/mlx5

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:10:29 2019 New Revision: 353213 URL: https://svnweb.freebsd.org/changeset/base/353213 Log: MFC r352970: Define MLX5_VSC_DOMAIN_SCAN_CRSPACE. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified: stable/12/sys/dev/mlx5/mlx5_ifc.h

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:11:27 2019 New Revision: 353214 URL: https://svnweb.freebsd.org/changeset/base/353214 Log: MFC r352970: Define MLX5_VSC_DOMAIN_SCAN_CRSPACE. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/mlx5/mlx5_ifc.h

svn commit: r353225 - stable/12/sys/dev/mlx5/mlx5_en

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:25:14 2019 New Revision: 353225 URL: https://svnweb.freebsd.org/changeset/base/353225 Log: MFC r352976: Unify prints in mlx5en(4). All prints in mlx5en(4) should use on of the macros: mlx5_en_err/dbg/warn Submitted by: slavash@ Sponsored by:

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 10:26:57 2019 New Revision: 353260 URL: https://svnweb.freebsd.org/changeset/base/353260 Log: MFC r352994: Improve mlx5_fwdump_prep logging in mlx5core. Submitted by: slavash@ Sponsored by: Mellanox Technologies Modified:

svn commit: r353261 - stable/12/sys/dev/mlx5/mlx5_en

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 10:27:50 2019 New Revision: 353261 URL: https://svnweb.freebsd.org/changeset/base/353261 Log: MFC r352995: Only update lossy buffers config when manual PFC configuration was done in mlx5en(4). Submitted by: kib@ Sponsored by: Mellanox Technologies

svn commit: r353259 - stable/12/sys/dev/mlx5/mlx5_core

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 10:26:23 2019 New Revision: 353259 URL: https://svnweb.freebsd.org/changeset/base/353259 Log: MFC r352994: Improve mlx5_fwdump_prep logging in mlx5core. Submitted by: slavash@ Sponsored by: Mellanox Technologies Modified:

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

2019-10-07 Thread Hans Petter Selasky
On 2019-10-07 10:00, Andriy Gapon wrote: Author: avg Date: Mon Oct 7 08:00:54 2019 New Revision: 353168 URL: https://svnweb.freebsd.org/changeset/base/353168 Log: ZFS: unconditionally use atomic_swap_64 Previously, the code used a plain store on platforms that lacked

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

2019-10-07 Thread Andriy Gapon
On 07/10/2019 13:37, Hans Petter Selasky wrote: > Hi, > > Is this yours for i386? > > You maybe need to include: > > /sys/i386/include/atomic.h:atomic_swap_64(volatile uint64_t *p, uint64_t v) Yes, it's me, but the fix is different. -- Andriy Gapon

svn commit: r353271 - releng/12.1/sys/ofed/drivers/infiniband/ulp/ipoib

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 12:54:28 2019 New Revision: 353271 URL: https://svnweb.freebsd.org/changeset/base/353271 Log: MFS r353182: Make sure the transmit loop doesn't get starved in ipoib. When the software send queue gets filled up, callbacks to if_transmit will stop. Make

svn commit: r353190 - stable/12/sys/dev/mlx5/mlx5_en

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:41:16 2019 New Revision: 353190 URL: https://svnweb.freebsd.org/changeset/base/353190 Log: MFC r352959: Check return value of mlx5_vector2eqn() function in mlx5en. Sponsored by: Mellanox Technologies Modified:

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:41:53 2019 New Revision: 353191 URL: https://svnweb.freebsd.org/changeset/base/353191 Log: MFC r352959: Check return value of mlx5_vector2eqn() function in mlx5en. Sponsored by: Mellanox Technologies Modified:

svn commit: r353209 - in stable/12/sys/dev/mlx5: . mlx5_core

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:06:37 2019 New Revision: 353209 URL: https://svnweb.freebsd.org/changeset/base/353209 Log: MFC r352968: Move mlx5_ifc_vsc_space_bits and mlx5_ifc_vsc_addr_bits to mlx5_ifc.h. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

svn commit: r353233 - stable/12/sys/dev/mlx5/mlx5_en

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:35:38 2019 New Revision: 353233 URL: https://svnweb.freebsd.org/changeset/base/353233 Log: MFC r352980: Add mlx5e_dbg() compatibility macro. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified: stable/12/sys/dev/mlx5/mlx5_en/en.h

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:36:30 2019 New Revision: 353234 URL: https://svnweb.freebsd.org/changeset/base/353234 Log: MFC r352980: Add mlx5e_dbg() compatibility macro. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/mlx5/mlx5_en/en.h

svn commit: r353239 - in stable/12: share/man/man4 sys/dev/mlx5 sys/dev/mlx5/mlx5_core sys/dev/mlx5/mlx5_en

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:45:20 2019 New Revision: 353239 URL: https://svnweb.freebsd.org/changeset/base/353239 Log: MFC r352983 and r353001: Move EEPROM information query from a sysctl in mlx5en(4) to an ioctl in mlx5core. The EEPROM information is not only a property of the

svn commit: r353240 - in stable/11: share/man/man4 sys/dev/mlx5 sys/dev/mlx5/mlx5_core sys/dev/mlx5/mlx5_en

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:46:33 2019 New Revision: 353240 URL: https://svnweb.freebsd.org/changeset/base/353240 Log: MFC r352983 and r353001: Move EEPROM information query from a sysctl in mlx5en(4) to an ioctl in mlx5core. The EEPROM information is not only a property of the

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 10:28:51 2019 New Revision: 353262 URL: https://svnweb.freebsd.org/changeset/base/353262 Log: MFC r352995: Only update lossy buffers config when manual PFC configuration was done in mlx5en(4). Submitted by: kib@ Sponsored by: Mellanox Technologies

svn commit: r353263 - stable/12/sys/dev/mlx5/mlx5_en

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 10:29:30 2019 New Revision: 353263 URL: https://svnweb.freebsd.org/changeset/base/353263 Log: MFC r352996: Add print to show user a reason for rejecting buffer size change in mlx5en(4). Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 10:30:09 2019 New Revision: 353264 URL: https://svnweb.freebsd.org/changeset/base/353264 Log: MFC r352996: Add print to show user a reason for rejecting buffer size change in mlx5en(4). Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:39:12 2019 New Revision: 353187 URL: https://svnweb.freebsd.org/changeset/base/353187 Log: MFC r352957: Update warning and error print formats in mlx5ib. Submitted by: slavash@ Sponsored by: Mellanox Technologies Modified:

svn commit: r353188 - stable/12/sys/dev/mlx5/mlx5_core

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:39:55 2019 New Revision: 353188 URL: https://svnweb.freebsd.org/changeset/base/353188 Log: MFC r352958: Make sure the number of IRQ vectors doesn't exceed 256 in mlx5core. The "intr" field in "struct mlx5_ifc_eqc_bits" is only 8 bits wide. Sponsored

svn commit: r353186 - stable/12/sys/dev/mlx5/mlx5_ib

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:38:32 2019 New Revision: 353186 URL: https://svnweb.freebsd.org/changeset/base/353186 Log: MFC r352957: Update warning and error print formats in mlx5ib. Submitted by: slavash@ Sponsored by: Mellanox Technologies Modified:

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:49:32 2019 New Revision: 353199 URL: https://svnweb.freebsd.org/changeset/base/353199 Log: MFC r352963: Cleanup naming of IRQ vectors in mlx5en. Remove unused IRQ naming functions and arrays. Sponsored by: Mellanox Technologies Modified:

svn commit: r353200 - stable/12/sys/dev/mlx5/mlx5_en

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:50:22 2019 New Revision: 353200 URL: https://svnweb.freebsd.org/changeset/base/353200 Log: MFC r352964: Export channel IRQ number as part of the "hw_ctx_debug" sysctl(8) in mlx5en(4). Sponsored by: Mellanox Technologies Modified:

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:17:21 2019 New Revision: 353220 URL: https://svnweb.freebsd.org/changeset/base/353220 Log: MFC r352973: Add missing blank line at the end of the print in mlx5core. Submitted by: slavash@ Sponsored by: Mellanox Technologies Modified:

svn commit: r353218 - in stable/11/sys: conf dev/mlx5/mlx5_core modules/mlx5

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:15:47 2019 New Revision: 353218 URL: https://svnweb.freebsd.org/changeset/base/353218 Log: MFC r352972: Remove no longer needed fwdump register tables from mlx5core. Submitted by: kib@ Sponsored by: Mellanox Technologies Deleted:

svn commit: r353219 - stable/12/sys/dev/mlx5/mlx5_core

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:16:43 2019 New Revision: 353219 URL: https://svnweb.freebsd.org/changeset/base/353219 Log: MFC r352973: Add missing blank line at the end of the print in mlx5core. Submitted by: slavash@ Sponsored by: Mellanox Technologies Modified:

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:34:39 2019 New Revision: 353232 URL: https://svnweb.freebsd.org/changeset/base/353232 Log: MFC r352979: Update definitons for PPTB and PBMC registers layouts in mlx5core. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

svn commit: r353241 - stable/12/usr.sbin/mlx5tool

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:48:20 2019 New Revision: 353241 URL: https://svnweb.freebsd.org/changeset/base/353241 Log: MFC r352984: Add the ability to query the EEPROM information in mlx5tool(8). Submitted by: slavash@ Sponsored by: Mellanox Technologies Modified:

svn commit: r353251 - stable/12/sys/dev/mlx5/mlx5_en

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 10:09:26 2019 New Revision: 353251 URL: https://svnweb.freebsd.org/changeset/base/353251 Log: MFC r352989: Seal transmit path with regards to using destroyed mutex in mlx5en(4). It may happen during link down that the running state may be observed

svn commit: r353269 - releng/12.1/sys/contrib/rdma/krping

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 12:51:36 2019 New Revision: 353269 URL: https://svnweb.freebsd.org/changeset/base/353269 Log: MFS r353180: Notify all sleeping threads of device removal in krping. Implement d_purge for krping_cdevsw. Submitted by: slavash@ Sponsored by: Mellanox

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:40:34 2019 New Revision: 353189 URL: https://svnweb.freebsd.org/changeset/base/353189 Log: MFC r352958: Make sure the number of IRQ vectors doesn't exceed 256 in mlx5core. The "intr" field in "struct mlx5_ifc_eqc_bits" is only 8 bits wide. Sponsored

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:09:25 2019 New Revision: 353212 URL: https://svnweb.freebsd.org/changeset/base/353212 Log: MFC r352969: Use the MLX5_VSC_DOMAIN_SEMAPHORES constant instead of hand-rolled symbol in mlx5core. Submitted by: kib@ Sponsored by: Mellanox Technologies

svn commit: r353211 - stable/12/sys/dev/mlx5/mlx5_core

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:08:33 2019 New Revision: 353211 URL: https://svnweb.freebsd.org/changeset/base/353211 Log: MFC r352969: Use the MLX5_VSC_DOMAIN_SEMAPHORES constant instead of hand-rolled symbol in mlx5core. Submitted by: kib@ Sponsored by: Mellanox Technologies

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:07:33 2019 New Revision: 353210 URL: https://svnweb.freebsd.org/changeset/base/353210 Log: MFC r352968: Move mlx5_ifc_vsc_space_bits and mlx5_ifc_vsc_addr_bits to mlx5_ifc.h. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

svn commit: r353235 - in stable/12/sys: conf dev/mlx5 dev/mlx5/mlx5_core dev/mlx5/mlx5_en modules/mlx5en

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:39:05 2019 New Revision: 353235 URL: https://svnweb.freebsd.org/changeset/base/353235 Log: MFC r352981: Import Linux code to query/set buffer state in mlx5en(4). Submitted by: kib@ Sponsored by: Mellanox Technologies Added:

svn commit: r353249 - stable/12/sys/dev/mlx5/mlx5_en

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:57:57 2019 New Revision: 353249 URL: https://svnweb.freebsd.org/changeset/base/353249 Log: MFC r352988: Remove unused cpu field from channel structure in mlx5en(4). Sponsored by: Mellanox Technologies Modified: stable/12/sys/dev/mlx5/mlx5_en/en.h

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:57:14 2019 New Revision: 353248 URL: https://svnweb.freebsd.org/changeset/base/353248 Log: MFC r352987: Remove mkey_be from channel structure in mlx5en(4). Use value from priv structure instead. This saves some space in the channel structure.

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:58:36 2019 New Revision: 353250 URL: https://svnweb.freebsd.org/changeset/base/353250 Log: MFC r352988: Remove unused cpu field from channel structure in mlx5en(4). Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/mlx5/mlx5_en/en.h

svn commit: r353265 - stable/12/sys/dev/mlx5/mlx5_core

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 10:30:49 2019 New Revision: 353265 URL: https://svnweb.freebsd.org/changeset/base/353265 Log: MFC r352997: Print numeric error_type and module_status in mlx5core in case the strings are not available. Submitted by: kib@ Sponsored by: Mellanox

svn commit: r353198 - in stable/12/sys/dev/mlx5: . mlx5_core

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:48:49 2019 New Revision: 353198 URL: https://svnweb.freebsd.org/changeset/base/353198 Log: MFC r352963: Cleanup naming of IRQ vectors in mlx5en. Remove unused IRQ naming functions and arrays. Sponsored by: Mellanox Technologies Modified:

svn commit: r353215 - in stable/12/sys/dev/mlx5: . mlx5_core

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:12:58 2019 New Revision: 353215 URL: https://svnweb.freebsd.org/changeset/base/353215 Log: MFC r352971: Read rege map from crdump scan space in mlx5core. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:13:53 2019 New Revision: 353216 URL: https://svnweb.freebsd.org/changeset/base/353216 Log: MFC r352971: Read rege map from crdump scan space in mlx5core. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:24:12 2019 New Revision: 353224 URL: https://svnweb.freebsd.org/changeset/base/353224 Log: MFC r352975: Unify prints in mlx5core. All prints in mlx5core should use on of the macros: mlx5_core_err/dbg/warn Submitted by: slavash@ Sponsored by:

svn commit: r353236 - in stable/11/sys: conf dev/mlx5 dev/mlx5/mlx5_core dev/mlx5/mlx5_en modules/mlx5en

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:40:57 2019 New Revision: 353236 URL: https://svnweb.freebsd.org/changeset/base/353236 Log: MFC r352981: Import Linux code to query/set buffer state in mlx5en(4). Submitted by: kib@ Sponsored by: Mellanox Technologies Added:

svn commit: r353237 - stable/12/sys/dev/mlx5/mlx5_en

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:42:08 2019 New Revision: 353237 URL: https://svnweb.freebsd.org/changeset/base/353237 Log: MFC r352982: Add support for buffer parameter manipulations in mlx5en(4). The following sysctls are added: dev.mce.N.conf.qos.cable_length

svn commit: r353243 - in stable/12/sys/dev/mlx5: . mlx5_en

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:51:03 2019 New Revision: 353243 URL: https://svnweb.freebsd.org/changeset/base/353243 Log: MFC r352985: Add sysctl(8) to get and set forward error correction, FEC, configuration in mlx5en(4). Sponsored by: Mellanox Technologies Modified:

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:52:10 2019 New Revision: 353244 URL: https://svnweb.freebsd.org/changeset/base/353244 Log: MFC r352985: Add sysctl(8) to get and set forward error correction, FEC, configuration in mlx5en(4). Sponsored by: Mellanox Technologies Modified:

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 10:21:37 2019 New Revision: 353254 URL: https://svnweb.freebsd.org/changeset/base/353254 Log: MFC r352991 and r353000: Wait for FW readiness before initializing command interface in mlx5core. Before attempting to initialize the command interface we must

svn commit: r353192 - stable/12/sys/dev/mlx5/mlx5_core

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:43:03 2019 New Revision: 353192 URL: https://svnweb.freebsd.org/changeset/base/353192 Log: MFC r352960: Fix for missing cleanup code in error case in mlx5en. Sponsored by: Mellanox Technologies Modified: stable/12/sys/dev/mlx5/mlx5_core/mlx5_main.c

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:43:45 2019 New Revision: 353193 URL: https://svnweb.freebsd.org/changeset/base/353193 Log: MFC r352960: Fix for missing cleanup code in error case in mlx5en. Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/mlx5/mlx5_core/mlx5_main.c

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:01:59 2019 New Revision: 353206 URL: https://svnweb.freebsd.org/changeset/base/353206 Log: MFC r352966: Add port module event software counters in mlx5core. While at it, fixup PME based on latest PRM defines. Submitted by: slavash@ Sponsored by:

svn commit: r353205 - in stable/12/sys/dev/mlx5: . mlx5_core mlx5_en

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:01:21 2019 New Revision: 353205 URL: https://svnweb.freebsd.org/changeset/base/353205 Log: MFC r352966: Add port module event software counters in mlx5core. While at it, fixup PME based on latest PRM defines. Submitted by: slavash@ Sponsored by:

svn commit: r353207 - in stable/12/sys/dev/mlx5: . mlx5_core

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:03:51 2019 New Revision: 353207 URL: https://svnweb.freebsd.org/changeset/base/353207 Log: MFC r352967: Make the mlx5_vsc_wait_on_flag(9) function global. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

svn commit: r353217 - in stable/12/sys: conf dev/mlx5/mlx5_core modules/mlx5

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:14:50 2019 New Revision: 353217 URL: https://svnweb.freebsd.org/changeset/base/353217 Log: MFC r352972: Remove no longer needed fwdump register tables from mlx5core. Submitted by: kib@ Sponsored by: Mellanox Technologies Deleted:

svn commit: r353229 - stable/12/sys/dev/mlx5

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:32:02 2019 New Revision: 353229 URL: https://svnweb.freebsd.org/changeset/base/353229 Log: MFC r352978: Add definition for the Port Buffer Status Register in mlx5core. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:32:53 2019 New Revision: 353230 URL: https://svnweb.freebsd.org/changeset/base/353230 Log: MFC r352978: Add definition for the Port Buffer Status Register in mlx5core. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

svn commit: r353231 - stable/12/sys/dev/mlx5

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:33:49 2019 New Revision: 353231 URL: https://svnweb.freebsd.org/changeset/base/353231 Log: MFC r352979: Update definitons for PPTB and PBMC registers layouts in mlx5core. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:31:01 2019 New Revision: 353228 URL: https://svnweb.freebsd.org/changeset/base/353228 Log: MFC r352977: Sort the ports registers definitions numerically in mlx5core. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

svn commit: r353245 - stable/12/sys/dev/mlx5/mlx5_core

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:53:12 2019 New Revision: 353245 URL: https://svnweb.freebsd.org/changeset/base/353245 Log: MFC r352986: Return an error from ioctl(MLX5_FW_RESET) if reset was rejected in mlx5core. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:54:08 2019 New Revision: 353246 URL: https://svnweb.freebsd.org/changeset/base/353246 Log: MFC r352986: Return an error from ioctl(MLX5_FW_RESET) if reset was rejected in mlx5core. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

svn commit: r353253 - in stable/12/sys/dev/mlx5: . mlx5_core

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 10:20:23 2019 New Revision: 353253 URL: https://svnweb.freebsd.org/changeset/base/353253 Log: MFC r352991 and 353000: Wait for FW readiness before initializing command interface in mlx5core. Before attempting to initialize the command interface we must

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 10:33:32 2019 New Revision: 353268 URL: https://svnweb.freebsd.org/changeset/base/353268 Log: MFC r352998: Bump driver version for mlx5core, mlx5en(4) and mlx5ib(4). Sponsored by: Mellanox Technologies Modified:

svn commit: r353196 - in stable/12/sys: conf dev/mlx5 dev/mlx5/mlx5_core dev/mlx5/mlx5_en modules/mlx5

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 08:46:22 2019 New Revision: 353196 URL: https://svnweb.freebsd.org/changeset/base/353196 Log: MFC r352962: Add support for Multi-Physical Function Switch, MPFS, in mlx5en. MPFS is a logical switch in the Mellanox device which forward packets based on a

  1   2   >