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: r347794 - stable/11/sys/compat/linuxkpi/common/include/linux

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:04:15 2019 New Revision: 347794 URL: https://svnweb.freebsd.org/changeset/base/347794 Log: MFC r347190: Use PCIV_INVALID in pci_channel_offline() in the LinuxKPI. Build tested drm-current-kmod prior to commit. Submitted by: slavash@

svn commit: r347796 - in stable/11/sys: compat/linuxkpi/common/include/linux conf dev/mlx5/mlx5_en modules/mlx5en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:09:06 2019 New Revision: 347796 URL: https://svnweb.freebsd.org/changeset/base/347796 Log: MFC r347246: Add support for Dynamic Interrupt Moderation, DIM, in mlx5en(4). Add support for DIM based on Linux, with some minor adaptions specific to

svn commit: r347797 - in stable/11/sys/dev/mlx5: . mlx5_fpga mlx5_fpga_tools

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:11:02 2019 New Revision: 347797 URL: https://svnweb.freebsd.org/changeset/base/347797 Log: MFC r347247: Add MLX5_FPGA_RELOAD IOCTL(2) to mlx5fpga. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:13:21 2019 New Revision: 347800 URL: https://svnweb.freebsd.org/changeset/base/347800 Log: MFC r347250: Add temperature warning event to log in mlx5core. Temperature warning event is sent by FW to indicate high temperature as detected by one of the

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:12:38 2019 New Revision: 347799 URL: https://svnweb.freebsd.org/changeset/base/347799 Log: MFC r347249: Correctly define the interface state bits in mlx5en(4). While at it remove unused interface state bits. This also fixes and issue during

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:11:45 2019 New Revision: 347798 URL: https://svnweb.freebsd.org/changeset/base/347798 Log: MFC r347248: Enable FPGA and FPGA QP errors for EQ and call the handler in mlx5core. Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:03:16 2019 New Revision: 347793 URL: https://svnweb.freebsd.org/changeset/base/347793 Log: MFC r347188: Disabling a PCI device should only disable busmaster in the LinuxKPI. As Linux comment for this function point: Signal to the system that the PCI

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:02:31 2019 New Revision: 347792 URL: https://svnweb.freebsd.org/changeset/base/347792 Log: MFC r347187: Implement print_hex_dump_debug() function macro in the LinuxKPI. Build tested drm-current-kmod prior to commit. Submitted by: slavash@

svn commit: r347791 - in stable/11/sys/compat/linuxkpi/common: include/linux src

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 17:01:39 2019 New Revision: 347791 URL: https://svnweb.freebsd.org/changeset/base/347791 Log: MFC r347185: Allow controlling pr_debug at runtime in the LinuxKPI. Turning on pr_debug at compile time make it non-optional at runtime. This often means that

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:43:16 2019 New Revision: 347789 URL: https://svnweb.freebsd.org/changeset/base/347789 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: r347790 - in stable/12/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 16:44:40 2019 New Revision: 347790 URL: https://svnweb.freebsd.org/changeset/base/347790 Log: MFC r347325: Bump the Mellanox driver version numbers and the FreeBSD version number. Sponsored by: Mellanox Technologies Modified:

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:40:12 2019 New Revision: 347784 URL: https://svnweb.freebsd.org/changeset/base/347784 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: r347788 - in stable/12/sys/dev/mlx5: . mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:42:40 2019 New Revision: 347788 URL: https://svnweb.freebsd.org/changeset/base/347788 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: r347787 - stable/12/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:41:54 2019 New Revision: 347787 URL: https://svnweb.freebsd.org/changeset/base/347787 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: r347786 - stable/12/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:41:21 2019 New Revision: 347786 URL: https://svnweb.freebsd.org/changeset/base/347786 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: r347785 - stable/12/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:40:47 2019 New Revision: 347785 URL: https://svnweb.freebsd.org/changeset/base/347785 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: r347783 - stable/12/sys/dev/mlx5

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:39:37 2019 New Revision: 347783 URL: https://svnweb.freebsd.org/changeset/base/347783 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: r347782 - stable/12/sys/dev/mlx5/mlx5_en

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

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:38:19 2019 New Revision: 347781 URL: https://svnweb.freebsd.org/changeset/base/347781 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: r347780 - stable/12/sys/dev/mlx5/mlx5_core

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

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:37:00 2019 New Revision: 347779 URL: https://svnweb.freebsd.org/changeset/base/347779 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: r347778 - in stable/12: 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 16:36:10 2019 New Revision: 347778 URL: https://svnweb.freebsd.org/changeset/base/347778 Log: MFC r347313: Implement firmware reset from userspace in mlx5tool(8). Submitted by: kib@ Sponsored by: Mellanox Technologies Modified:

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

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

