Re: svn commit: r322272 - head/sys/compat/linuxkpi/common/src

2021-01-07 Thread Hans Petter Selasky
Let's move the discussion over here: https://reviews.freebsd.org/D28017 --HPS ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Re: svn commit: r322272 - head/sys/compat/linuxkpi/common/src

2021-01-07 Thread Hans Petter Selasky
On 1/6/21 9:44 PM, Ryan Stone wrote: On Tue, Aug 8, 2017 at 3:36 PM Alexander Motin wrote: Author: mav Date: Tue Aug 8 19:36:34 2017 New Revision: 322272 URL: https://svnweb.freebsd.org/changeset/base/322272 Log: Fix few issues of LinuxKPI workqueue. LinuxKPI workqueue wrappers

Re: svn commit: r365787 - head/sys/fs/tmpfs

2021-01-05 Thread Hans Petter Selasky
On 1/1/21 7:44 PM, Alexey Dokuchaev wrote: __mtx_lock_sleep() tmpfs_free_node() tmpfs_fo_close() _fdrop() closef() fdescfree_fds() fdescfree() exit1() sigexit() postsig() ast() doreit_ast() I'm seeing the same and I have a clue what is going on. Are you

svn commit: r368801 - head/sys/dev/usb/net

2020-12-19 Thread Hans Petter Selasky
Author: hselasky Date: Sat Dec 19 11:03:54 2020 New Revision: 368801 URL: https://svnweb.freebsd.org/changeset/base/368801 Log: Ensure a minimum packet length before creating a mbuf in if_ure. Sponsored by: Mellanox Technologies // NVIDIA Networking Modified:

svn commit: r368799 - head/sys/dev/usb/net

2020-12-19 Thread Hans Petter Selasky
Author: hselasky Date: Sat Dec 19 11:00:11 2020 New Revision: 368799 URL: https://svnweb.freebsd.org/changeset/base/368799 Log: Move SYSCTL_ADD_PROC() to unlocked context in if_ure to avoid lock order reversal. MFC after:1 week Reported by: Mark Millard Sponsored by: Mellanox

svn commit: r368664 - head/sys/dev/usb

2020-12-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 15 15:36:41 2020 New Revision: 368664 URL: https://svnweb.freebsd.org/changeset/base/368664 Log: Improve handling of alternate settings in the USB stack. Move initialization of num_altsetting under USB_CFG_INIT, else there will be a page fault when

Re: svn commit: r368523 - head/sys/vm

2020-12-15 Thread Hans Petter Selasky
On 12/15/20 3:27 PM, Mark Johnston wrote: I'm seeing the following panic: panic("vm_wait in early boot") vm_wait_domain() kmem_alloc_contig_pages() kmem_alloc_contig_domainset() kmem_alloc_contig() contigmalloc() x86bios_alloc() vesa_configure() vesa_mod_event() vesa_module_register_init()

Re: svn commit: r368523 - head/sys/vm

2020-12-15 Thread Hans Petter Selasky
On 12/10/20 9:44 PM, Bryan Drewery wrote: Author: bdrewery Date: Thu Dec 10 20:44:29 2020 New Revision: 368523 URL: https://svnweb.freebsd.org/changeset/base/368523 Log: contig allocs: Don't retry forever on M_WAITOK. This restores behavior from before domain iterators were added in

svn commit: r368659 - in head/sys: compat/linuxkpi/common/src dev/usb sys

