svn commit: r354439 - stable/12/sys/amd64/conf

2019-11-07 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 7 13:01:09 2019 New Revision: 354439 URL: https://svnweb.freebsd.org/changeset/base/354439 Log: Revert accidential chunk added to GENERIC from previous commit. This is a direct commit. Sponsored by: Mellanox Technologies Modified:

svn commit: r354438 - in stable/12/sys: amd64/conf netinet netinet6 sys

2019-11-07 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 7 12:58:14 2019 New Revision: 354438 URL: https://svnweb.freebsd.org/changeset/base/354438 Log: Partial MFC of CSUM_SND_TAG flag from r348254. Add CSUM_SND_TAG flag and set this flag for outgoing ratelimited mbufs. This is a direct commit.

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

2019-11-04 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 4 14:19:09 2019 New Revision: 354335 URL: https://svnweb.freebsd.org/changeset/base/354335 Log: Enable device class group attributes in the LinuxKPI. Bump the __FreeBSD_version to force recompilation of external kernel modules due to structure change.

Re: svn commit: r353876 - head/sys/kern

2019-10-22 Thread Hans Petter Selasky
On 2019-10-22 17:29, Gleb Smirnoff wrote: L> L> panic: Assertion (vm_offset_t)et >= td->td_kstack && (vm_offset_t)et + L> sizeof(struct epoch_tracker) < td->td_kstack + td->td_kstack_pages * L> PAGE_SIZE failed at /workspace/src/sys/kern/subr_epoch.c:373 Probably doesn't matter that much, but

Re: svn commit: r353635 - in head/sys: netinet netinet6

2019-10-17 Thread Hans Petter Selasky
On 2019-10-17 17:08, Gleb Smirnoff wrote: On Wed, Oct 16, 2019 at 10:46:44PM +0200, Hans Petter Selasky wrote: H> > as far as I remember I was against this changeset and I had H> > several other developers agreed that this should be fixed in H> > different way. Why did you pro

Re: svn commit: r353635 - in head/sys: netinet netinet6