svn commit: r347776 - stable/12/contrib/ofed/libmlx5

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:34:48 2019 New Revision: 347776 URL: https://svnweb.freebsd.org/changeset/base/347776 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: r347775 - stable/12/sys/dev/mlx5/mlx5_en

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

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

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

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:32:59 2019 New Revision: 347773 URL: https://svnweb.freebsd.org/changeset/base/347773 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: r347772 - in stable/12/sys/dev/mlx5: . mlx5_core

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

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:31:39 2019 New Revision: 347771 URL: https://svnweb.freebsd.org/changeset/base/347771 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: r347770 - in stable/12/sys/dev/mlx5: . mlx5_core mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:31:03 2019 New Revision: 347770 URL: https://svnweb.freebsd.org/changeset/base/347770 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: r347769 - stable/12/sys/dev/mlx5/mlx5_ib

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:30:25 2019 New Revision: 347769 URL: https://svnweb.freebsd.org/changeset/base/347769 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: r347768 - stable/12/sys/dev/mlx5/mlx5_ib

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

svn commit: r347767 - in stable/12/contrib/ofed/libibverbs: . examples

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

svn commit: r347766 - in stable/12/sys/ofed: drivers/infiniband/core include/rdma

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:27:21 2019 New Revision: 347766 URL: https://svnweb.freebsd.org/changeset/base/347766 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: r347765 - stable/12/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:26:46 2019 New Revision: 347765 URL: https://svnweb.freebsd.org/changeset/base/347765 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: r347764 - in stable/12/sys/dev/mlx5: . mlx5_core mlx5_en mlx5_ib

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

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

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

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:24:34 2019 New Revision: 347762 URL: https://svnweb.freebsd.org/changeset/base/347762 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: r347761 - stable/12/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:23:58 2019 New Revision: 347761 URL: https://svnweb.freebsd.org/changeset/base/347761 Log: MFC r347296: Correct check for the calibration generation in mlx5en(4). If generation is cleared due to hardware clock failure, check for it before the

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

2019-05-16 Thread Hans Petter Selasky
On 2019-05-16 18:15, Hans Petter Selasky wrote: Author: hselasky Date: Thu May 16 16:15:20 2019 New Revision: 347758 URL: https://svnweb.freebsd.org/changeset/base/347758 Log: MFC r347295: Add vnic steering drop statistics in mlx5en(4). ^^^ should be MFC r347294, like in the mergeinfo

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:21:32 2019 New Revision: 347760 URL: https://svnweb.freebsd.org/changeset/base/347760 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: r347758 - in stable/12/sys/dev/mlx5: . mlx5_core mlx5_en

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

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:14:43 2019 New Revision: 347757 URL: https://svnweb.freebsd.org/changeset/base/347757 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: r347756 - stable/12/sys/dev/mlx5/mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:14:03 2019 New Revision: 347756 URL: https://svnweb.freebsd.org/changeset/base/347756 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: r347754 - stable/12/sys/dev/mlx5/mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:12:51 2019 New Revision: 347754 URL: https://svnweb.freebsd.org/changeset/base/347754 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: r347755 - stable/12/sys/ofed/drivers/infiniband/ulp/ipoib

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:13:29 2019 New Revision: 347755 URL: https://svnweb.freebsd.org/changeset/base/347755 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: r347753 - in stable/12: share/man/man4 usr.sbin/mlx5tool

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

svn commit: r347752 - in stable/12: sys/dev/mlx5 sys/dev/mlx5/mlx5_core usr.sbin/mlx5tool

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