2020-12-15 Thread Hans Petter Selasky
Tue Dec 15 12:05:07 2020 (r368659) @@ -2,7 +2,7 @@ /*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * - * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. + * Copyright (c) 2008-2020 Hans Petter Selasky. All rights reserved. * * Redistribution and use in so

svn commit: r368658 - head/sys/dev/usb

2020-12-15 Thread Hans Petter Selasky
/sys/dev/usb/usb_parse.cTue Dec 15 09:43:18 2020 (r368657) +++ head/sys/dev/usb/usb_parse.cTue Dec 15 11:51:17 2020 (r368658) @@ -2,7 +2,7 @@ /*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * - * Copyright (c) 2008 Hans Petter Selasky. All rights reserved

svn commit: r368632 - head/lib/libusb

2020-12-14 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 14 11:56:16 2020 New Revision: 368632 URL: https://svnweb.freebsd.org/changeset/base/368632 Log: Be bug compatible with other operating systems by allowing non-sequential interface numbering for USB descriptors in userspace. Else certain USB control requests

svn commit: r368505 - stable/10/sbin/ifconfig

2020-12-10 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 10 09:39:27 2020 New Revision: 368505 URL: https://svnweb.freebsd.org/changeset/base/368505 Log: Fix bug in ifconfig regarding VLAN creation. Detection of VLAN interface type must happen before detection of interface type by prefix. Else the following

svn commit: r368504 - stable/11/sbin/ifconfig

2020-12-10 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 10 09:37:06 2020 New Revision: 368504 URL: https://svnweb.freebsd.org/changeset/base/368504 Log: Fix bug in ifconfig regarding VLAN creation. Detection of VLAN interface type must happen before detection of interface type by prefix. Else the following

svn commit: r368502 - stable/12/sbin/ifconfig

2020-12-10 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 10 09:30:09 2020 New Revision: 368502 URL: https://svnweb.freebsd.org/changeset/base/368502 Log: Fix bug in ifconfig preventing proper VLAN creation. Detection of VLAN interface type must happen before detection of interface type by prefix. Else the

Re: svn commit: r368492 - head/sbin/ifconfig

2020-12-09 Thread Hans Petter Selasky
On 12/9/20 9:19 PM, Hans Petter Selasky wrote: On 12/9/20 9:13 PM, Hans Petter Selasky wrote: because the date pointed because the data pointed   ^^ spelling fix Just a heads up: I plan on making this a separate direct-commit to 12-stable tomorrow, because this change depends

Re: svn commit: r368492 - head/sbin/ifconfig

2020-12-09 Thread Hans Petter Selasky
On 12/9/20 9:13 PM, Hans Petter Selasky wrote: because the date pointed because the data pointed ^^ spelling fix --HPS ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send

svn commit: r368492 - head/sbin/ifconfig

2020-12-09 Thread Hans Petter Selasky
Author: hselasky Date: Wed Dec 9 20:13:12 2020 New Revision: 368492 URL: https://svnweb.freebsd.org/changeset/base/368492 Log: Fix bug in ifconfig preventing proper VLAN creation. Detection of interface type by filter must happen before detection of interface type by prefix. Else the

svn commit: r368415 - head/stand/kshim

2020-12-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 7 16:08:31 2020 New Revision: 368415 URL: https://svnweb.freebsd.org/changeset/base/368415 Log: Properly define the bool type in the BSD kernel shim. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking Modified:

Re: svn commit: r368397 - in head: share/man/man4 sys/dev/mn

2020-12-07 Thread Hans Petter Selasky
On 12/7/20 11:44 AM, Hans Petter Selasky wrote: On 12/6/20 10:34 PM, Ed Maste wrote: +    gone_in_dev(dev, 13, "sync serial (T1/E1) driver"); Should be "self" instead of "dev" . Ed: I just fixed it. Don't forget to inc

svn commit: r368409 - head/sys/dev/mn

2020-12-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 7 11:18:51 2020 New Revision: 368409 URL: https://svnweb.freebsd.org/changeset/base/368409 Log: Fix compilation after r368397. MFC after:3 days Sponsored by: Mellanox Technologies // NVIDIA Networking Modified: head/sys/dev/mn/if_mn.c Modified:

svn commit: r368408 - head/stand/kshim

2020-12-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 7 10:51:19 2020 New Revision: 368408 URL: https://svnweb.freebsd.org/changeset/base/368408 Log: Add missing busdma prototypes for load and unload and implement dummy sync function for kernel bootloader shim code. MFC after:1 week Sponsored by:

Re: svn commit: r368397 - in head: share/man/man4 sys/dev/mn

2020-12-07 Thread Hans Petter Selasky
On 12/6/20 10:34 PM, Ed Maste wrote: + gone_in_dev(dev, 13, "sync serial (T1/E1) driver"); Should be "self" instead of "dev" . --HPS ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To

svn commit: r368407 - head/stand/kshim

2020-12-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 7 10:21:01 2020 New Revision: 368407 URL: https://svnweb.freebsd.org/changeset/base/368407 Log: Tidy up code a bit. Add missing section comments. No functional change. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking

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

2020-12-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 7 09:48:06 2020 New Revision: 368406 URL: https://svnweb.freebsd.org/changeset/base/368406 Log: Prefer using the MIN() function macro over the min() inline function in the LinuxKPI. Linux defines min() to be a macro, while in FreeBSD min() is a static inline

svn commit: r368405 - head/sys/sys

2020-12-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 7 09:21:06 2020 New Revision: 368405 URL: https://svnweb.freebsd.org/changeset/base/368405 Log: Allow sys/refcount.h to be used by standalone builds. No functional change. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking

svn commit: r368353 - head/sys/netinet6

2020-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 4 21:51:47 2020 New Revision: 368353 URL: https://svnweb.freebsd.org/changeset/base/368353 Log: Expose nonstandard IPv6 kernel definitions to standalone builds. No functional change. Reviewed by: bz@ MFC after:1 week Sponsored by: Mellanox

svn commit: r368341 - head/stand/kshim

2020-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 4 16:51:59 2020 New Revision: 368341 URL: https://svnweb.freebsd.org/changeset/base/368341 Log: Fix mis-spelled macro in the kernel shim. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking Modified:

Re: svn commit: r368329 - head/stand/kshim

2020-12-04 Thread Hans Petter Selasky
On 12/4/20 5:31 PM, Warner Losh wrote: Hi Alexander, I'm not sure how that definition will work together with existing code, mixing uint64_t, unsigned long, and unsigned long long. Will this cause more compiler warnings? This also will affect user-space and ports. I think for the boot loader

Re: svn commit: r368329 - head/stand/kshim

2020-12-04 Thread Hans Petter Selasky
On 12/4/20 4:59 PM, Alexander Richardson wrote: On Fri, 4 Dec 2020 at 14:51, Hans Petter Selasky wrote: Author: hselasky Date: Fri Dec 4 14:50:55 2020 New Revision: 368329 URL: https://svnweb.freebsd.org/changeset/base/368329 Log: Fix definition of int64_t and uint64_t when long is 64

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

2020-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 4 15:50:44 2020 New Revision: 368336 URL: https://svnweb.freebsd.org/changeset/base/368336 Log: Allow the rbtree header file in the LinuxKPI to be used in standalone code. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking

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

2020-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 4 15:46:48 2020 New Revision: 368335 URL: https://svnweb.freebsd.org/changeset/base/368335 Log: Allow the list header file in the LinuxKPI to be used in standalone code. Some style and spelling nits while at it. MFC after:1 week Sponsored by:

svn commit: r368330 - head/stand/kshim

2020-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 4 14:52:41 2020 New Revision: 368330 URL: https://svnweb.freebsd.org/changeset/base/368330 Log: Add more macros, types and prototypes for building kernel code into bootloaders. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking

svn commit: r368329 - head/stand/kshim

2020-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 4 14:50:55 2020 New Revision: 368329 URL: https://svnweb.freebsd.org/changeset/base/368329 Log: Fix definition of int64_t and uint64_t when long is 64-bit. This gets the kernel shim code in line with the rest of the kernel, sys/x86/include/_types.h. MFC

svn commit: r368298 - stable/11/sbin/ifconfig

2020-12-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 3 10:41:06 2020 New Revision: 368298 URL: https://svnweb.freebsd.org/changeset/base/368298 Log: MFC r368058: Ensure consistent error messages from ifconfig(8). If multiple threads are invoking "ifconfig XXX create" a race may occur which can lead to two

svn commit: r368297 - stable/12/sbin/ifconfig

2020-12-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 3 10:32:54 2020 New Revision: 368297 URL: https://svnweb.freebsd.org/changeset/base/368297 Log: MFC r368058: Ensure consistent error messages from ifconfig(8). If multiple threads are invoking "ifconfig XXX create" a race may occur which can lead to two

svn commit: r368229 - in stable/12: sbin/ifconfig share/man/man4 sys/conf sys/net

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 13:58:14 2020 New Revision: 368229 URL: https://svnweb.freebsd.org/changeset/base/368229 Log: MFC r366933 and r366934: Add support for IP over infiniband, IPoIB, to lagg(4). Currently only the failover protocol is supported due to limitations in the IPoIB

svn commit: r368228 - in stable/12/sys: kern sys

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 13:47:16 2020 New Revision: 368228 URL: https://svnweb.freebsd.org/changeset/base/368228 Log: MFC r366931: Implement mbuf hashing routines for IP over infiniband, IPoIB. No functional change intended. Differential Revision:

svn commit: r368227 - in stable/12/sys: conf modules modules/if_infiniband net ofed/drivers/infiniband/ulp/ipoib

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 13:44:33 2020 New Revision: 368227 URL: https://svnweb.freebsd.org/changeset/base/368227 Log: MFC r366930, r366936, r366993 and r366994: Factor out generic IP over infiniband, IPoIB, definitions and code into net/if_infiniband.c and net/infiniband.h . No

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

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 13:10:25 2020 New Revision: 368226 URL: https://svnweb.freebsd.org/changeset/base/368226 Log: MFC r367719: Make mlx5_cmd_exec_cb() a safe API in mlx5core. APIs that have deferred callbacks should have some kind of cleanup function that callers can use

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

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 13:09:04 2020 New Revision: 368225 URL: https://svnweb.freebsd.org/changeset/base/368225 Log: MFC r367719: Make mlx5_cmd_exec_cb() a safe API in mlx5core. APIs that have deferred callbacks should have some kind of cleanup function that callers can use

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

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 13:06:26 2020 New Revision: 368224 URL: https://svnweb.freebsd.org/changeset/base/368224 Log: MFC r367718: Report EQE data upon CQ completion in mlx5core. Report EQE data upon CQ completion to let upper layers use this data. Linux commit:

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

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 13:03:09 2020 New Revision: 368223 URL: https://svnweb.freebsd.org/changeset/base/368223 Log: MFC r357294: Widen EPOCH(9) usage in mlx5en(4). Make completion event path mostly lockless using EPOCH(9). Implement a mechanism using EPOCH(9) which

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

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 12:52:15 2020 New Revision: 368222 URL: https://svnweb.freebsd.org/changeset/base/368222 Log: MFC r367717: Enhance the mlx5_core_create_cq() function in mlx5core. Enhance mlx5_core_create_cq() to get the command out buffer from the callers to let them

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

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 12:51:35 2020 New Revision: 368221 URL: https://svnweb.freebsd.org/changeset/base/368221 Log: MFC r367717: Enhance the mlx5_core_create_cq() function in mlx5core. Enhance mlx5_core_create_cq() to get the command out buffer from the callers to let them

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

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 12:45:47 2020 New Revision: 368220 URL: https://svnweb.freebsd.org/changeset/base/368220 Log: MFC r367716: Use mlx5core to create/destroy all Dynamically Connected Targets, DCTs. To prevent a hardware memory leak when a DEVX DCT object is destroyed

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

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 12:45:07 2020 New Revision: 368219 URL: https://svnweb.freebsd.org/changeset/base/368219 Log: MFC r367716: Use mlx5core to create/destroy all Dynamically Connected Targets, DCTs. To prevent a hardware memory leak when a DEVX DCT object is destroyed

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

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 12:43:56 2020 New Revision: 368218 URL: https://svnweb.freebsd.org/changeset/base/368218 Log: MFC r367715: Fix error handling order in create_kernel_qp in mlx5ib. Make sure order of cleanup is exactly the opposite of initialization. Linux commit:

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

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 12:43:22 2020 New Revision: 368217 URL: https://svnweb.freebsd.org/changeset/base/368217 Log: MFC r367715: Fix error handling order in create_kernel_qp in mlx5ib. Make sure order of cleanup is exactly the opposite of initialization. Linux commit:

svn commit: r368216 - stable/11/sys/dev/mlx4/mlx4_ib

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 12:42:23 2020 New Revision: 368216 URL: https://svnweb.freebsd.org/changeset/base/368216 Log: MFC r367555: Include GID type when deleting GIDs from HW table under RoCE in mlx4ib. Refer to the Linux commit mentioned below for a more detailed description.

svn commit: r368215 - stable/12/sys/dev/mlx4/mlx4_ib

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 12:41:25 2020 New Revision: 368215 URL: https://svnweb.freebsd.org/changeset/base/368215 Log: MFC r367555: Include GID type when deleting GIDs from HW table under RoCE in mlx4ib. Refer to the Linux commit mentioned below for a more detailed description.

svn commit: r368214 - in stable/11/sys/dev/usb: . quirk

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 12:39:16 2020 New Revision: 368214 URL: https://svnweb.freebsd.org/changeset/base/368214 Log: MFC r367622: Add more USB quirks. PR: 230038 Sponsored by: Mellanox Technologies // NVIDIA Networking Modified:

svn commit: r368213 - in stable/12/sys/dev/usb: . quirk

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 12:38:28 2020 New Revision: 368213 URL: https://svnweb.freebsd.org/changeset/base/368213 Log: MFC r367622: Add more USB quirks. PR: 230038 Sponsored by: Mellanox Technologies // NVIDIA Networking Modified:

svn commit: r368212 - stable/11/sys/dev/sound/usb

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 12:37:11 2020 New Revision: 368212 URL: https://svnweb.freebsd.org/changeset/base/368212 Log: MFC r367615: Add a tunable sysctl, hw.usb.uaudio.handle_hid, to allow disabling the the HID volume keys support in the USB audio driver. While at it

svn commit: r368211 - stable/12/sys/dev/sound/usb

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 12:36:21 2020 New Revision: 368211 URL: https://svnweb.freebsd.org/changeset/base/368211 Log: MFC r367615: Add a tunable sysctl, hw.usb.uaudio.handle_hid, to allow disabling the the HID volume keys support in the USB audio driver. While at it

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

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 12:33:39 2020 New Revision: 368210 URL: https://svnweb.freebsd.org/changeset/base/368210 Log: MFC r367614: When doing a USB alternate setting on an USB interface we need to re-configure the XHCI endpoint context. Differential Revision:

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

2020-12-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 1 12:32:35 2020 New Revision: 368209 URL: https://svnweb.freebsd.org/changeset/base/368209 Log: MFC r367614: When doing a USB alternate setting on an USB interface we need to re-configure the XHCI endpoint context. Differential Revision:

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

2020-12-01 Thread Hans Petter Selasky
On 12/1/20 12:26 PM, Mateusz Guzik wrote: Does this fix it for you?https://people.freebsd.org/~mjg/poll.diff Will take some time to reproduce. Testing right now. --HPS ___ svn-src-all@freebsd.org mailing list

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

2020-12-01 Thread Hans Petter Selasky
On 12/1/20 12:06 PM, Mateusz Guzik wrote: I see what the bug is, will think about the right fix. Is this reproducible for you? Yes, I have a crash dump. --HPS ___ svn-src-all@freebsd.org mailing list

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

2020-12-01 Thread Hans Petter Selasky
On 11/16/20 4:12 AM, Mateusz Guzik wrote: Author: mjg Date: Mon Nov 16 03:12:21 2020 New Revision: 367714 URL: https://svnweb.freebsd.org/changeset/base/367714 Log: select: call seltdfini on process and thread exit Since thread_zone is marked NOFREE the thread_fini callback is never

Re: svn commit: r366917 - in head: sbin/ifconfig sys/net tests/sys/net

2020-11-30 Thread Hans Petter Selasky
On 10/21/20 11:28 PM, Alexander V. Chernikov wrote: Author: melifaro Date: Wed Oct 21 21:28:20 2020 New Revision: 366917 URL: https://svnweb.freebsd.org/changeset/base/366917 Log: Add support for stacked VLANs (IEEE 802.1ad, AKA Q-in-Q). 802.1ad interfaces are created with ifconfig

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-30 Thread Hans Petter Selasky
On 11/30/20 2:44 PM, Bjoern A. Zeeb wrote: On 30 Nov 2020, at 9:27, Emmanuel Vadot wrote: On Mon, 30 Nov 2020 01:13:12 + "Bjoern A. Zeeb" wrote: On 29 Nov 2020, at 19:38, Matt Macy wrote: Author: mmacy Date: Sun Nov 29 19:38:03 2020 New Revision: 368163 URL:

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

2020-11-30 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 30 09:47:53 2020 New Revision: 368182 URL: https://svnweb.freebsd.org/changeset/base/368182 Log: Use function macro for sema_init() in the LinuxKPI to limit macro expansion scope. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA

svn commit: r368058 - head/sbin/ifconfig

2020-11-26 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 26 16:36:50 2020 New Revision: 368058 URL: https://svnweb.freebsd.org/changeset/base/368058 Log: Ensure consistent error messages from ifconfig(8). If multiple threads are invoking "ifconfig XXX create" a race may occur which can lead to two different error

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

2020-11-24 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 24 13:07:59 2020 New Revision: 367981 URL: https://svnweb.freebsd.org/changeset/base/367981 Log: Remove erradic assert after SVN r367149 in mlx5en(4). The ratelimit tags may be shared, especially for unlimited TLS traffic, and then the refcount is allowed

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

2020-11-18 Thread Hans Petter Selasky
Author: hselasky Date: Wed Nov 18 13:47:11 2020 New Revision: 367789 URL: https://svnweb.freebsd.org/changeset/base/367789 Log: Allow LinuxKPI types to be used in bootloaders, by checking for the _STANDALONE definition. No functional change intended. MFC after:1 week Sponsored

svn commit: r367788 - head/sys/modules/linuxkpi

2020-11-18 Thread Hans Petter Selasky
Author: hselasky Date: Wed Nov 18 13:45:32 2020 New Revision: 367788 URL: https://svnweb.freebsd.org/changeset/base/367788 Log: Add missing header file when building the LinuxKPI module separately. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking Modified:

svn commit: r367787 - in head: stand/kshim sys/dev/usb

2020-11-18 Thread Hans Petter Selasky
Author: hselasky Date: Wed Nov 18 13:22:22 2020 New Revision: 367787 URL: https://svnweb.freebsd.org/changeset/base/367787 Log: Fix build of USB bootloader code by adding checks for _STANDALONE being defined. Currently the USB bootloader code is not part of buildworld. MFC after:1

svn commit: r367719 - in head/sys/dev/mlx5: . mlx5_core mlx5_ib

2020-11-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 16 10:15:03 2020 New Revision: 367719 URL: https://svnweb.freebsd.org/changeset/base/367719 Log: Make mlx5_cmd_exec_cb() a safe API in mlx5core. APIs that have deferred callbacks should have some kind of cleanup function that callers can use to fence the

svn commit: r367718 - in head/sys/dev/mlx5: . mlx5_core mlx5_en mlx5_ib

2020-11-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 16 10:10:53 2020 New Revision: 367718 URL: https://svnweb.freebsd.org/changeset/base/367718 Log: Report EQE data upon CQ completion in mlx5core. Report EQE data upon CQ completion to let upper layers use this data. Linux commit:

svn commit: r367717 - in head/sys/dev/mlx5: . mlx5_core mlx5_en mlx5_ib

2020-11-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 16 10:06:10 2020 New Revision: 367717 URL: https://svnweb.freebsd.org/changeset/base/367717 Log: Enhance the mlx5_core_create_cq() function in mlx5core. Enhance mlx5_core_create_cq() to get the command out buffer from the callers to let them use the output.

svn commit: r367716 - in head/sys/dev/mlx5: . mlx5_core

2020-11-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 16 10:03:18 2020 New Revision: 367716 URL: https://svnweb.freebsd.org/changeset/base/367716 Log: Use mlx5core to create/destroy all Dynamically Connected Targets, DCTs. To prevent a hardware memory leak when a DEVX DCT object is destroyed without calling

svn commit: r367715 - head/sys/dev/mlx5/mlx5_ib

2020-11-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 16 10:00:21 2020 New Revision: 367715 URL: https://svnweb.freebsd.org/changeset/base/367715 Log: Fix error handling order in create_kernel_qp in mlx5ib. Make sure order of cleanup is exactly the opposite of initialization. Linux commit:

Re: svn commit: r367566 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-11-16 Thread Hans Petter Selasky
On 11/16/20 9:56 AM, Niclas Zeising wrote: On 2020-11-10 14:36, Hans Petter Selasky wrote: Author: hselasky Date: Tue Nov 10 13:36:07 2020 New Revision: 367566 URL: https://svnweb.freebsd.org/changeset/base/367566 Log:    MFC r366751:    Remove ifdefs around IS_ALIGNED() definition

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

2020-11-12 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 12 18:24:37 2020 New Revision: 367622 URL: https://svnweb.freebsd.org/changeset/base/367622 Log: Add more USB quirks. PR: 230038 MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking Modified:

svn commit: r367615 - head/sys/dev/sound/usb

2020-11-12 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 12 09:26:01 2020 New Revision: 367615 URL: https://svnweb.freebsd.org/changeset/base/367615 Log: Add a tunable sysctl, hw.usb.uaudio.handle_hid, to allow disabling the the HID volume keys support in the USB audio driver. While at it re-organize the USB

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

2020-11-12 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 12 09:15:07 2020 New Revision: 367614 URL: https://svnweb.freebsd.org/changeset/base/367614 Log: When doing a USB alternate setting on an USB interface we need to re-configure the XHCI endpoint context. Differential Revision:

Re: svn commit: r367588 - in head/sys: kern sys

2020-11-11 Thread Hans Petter Selasky
On 11/11/20 2:44 PM, Mark Johnston wrote: +#defineSIGIO_ASSERT_LOCKED(type) mtx_assert(_lock, MA_OWNED) Minor nit: "type" argument can be removed from macro. --HPS ___ svn-src-all@freebsd.org mailing list

svn commit: r367566 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-11-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 10 13:36:07 2020 New Revision: 367566 URL: https://svnweb.freebsd.org/changeset/base/367566 Log: MFC r366751: Remove ifdefs around IS_ALIGNED() definition in the LinuxKPI. Discussed with: manu@ Sponsored by: Mellanox Technologies //

svn commit: r367565 - in stable/11/sys/dev/usb: . quirk

2020-11-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 10 13:33:39 2020 New Revision: 367565 URL: https://svnweb.freebsd.org/changeset/base/367565 Log: MFC r366806: Add new USB quirk. PR: 250422 Submitted by: vidwer+fbsdb...@gmail.com Sponsored by: Mellanox Technologies //

svn commit: r367564 - in stable/12/sys/dev/usb: . quirk

2020-11-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 10 13:32:50 2020 New Revision: 367564 URL: https://svnweb.freebsd.org/changeset/base/367564 Log: MFC r366806: Add new USB quirk. PR: 250422 Submitted by: vidwer+fbsdb...@gmail.com Sponsored by: Mellanox Technologies //

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

2020-11-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 10 13:31:01 2020 New Revision: 367563 URL: https://svnweb.freebsd.org/changeset/base/367563 Log: MFC r367269: Fix for referencing file via its vnode in ibore. Use the native vnode lookup functions, instead of going via the LinuxKPI, because the file

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

2020-11-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 10 13:22:52 2020 New Revision: 367562 URL: https://svnweb.freebsd.org/changeset/base/367562 Log: MFC r367269: Fix for referencing file via its vnode in ibore. Use the native vnode lookup functions, instead of going via the LinuxKPI, because the file

svn commit: r367561 - in stable/11: share/man/man4 sys/dev/usb sys/dev/usb/input

2020-11-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 10 13:21:02 2020 New Revision: 367561 URL: https://svnweb.freebsd.org/changeset/base/367561 Log: MFC r367236: Implement the USB_GET_DEVICEINFO ioctl(2) for uhid(4). Submitted by: pedro martelletto Sponsored by: Mellanox Technologies //

svn commit: r367560 - in stable/12: share/man/man4 sys/dev/usb sys/dev/usb/input

2020-11-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 10 13:18:44 2020 New Revision: 367560 URL: https://svnweb.freebsd.org/changeset/base/367560 Log: MFC r367236: Implement the USB_GET_DEVICEINFO ioctl(2) for uhid(4). Submitted by: pedro martelletto Sponsored by: Mellanox Technologies //

svn commit: r367559 - in stable/11/sys/dev/usb: . serial

2020-11-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 10 13:16:37 2020 New Revision: 367559 URL: https://svnweb.freebsd.org/changeset/base/367559 Log: MFC r367096: Add new USB IDs. Submitted by: aleksi.kaalin...@kapsi.fi PR: 250675 Sponsored by: Mellanox Technologies //

svn commit: r367558 - in stable/12/sys/dev/usb: . serial

2020-11-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 10 13:15:53 2020 New Revision: 367558 URL: https://svnweb.freebsd.org/changeset/base/367558 Log: MFC r367096: Add new USB IDs. Submitted by: aleksi.kaalin...@kapsi.fi PR: 250675 Sponsored by: Mellanox Technologies //

svn commit: r367557 - in stable/11/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src conf modules/linuxkpi

2020-11-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 10 13:13:37 2020 New Revision: 367557 URL: https://svnweb.freebsd.org/changeset/base/367557 Log: MFC r364860 and r366996: Implement extensible arrays API using the existing radix tree implementation in the LinuxKPI. Differential Revision:

svn commit: r367556 - in stable/12/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src conf modules/linuxkpi

2020-11-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 10 13:10:15 2020 New Revision: 367556 URL: https://svnweb.freebsd.org/changeset/base/367556 Log: MFC r364860 and r366996: Implement extensible arrays API using the existing radix tree implementation in the LinuxKPI. Differential Revision:

svn commit: r367555 - head/sys/dev/mlx4/mlx4_ib

2020-11-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 10 12:58:25 2020 New Revision: 367555 URL: https://svnweb.freebsd.org/changeset/base/367555 Log: Include GID type when deleting GIDs from HW table under RoCE in mlx4ib. Refer to the Linux commit mentioned below for a more detailed description. Linux commit:

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

2020-11-02 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 2 10:44:29 2020 New Revision: 367269 URL: https://svnweb.freebsd.org/changeset/base/367269 Log: Fix for referencing file via its vnode in ibore. Use the native vnode lookup functions, instead of going via the LinuxKPI, because the file referenced is

svn commit: r367236 - in head: share/man/man4 sys/dev/usb sys/dev/usb/input

2020-10-31 Thread Hans Petter Selasky
Author: hselasky Date: Sat Oct 31 21:53:23 2020 New Revision: 367236 URL: https://svnweb.freebsd.org/changeset/base/367236 Log: Implement the USB_GET_DEVICEINFO ioctl(2) for uhid(4). Submitted by: pedro martelletto MFC after:1 week Sponsored by: Mellanox

svn commit: r367158 - stable/11/sys/fs/cuse

2020-10-30 Thread Hans Petter Selasky
Author: hselasky Date: Fri Oct 30 08:06:56 2020 New Revision: 367158 URL: https://svnweb.freebsd.org/changeset/base/367158 Log: MFC r366961: Fix for loading cuse.ko via rc.d . Make sure we declare the cuse(3) module by name and not only by the version information, so that "kldstat -q -m

svn commit: r367157 - stable/12/sys/fs/cuse

2020-10-30 Thread Hans Petter Selasky
Author: hselasky Date: Fri Oct 30 08:05:47 2020 New Revision: 367157 URL: https://svnweb.freebsd.org/changeset/base/367157 Log: MFC r366961: Fix for loading cuse.ko via rc.d . Make sure we declare the cuse(3) module by name and not only by the version information, so that "kldstat -q -m

svn commit: r367096 - in head/sys/dev/usb: . serial

2020-10-28 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 28 08:22:38 2020 New Revision: 367096 URL: https://svnweb.freebsd.org/changeset/base/367096 Log: Add new USB IDs. Submitted by: aleksi.kaalin...@kapsi.fi PR: 250675 MFC after:1 week Sponsored by: Mellanox

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

2020-10-24 Thread Hans Petter Selasky
Author: hselasky Date: Sat Oct 24 13:16:10 2020 New Revision: 366996 URL: https://svnweb.freebsd.org/changeset/base/366996 Log: Implement xa_init() in the LinuxKPI as a wrapper for xa_init_flags(). MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA

Re: svn commit: r366993 - head/sys/net

2020-10-24 Thread Hans Petter Selasky
On 2020-10-24 14:52, Alexey Dokuchaev wrote: On Sat, Oct 24, 2020 at 10:23:22AM +, Hans Petter Selasky wrote: New Revision: 366993 URL: https://svnweb.freebsd.org/changeset/base/366993 Log: Run code through "clang-format -style=file" with some additional fixes. No functio

svn commit: r366995 - head/sys/net

2020-10-24 Thread Hans Petter Selasky
Author: hselasky Date: Sat Oct 24 13:07:50 2020 New Revision: 366995 URL: https://svnweb.freebsd.org/changeset/base/366995 Log: More style fixes (partial revert of r366994). Suggested by: danfe@ Differential Revision:https://reviews.freebsd.org/D26254 MFC after:

Re: svn commit: r366993 - head/sys/net

2020-10-24 Thread Hans Petter Selasky
On 2020-10-24 12:46, Konstantin Belousov wrote: sys/systm.h should come right after sys/param.h OK, fixed. --HPS ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to

svn commit: r366994 - head/sys/net

2020-10-24 Thread Hans Petter Selasky
Author: hselasky Date: Sat Oct 24 10:52:09 2020 New Revision: 366994 URL: https://svnweb.freebsd.org/changeset/base/366994 Log: Fix order of header files: sys/systm.h should come right after sys/param.h Suggested by: kib@ Differential Revision:

svn commit: r366993 - head/sys/net

2020-10-24 Thread Hans Petter Selasky
Author: hselasky Date: Sat Oct 24 10:23:21 2020 New Revision: 366993 URL: https://svnweb.freebsd.org/changeset/base/366993 Log: Run code through "clang-format -style=file" with some additional fixes. No functional change. Suggested by: kib@ and emaste@ Differential Revision:

  1   2   3   4   5   6   7   8   9   10   >