2019-10-16 Thread Hans Petter Selasky
On 2019-10-16 18:57, Gleb Smirnoff wrote: Hans, as far as I remember I was against this changeset and I had several other developers agreed that this should be fixed in different way. Why did you proceed with checking it in? :( Hi Gleb, This issue has been discussed in-depth at various

Re: svn commit: r353633 - head/sys/ofed/include/rdma

2019-10-16 Thread Hans Petter Selasky
On 2019-10-16 18:55, Gleb Smirnoff wrote: On Wed, Oct 16, 2019 at 08:56:07AM +, Hans Petter Selasky wrote: H> Author: hselasky H> Date: Wed Oct 16 08:56:07 2019 H> New Revision: 353633 H> URL: https://svnweb.freebsd.org/changeset/base/353633 H> H> Log: H> VLA

Re: svn commit: r353642 - head/sys/dev/usb/controller

2019-10-16 Thread Hans Petter Selasky
On 2019-10-16 15:53, Emmanuel Vadot wrote: Author: manu Date: Wed Oct 16 13:53:53 2019 New Revision: 353642 URL: https://svnweb.freebsd.org/changeset/base/353642 Log: dwc3: Use a pair of ()'s around arguments for some macros Reported by: hselasky MFC after: 1 week X-MFC-With:

svn commit: r353635 - in head/sys: netinet netinet6

2019-10-16 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 16 09:11:49 2019 New Revision: 353635 URL: https://svnweb.freebsd.org/changeset/base/353635 Log: Fix panic in network stack due to use after free when receiving partial fragmented packets before a network interface is detached. When sending IPv4 or IPv6

svn commit: r353633 - head/sys/ofed/include/rdma

2019-10-16 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 16 08:56:07 2019 New Revision: 353633 URL: https://svnweb.freebsd.org/changeset/base/353633 Log: VLAN_TRUNKDEV() requires epochification in ibcore after r353292. Sponsored by: Mellanox Technologies Modified: head/sys/ofed/include/rdma/ib_addr.h Modified:

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

2019-10-16 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 16 08:55:29 2019 New Revision: 353632 URL: https://svnweb.freebsd.org/changeset/base/353632 Log: Replace rdma_is_upper_dev_rcu() with rdma_vlan_dev_real_dev() in ibcore. This reduces the number of references to VLAN_TRUNKDEV() in ibcore. Currently only VLAN is

svn commit: r353631 - head/sys/ofed/drivers/infiniband/ulp/ipoib

2019-10-16 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 16 08:40:58 2019 New Revision: 353631 URL: https://svnweb.freebsd.org/changeset/base/353631 Log: VLAN_DEVAT() requires epochification in ipoib after r353292. Sponsored by: Mellanox Technologies Modified:

svn commit: r353550 - head/sys/net

2019-10-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 15 12:08:09 2019 New Revision: 353550 URL: https://svnweb.freebsd.org/changeset/base/353550 Log: The two functions ifnet_byindex() and ifnet_byindex_locked() are exactly the same after the network stack was epochified. Merge the two into one function and

svn commit: r353549 - head/sys/net

2019-10-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 15 11:20:16 2019 New Revision: 353549 URL: https://svnweb.freebsd.org/changeset/base/353549 Log: Exclude the network link eventhandler from epochification after r353292. This fixes the following assert when "options RATELIMIT" is used: panic() malloc()

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

2019-10-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 15 11:14:14 2019 New Revision: 353548 URL: https://svnweb.freebsd.org/changeset/base/353548 Log: Fix missing epochification of the LinuxKPI after r353292. Sponsored by: Mellanox Technologies Modified:

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

2019-10-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 15 11:12:31 2019 New Revision: 353547 URL: https://svnweb.freebsd.org/changeset/base/353547 Log: Fix missing epochification of the ibcore code after r353292. Sponsored by: Mellanox Technologies Modified: head/sys/ofed/drivers/infiniband/core/ib_addr.c

svn commit: r353546 - head/sys/ofed/drivers/infiniband/ulp/ipoib

2019-10-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 15 11:11:21 2019 New Revision: 353546 URL: https://svnweb.freebsd.org/changeset/base/353546 Log: Fix missing epochification of the ipoib code after r353292. Sponsored by: Mellanox Technologies Modified: head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_cm.c

Re: svn commit: r353533 - in head/sys: arm64/conf conf dev/usb/controller

2019-10-15 Thread Hans Petter Selasky
On 2019-10-15 00:27, Emmanuel Vadot wrote: +#defineDWC3_GTXFIFOSIZ(x) (0xc300 + 0x4 * x) +#defineDWC3_GRXFIFOSIZ(x) (0xc380 + 0x4 * x) Use a pair of ()'s around arguments: #define DWC3_GRXFIFOSIZ(x) (0xc380 + 0x4 * (x)) --HPS

Re: svn commit: r353292 - in head/sys: contrib/ipfilter/netinet dev/firewire dev/iicbus dev/usb/net kern net netgraph netinet netinet6 netipsec netpfil/ipfw netpfil/pf ofed/drivers/infiniband/ulp/ipoi

2019-10-14 Thread Hans Petter Selasky
On 2019-10-14 12:03, Hans Petter Selasky wrote: On 2019-10-08 00:40, Gleb Smirnoff wrote: Author: glebius Date: Mon Oct  7 22:40:05 2019 New Revision: 353292 URL: https://svnweb.freebsd.org/changeset/base/353292 Log:    Widen NET_EPOCH coverage.    When epoch(9) was introduced to network stack

Re: svn commit: r353292 - in head/sys: contrib/ipfilter/netinet dev/firewire dev/iicbus dev/usb/net kern net netgraph netinet netinet6 netipsec netpfil/ipfw netpfil/pf ofed/drivers/infiniband/ulp/ipoi

2019-10-14 Thread Hans Petter Selasky
On 2019-10-08 00:40, Gleb Smirnoff wrote: Author: glebius Date: Mon Oct 7 22:40:05 2019 New Revision: 353292 URL: https://svnweb.freebsd.org/changeset/base/353292 Log: Widen NET_EPOCH coverage. When epoch(9) was introduced to network stack, it was basically dropped in place of

svn commit: r353407 - releng/12.1/sys/dev/mlx5/mlx5_en

2019-10-10 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 10 16:04:43 2019 New Revision: 353407 URL: https://svnweb.freebsd.org/changeset/base/353407 Log: MFS r353405: Fix regression issue after r352989: As noted by the commit message, callouts are now persistant and should not be in the auto-zero section of the

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

2019-10-10 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 10 15:38:08 2019 New Revision: 353406 URL: https://svnweb.freebsd.org/changeset/base/353406 Log: MFC r353321: Fix regression issue after r352989: As noted by the commit message, callouts are now persistant and should not be in the auto-zero section of the

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

2019-10-10 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 10 15:36:45 2019 New Revision: 353405 URL: https://svnweb.freebsd.org/changeset/base/353405 Log: MFC r353321: Fix regression issue after r352989: As noted by the commit message, callouts are now persistant and should not be in the auto-zero section of the

svn commit: r353359 - head/sys/netinet

2019-10-09 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 9 17:08:40 2019 New Revision: 353359 URL: https://svnweb.freebsd.org/changeset/base/353359 Log: Factor out TCP rateset destruction code. Ensure the epoch_call() function is not called more than one time before the callback has been executed, by always

svn commit: r353353 - head/sys/netinet

2019-10-09 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 9 16:48:48 2019 New Revision: 353353 URL: https://svnweb.freebsd.org/changeset/base/353353 Log: Fix locking order reversal in the TCP ratelimit code by moving destructors outside the rsmtx mutex. Witness message: lock order reversal: (sleepable after

svn commit: r353321 - head/sys/dev/mlx5/mlx5_en

2019-10-08 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 8 19:49:25 2019 New Revision: 353321 URL: https://svnweb.freebsd.org/changeset/base/353321 Log: Fix regression issue after r352989: As noted by the commit message, callouts are now persistant and should not be in the auto-zero section of the RQ's and SQ's.

Re: svn commit: r353274 - in head/sys: net sys

2019-10-08 Thread Hans Petter Selasky
On 2019-10-08 14:48, Bjoern A. Zeeb wrote: On 7 Oct 2019, at 14:15, Hans Petter Selasky wrote: Author: hselasky Date: Mon Oct  7 14:15:41 2019 New Revision: 353274 URL: https://svnweb.freebsd.org/changeset/base/353274 Log:   Factor out VNET shutdown check into an own vnet structure field

svn commit: r353302 - head/sys/net

2019-10-08 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 8 11:06:24 2019 New Revision: 353302 URL: https://svnweb.freebsd.org/changeset/base/353302 Log: Fix regression issue after r353274: Make sure the vnet_shutdown field is not set until after all VNET_SYSUNINIT()'s in the SI_SUB_VNET_DONE subsystem have been

svn commit: r353280 - in releng/12.1/sys/dev/usb: . controller

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 15:29:37 2019 New Revision: 353280 URL: https://svnweb.freebsd.org/changeset/base/353280 Log: MFS r353177: 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: r353278 - releng/12.1/sys/dev/usb

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 15:25:00 2019 New Revision: 353278 URL: https://svnweb.freebsd.org/changeset/base/353278 Log: MFS r353173: 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: r353277 - releng/12.1/sys/dev/usb/controller

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 15:03:24 2019 New Revision: 353277 URL: https://svnweb.freebsd.org/changeset/base/353277 Log: MFS r353169: The maximum TD size is 31 and not 15. Found at: EuroBSDcon 2019 Sponsored by: Mellanox Technologies Approved by: re (gjb) Modified:

svn commit: r353275 - head/sys/net

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 14:24:59 2019 New Revision: 353275 URL: https://svnweb.freebsd.org/changeset/base/353275 Log: Compile time assert a valid subsystem for all VNET init and uninit functions. Using VNET init and uninit functions outside the given range has undefined behaviour.

svn commit: r353274 - in head/sys: net sys

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 14:15:41 2019 New Revision: 353274 URL: https://svnweb.freebsd.org/changeset/base/353274 Log: Factor out VNET shutdown check into an own vnet structure field. Remove the now obsolete vnet_state field. This greatly simplifies the detection of VNET shutdown

svn commit: r353273 - head/sys/dev/usb/controller

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 13:40:29 2019 New Revision: 353273 URL: https://svnweb.freebsd.org/changeset/base/353273 Log: Make control endpoint quirk for xhci(4) configurable. MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/dev/usb/controller/xhci.c

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: 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: 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

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

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: r353267 - in stable/12/sys/dev/mlx5: mlx5_core mlx5_en mlx5_ib

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

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 10:31:27 2019 New Revision: 353266 URL: https://svnweb.freebsd.org/changeset/base/353266 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: 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: 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: 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: 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: 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: 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:

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: 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: 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: 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: 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: r353252 - stable/11/sys/dev/mlx5/mlx5_en

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 10:16:50 2019 New Revision: 353252 URL: https://svnweb.freebsd.org/changeset/base/353252 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: 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: 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: 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: r353247 - stable/12/sys/dev/mlx5/mlx5_en

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:55:13 2019 New Revision: 353247 URL: https://svnweb.freebsd.org/changeset/base/353247 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: r353227 - stable/12/sys/dev/mlx5

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

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:28:53 2019 New Revision: 353226 URL: https://svnweb.freebsd.org/changeset/base/353226 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: 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: 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: 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: r353222 - stable/11/sys/dev/mlx5/mlx5_core

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:18:47 2019 New Revision: 353222 URL: https://svnweb.freebsd.org/changeset/base/353222 Log: MFC r352974: Add proper print in case of 0x0 health syndrome in mlx5core. In case of health counter fails to increment it indicates a bad device health. In

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

2019-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 7 09:18:09 2019 New Revision: 353221 URL: https://svnweb.freebsd.org/changeset/base/353221 Log: MFC r352974: Add proper print in case of 0x0 health syndrome in mlx5core. In case of health counter fails to increment it indicates a bad device health. In

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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:

<    3   4   5   6   7   8   9   10   11   12   >