svn commit: r347751 - in stable/12: 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 16:11:03 2019 New Revision: 347751 URL: https://svnweb.freebsd.org/changeset/base/347751 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: r347750 - stable/12/sys/dev/mlx5/mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:10:24 2019 New Revision: 347750 URL: https://svnweb.freebsd.org/changeset/base/347750 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: r347749 - in stable/12: 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 16:09:16 2019 New Revision: 347749 URL: https://svnweb.freebsd.org/changeset/base/347749 Log: MFC r347285 and r347327: Initial version of Mellanox in-kernel firmware upgrade support. Submitted by: slavash@ Sponsored by: Mellanox Technologies Added:

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

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

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

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

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:06:52 2019 New Revision: 347746 URL: https://svnweb.freebsd.org/changeset/base/347746 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: r347745 - stable/12/usr.sbin/mlx5tool

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

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

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

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:05:07 2019 New Revision: 347743 URL: https://svnweb.freebsd.org/changeset/base/347743 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: r347742 - stable/12/sys/ofed/drivers/infiniband/ulp/ipoib

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:04:23 2019 New Revision: 347742 URL: https://svnweb.freebsd.org/changeset/base/347742 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: r347741 - stable/12/sys/dev/mlx5/mlx5_en

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

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:03:02 2019 New Revision: 347740 URL: https://svnweb.freebsd.org/changeset/base/347740 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: r347739 - stable/12/sys/dev/mlx5

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:02:19 2019 New Revision: 347739 URL: https://svnweb.freebsd.org/changeset/base/347739 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: r347738 - stable/12/sys/dev/mlx5

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

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

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

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:00:00 2019 New Revision: 347735 URL: https://svnweb.freebsd.org/changeset/base/347735 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: r347736 - in stable/12/sys/dev/mlx5: . mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 16:00:37 2019 New Revision: 347736 URL: https://svnweb.freebsd.org/changeset/base/347736 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: r347734 - stable/12/sys/dev/mlx5

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

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 15:57:59 2019 New Revision: 347732 URL: https://svnweb.freebsd.org/changeset/base/347732 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: r347733 - stable/12/sys/dev/mlx5/mlx5_core

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

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 15:57:14 2019 New Revision: 347731 URL: https://svnweb.freebsd.org/changeset/base/347731 Log: MFC r347267: Make sure the running variable is properly set for ratelimited SQs in mlx5en(4). Else the SQs won't be properly released when closing rate-limited

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

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

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

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

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 15:55:08 2019 New Revision: 347728 URL: https://svnweb.freebsd.org/changeset/base/347728 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: r347726 - stable/12/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 15:53:12 2019 New Revision: 347726 URL: https://svnweb.freebsd.org/changeset/base/347726 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: r347727 - stable/12/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 15:53:48 2019 New Revision: 347727 URL: https://svnweb.freebsd.org/changeset/base/347727 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: r347725 - stable/12/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 15:52:18 2019 New Revision: 347725 URL: https://svnweb.freebsd.org/changeset/base/347725 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: r347724 - stable/12/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 15:51:28 2019 New Revision: 347724 URL: https://svnweb.freebsd.org/changeset/base/347724 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: r347723 - stable/12/sys/dev/mlx5/mlx5_ib

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

svn commit: r347722 - in stable/12/sys/dev: mlx4/mlx4_ib mlx5/mlx5_ib

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

svn commit: r347721 - stable/12/sys/ofed/drivers/infiniband/core

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

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 15:48:19 2019 New Revision: 347720 URL: https://svnweb.freebsd.org/changeset/base/347720 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: r347719 - stable/12/sys/dev/mlx5/mlx5_en

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 15:47:33 2019 New Revision: 347719 URL: https://svnweb.freebsd.org/changeset/base/347719 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: r347718 - in stable/12/sys/dev/mlx5: . mlx5_en

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

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 15:46:04 2019 New Revision: 347717 URL: https://svnweb.freebsd.org/changeset/base/347717 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: r347716 - in stable/12/sys/dev/mlx5: . mlx5_core

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 15:45:10 2019 New Revision: 347716 URL: https://svnweb.freebsd.org/changeset/base/347716 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: r347715 - stable/12/sys/dev/mlx5/mlx5_ib

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

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

2019-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 16 15:43:34 2019 New Revision: 347714 URL: https://svnweb.freebsd.org/changeset/base/347714 Log: MFC r347250: Add temperature warning event to log in mlx5core. Temperature warning event is sent by FW to indicate high temperature as detected by one of the

<    7   8   9   10   11   12   13   14   15   16   >