svn commit: r367834 - head/usr.sbin/bhyve

2020-11-18 Thread Peter Grehan
Author: grehan Date: Thu Nov 19 07:23:39 2020 New Revision: 367834 URL: https://svnweb.freebsd.org/changeset/base/367834 Log: Advance RIP after userspace instruction decode Add update to RIP after a userspace instruction decode (as is done for the in-kernel counterpart of this case).

svn commit: r367833 - in head/sys: kern security/mac sys

2020-11-18 Thread Mateusz Guzik
Author: mjg Date: Thu Nov 19 06:30:25 2020 New Revision: 367833 URL: https://svnweb.freebsd.org/changeset/base/367833 Log: pipe: allow for lockless pipe_stat pipes get stated all thet time and this avoidably contributed to contention. The pipe lock is only held to accomodate MAC and to

svn commit: r367832 - in head/contrib/openpam: . lib/libpam

2020-11-18 Thread Dag-Erling Smørgrav
Author: des Date: Thu Nov 19 05:46:59 2020 New Revision: 367832 URL: https://svnweb.freebsd.org/changeset/base/367832 Log: Merge upstream r948: fix race condition in openpam_ttyconv(3). Modified: head/contrib/openpam/CREDITS head/contrib/openpam/lib/libpam/openpam_ttyconv.c Directory

svn commit: r367831 - in vendor/openpam/dist: . lib/libpam

2020-11-18 Thread Dag-Erling Smørgrav
Author: des Date: Thu Nov 19 05:44:41 2020 New Revision: 367831 URL: https://svnweb.freebsd.org/changeset/base/367831 Log: Merge upstream r948: fix race condition in openpam_ttyconv(3). Modified: vendor/openpam/dist/CREDITS vendor/openpam/dist/lib/libpam/openpam_ttyconv.c Modified:

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

2020-11-18 Thread Mark Johnston
On Wed, Nov 18, 2020 at 03:37:36PM -0800, John Baldwin wrote: > On 11/18/20 2:16 PM, Mateusz Guzik wrote: > > On 11/17/20, John Baldwin wrote: > >> On 11/14/20 11:22 AM, Mateusz Guzik wrote: > > Interested parties can check the consumer (also seen in the diff) to > > see this is for consistency.

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

2020-11-18 Thread Mateusz Guzik
On 11/19/20, John Baldwin wrote: > On 11/18/20 2:16 PM, Mateusz Guzik wrote: >> On 11/17/20, John Baldwin wrote: >>> On 11/14/20 11:22 AM, Mateusz Guzik wrote: >> Interested parties can check the consumer (also seen in the diff) to >> see this is for consistency. I don't think any comments are

svn commit: r367830 - in head/sys: kern sys

2020-11-18 Thread Mateusz Guzik
Author: mjg Date: Thu Nov 19 04:28:39 2020 New Revision: 367830 URL: https://svnweb.freebsd.org/changeset/base/367830 Log: cred: fix minor nits in r367695 Noted by: jhb Modified: head/sys/kern/kern_prot.c head/sys/sys/ucred.h Modified: head/sys/kern/kern_prot.c

svn commit: r367829 - head/sys/kern

2020-11-18 Thread Mateusz Guzik
Author: mjg Date: Thu Nov 19 04:27:51 2020 New Revision: 367829 URL: https://svnweb.freebsd.org/changeset/base/367829 Log: smp: fix smp_rendezvous_cpus_retry usage before smp starts Since none of the other CPUs are running there is nobody to clear their entries and the routine spins

svn commit: r367828 - in head/sys: amd64/amd64 dev/mem powerpc/aim vm

2020-11-18 Thread Mark Johnston
Author: markj Date: Thu Nov 19 03:59:21 2020 New Revision: 367828 URL: https://svnweb.freebsd.org/changeset/base/367828 Log: vm_phys: Try to clean up NUMA KPIs It can useful for code outside the VM system to look up the NUMA domain of a page backing a virtual or physical address,

svn commit: r367827 - head/sys/conf

2020-11-18 Thread Mark Johnston
Author: markj Date: Thu Nov 19 02:53:29 2020 New Revision: 367827 URL: https://svnweb.freebsd.org/changeset/base/367827 Log: Move kern_clocksource.c to sys/conf/files Sponsored by: The FreeBSD Foundation Modified: head/sys/conf/files head/sys/conf/files.amd64 head/sys/conf/files.arm

svn commit: r367826 - in head/sys: arm/arm arm/include conf kern

2020-11-18 Thread Mark Johnston
Author: markj Date: Thu Nov 19 02:50:48 2020 New Revision: 367826 URL: https://svnweb.freebsd.org/changeset/base/367826 Log: Remove NO_EVENTTIMERS support The arm configs that required it have been removed from the tree. Removing this option makes the callout code easier to read and

svn commit: r367825 - stable/12/sys/dev/nvme

2020-11-18 Thread Alexander Motin
Author: mav Date: Thu Nov 19 02:44:08 2020 New Revision: 367825 URL: https://svnweb.freebsd.org/changeset/base/367825 Log: MFC r367625: Fix panic if NVMe is detached before the intrhook call. Modified: stable/12/sys/dev/nvme/nvme.c stable/12/sys/dev/nvme/nvme_ctrlr.c Directory Properties:

svn commit: r367824 - head/sbin/savecore

2020-11-18 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 19 02:20:38 2020 New Revision: 367824 URL: https://svnweb.freebsd.org/changeset/base/367824 Log: Add '-u' switch that would uncompress cores that were compressed by kernel during dump time. A real life scenario is that cores are compressed to reduce size

Re: svn commit: r367813 - head/lib/libutil

2020-11-18 Thread Mateusz Guzik
On 11/19/20, Stefan Esser wrote: > Am 18.11.20 um 23:39 schrieb Jessica Clarke: >> On 18 Nov 2020, at 22:32, Stefan Esser wrote: >>> >>> Am 18.11.20 um 22:40 schrieb Mateusz Guzik: > +{ > + static const int localbase_oid[2] = {CTL_USER, USER_LOCALBASE}; There is no use for this to

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

2020-11-18 Thread Ian Lepore
On Wed, 2020-11-18 at 15:37 -0800, John Baldwin wrote: > On 11/18/20 2:16 PM, Mateusz Guzik wrote: > > On 11/17/20, John Baldwin wrote: > > > On 11/14/20 11:22 AM, Mateusz Guzik wrote: > > > > Interested parties can check the consumer (also seen in the diff) > > to > > see this is for

svn commit: r367823 - head/lib/libc/string

2020-11-18 Thread Ed Maste
Author: emaste Date: Thu Nov 19 00:03:15 2020 New Revision: 367823 URL: https://svnweb.freebsd.org/changeset/base/367823 Log: libc: fix undefined behavior from signed overflow in strstr and memmem unsigned char promotes to int, which can overflow when shifted left by 24 bits or more.

svn commit: r367822 - head/lib/libc/string

2020-11-18 Thread Ed Maste
Author: emaste Date: Thu Nov 19 00:02:12 2020 New Revision: 367822 URL: https://svnweb.freebsd.org/changeset/base/367822 Log: libc: optimize memmem two-way bad character shift first, the condition (mem && k < p) is redundant, because mem being nonzero implies the needle is periodic with

Trouver des nouveaux clients

2020-11-18 Thread l...@aproximeo.fr
Bonjour, Pour votre information, vous pouvez gratuitement trouver plein de nouveaux clients en vous inscrivant sur la 1ère plateforme de proximité en cliquant ici . Plus d'infos en cliquant ici

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

2020-11-18 Thread John Baldwin
On 11/18/20 2:16 PM, Mateusz Guzik wrote: > On 11/17/20, John Baldwin wrote: >> On 11/14/20 11:22 AM, Mateusz Guzik wrote: > Interested parties can check the consumer (also seen in the diff) to > see this is for consistency. I don't think any comments are warranted > in the header. I did read

Re: svn commit: r367813 - head/lib/libutil

2020-11-18 Thread Stefan Esser
Am 18.11.20 um 23:39 schrieb Jessica Clarke: On 18 Nov 2020, at 22:32, Stefan Esser wrote: Am 18.11.20 um 22:40 schrieb Mateusz Guzik: +{ + static const int localbase_oid[2] = {CTL_USER, USER_LOCALBASE}; There is no use for this to be static. Why not? This makes it part of the

Re: svn commit: r367813 - head/lib/libutil

2020-11-18 Thread Brooks Davis
On Thu, Nov 19, 2020 at 12:05:51AM +0100, Stefan Esser wrote: > Am 18.11.20 um 23:14 schrieb Jessica Clarke: > > On 18 Nov 2020, at 21:52, Stefan Esser wrote: > >> Am 18.11.20 um 22:15 schrieb Jessica Clarke: > >>> On 18 Nov 2020, at 19:44, Stefan E??er wrote: > +/* > +

Re: svn commit: r367813 - head/lib/libutil

2020-11-18 Thread Stefan Esser
Am 18.11.20 um 23:14 schrieb Jessica Clarke: On 18 Nov 2020, at 21:52, Stefan Esser wrote: Am 18.11.20 um 22:15 schrieb Jessica Clarke: On 18 Nov 2020, at 19:44, Stefan Eßer wrote: + /* +* Check for some other thread already having +* set

Re: svn commit: r367813 - head/lib/libutil

2020-11-18 Thread Jessica Clarke
On 18 Nov 2020, at 22:32, Stefan Esser wrote: > > Am 18.11.20 um 22:40 schrieb Mateusz Guzik: >>> +{ >>> + static const int localbase_oid[2] = {CTL_USER, USER_LOCALBASE}; >> There is no use for this to be static. > > Why not? This makes it part of the constant initialized data of > the

Re: svn commit: r367813 - head/lib/libutil

2020-11-18 Thread Stefan Esser
Am 18.11.20 um 22:40 schrieb Mateusz Guzik: +{ + static const int localbase_oid[2] = {CTL_USER, USER_LOCALBASE}; There is no use for this to be static. Why not? This makes it part of the constant initialized data of the library, which is more efficient under run-time and memory space

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

2020-11-18 Thread Mateusz Guzik
On 11/17/20, John Baldwin wrote: > On 11/14/20 11:22 AM, Mateusz Guzik wrote: >> Author: mjg >> Date: Sat Nov 14 19:22:02 2020 >> New Revision: 367695 >> URL: https://svnweb.freebsd.org/changeset/base/367695 >> >> Log: >> thread: batch credential freeing >> >> Modified: >>

Re: svn commit: r367813 - head/lib/libutil

2020-11-18 Thread Jessica Clarke
On 18 Nov 2020, at 21:52, Stefan Esser wrote: > Am 18.11.20 um 22:15 schrieb Jessica Clarke: >> On 18 Nov 2020, at 19:44, Stefan Eßer wrote: >>> + /* >>> +* Check for some other thread already having >>> +* set localbase - this should use atomic ops. >>> +

Re: svn commit: r367813 - head/lib/libutil

2020-11-18 Thread Stefan Esser
Am 18.11.20 um 22:27 schrieb Jessica Clarke: On 18 Nov 2020, at 21:15, Jessica Clarke wrote: On 18 Nov 2020, at 19:44, Stefan Eßer wrote: + /* +* Check for some other thread already having +* set localbase - this should use atomic ops. +

svn commit: r367821 - head/lib/libc/string

2020-11-18 Thread Ed Maste
Author: emaste Date: Wed Nov 18 22:01:34 2020 New Revision: 367821 URL: https://svnweb.freebsd.org/changeset/base/367821 Log: clang-format libc string functions imported from musl We have adopted these and don't consider them 'contrib' code, so bring them closer to style(9). This is a

Re: svn commit: r367813 - head/lib/libutil

2020-11-18 Thread Stefan Esser
Am 18.11.20 um 22:15 schrieb Jessica Clarke: On 18 Nov 2020, at 19:44, Stefan Eßer wrote: + /* +* Check for some other thread already having +* set localbase - this should use atomic ops. +* The amount of memory allocated above

Re: svn commit: r367813 - head/lib/libutil

2020-11-18 Thread Jessica Clarke
On 18 Nov 2020, at 21:40, Mateusz Guzik wrote: > > On 11/18/20, Stefan Eßer wrote: >> Author: se >> Date: Wed Nov 18 19:44:30 2020 >> New Revision: 367813 >> URL: https://svnweb.freebsd.org/changeset/base/367813 >> >> Log: >> Add function getlocalbase() to libutil. >> >> This function

Re: svn commit: r367813 - head/lib/libutil

2020-11-18 Thread Mateusz Guzik
On 11/18/20, Stefan Eßer wrote: > Author: se > Date: Wed Nov 18 19:44:30 2020 > New Revision: 367813 > URL: https://svnweb.freebsd.org/changeset/base/367813 > > Log: > Add function getlocalbase() to libutil. > > This function returns the path to the local software base directory, by >

Re: svn commit: r367813 - head/lib/libutil

2020-11-18 Thread Jessica Clarke
On 18 Nov 2020, at 21:15, Jessica Clarke wrote: > > On 18 Nov 2020, at 19:44, Stefan Eßer wrote: >> +/* >> + * Check for some other thread already having >> + * set localbase - this should use atomic ops. >> + * The amount of memory allocated

svn commit: r367820 - head/sys/kern

2020-11-18 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Nov 18 21:26:14 2020 New Revision: 367820 URL: https://svnweb.freebsd.org/changeset/base/367820 Log: Add CTLFLAG_MPSAFE to the suser_enabled sysctl. Pointed out by: mjg Modified: head/sys/kern/kern_priv.c Modified: head/sys/kern/kern_priv.c

Re: svn commit: r367819 - in head: sys/kern sys/sys usr.sbin/jail

2020-11-18 Thread Mariusz Zaborski
Hello Mateusz, Thank you for pointing out this. I will fix those. Thanks, Mariusz On Wed, 18 Nov 2020 at 22:15, Mateusz Guzik wrote: > > On 11/18/20, Mariusz Zaborski wrote: > > Author: oshogbo > > Date: Wed Nov 18 21:07:08 2020 > > New Revision: 367819 > > URL:

Re: svn commit: r367813 - head/lib/libutil

2020-11-18 Thread Jessica Clarke
On 18 Nov 2020, at 19:44, Stefan Eßer wrote: > + /* > + * Check for some other thread already having > + * set localbase - this should use atomic ops. > + * The amount of memory allocated above may leak, > + * if a parallel update

Re: svn commit: r367819 - in head: sys/kern sys/sys usr.sbin/jail

2020-11-18 Thread Mateusz Guzik
On 11/18/20, Mariusz Zaborski wrote: > Author: oshogbo > Date: Wed Nov 18 21:07:08 2020 > New Revision: 367819 > URL: https://svnweb.freebsd.org/changeset/base/367819 > > Log: > jail: introduce per jail suser_enabled setting > > The suser_enable sysctl allows to remove a privileged rights

svn commit: r367819 - in head: sys/kern sys/sys usr.sbin/jail

2020-11-18 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Nov 18 21:07:08 2020 New Revision: 367819 URL: https://svnweb.freebsd.org/changeset/base/367819 Log: jail: introduce per jail suser_enabled setting The suser_enable sysctl allows to remove a privileged rights from uid 0. This change introduce per jail setting

svn commit: r367818 - head/sys/kern

2020-11-18 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Nov 18 20:59:58 2020 New Revision: 367818 URL: https://svnweb.freebsd.org/changeset/base/367818 Log: Fix style nits. Modified: head/sys/kern/kern_jail.c head/sys/kern/kern_priv.c Modified: head/sys/kern/kern_jail.c

svn commit: r367817 - head/sys/fs/msdosfs

2020-11-18 Thread Conrad Meyer
Author: cem Date: Wed Nov 18 20:20:03 2020 New Revision: 367817 URL: https://svnweb.freebsd.org/changeset/base/367817 Log: msdosfs(5): Fix debug-only format string No functional change; MSDOSFS_DEBUG isn't a real build option, so this isn't covered by LINT kernels. Modified:

svn commit: r367816 - in head: sbin/nvmecontrol usr.sbin/mailwrapper usr.sbin/pkg

2020-11-18 Thread Stefan Eßer
Author: se Date: Wed Nov 18 20:00:55 2020 New Revision: 367816 URL: https://svnweb.freebsd.org/changeset/base/367816 Log: Make use of the getlocalbase() function for run-time adjustment of the local software base directory, as committed in SVN rev. 367813. The pkg and mailwrapper

svn commit: r367815 - head/contrib/llvm-project/llvm/lib/Support/Unix

2020-11-18 Thread Dimitry Andric
Author: dim Date: Wed Nov 18 19:55:24 2020 New Revision: 367815 URL: https://svnweb.freebsd.org/changeset/base/367815 Log: For llvm's internal function which retrieves the number of available "hardware threads", use cpuset_getaffinity(2) on FreeBSD, so it will honor processor sets

svn commit: r367814 - head/sys/sys

2020-11-18 Thread Mateusz Guzik
Author: mjg Date: Wed Nov 18 19:47:24 2020 New Revision: 367814 URL: https://svnweb.freebsd.org/changeset/base/367814 Log: fd: reorder struct file to reduce false sharing The size on LP64 is 80 bytes, which is just more than a cacheline, does not lend itself to easy shrinking and

svn commit: r367813 - head/lib/libutil

2020-11-18 Thread Stefan Eßer
Author: se Date: Wed Nov 18 19:44:30 2020 New Revision: 367813 URL: https://svnweb.freebsd.org/changeset/base/367813 Log: Add function getlocalbase() to libutil. This function returns the path to the local software base directory, by default "/usr/local" (or the value of _PATH_LOCALBASE

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

2020-11-18 Thread Li-Wen Hsu
Author: lwhsu Date: Wed Nov 18 19:35:30 2020 New Revision: 367812 URL: https://svnweb.freebsd.org/changeset/base/367812 Log: ipheth(4): Fix for iOS 14 Fix USB tethering for iOS 14. Inspired by: https://github.com/libimobiledevice/libimobiledevice/issues/1038 PR: 249979

svn commit: r367811 - head/lib/msun/tests

2020-11-18 Thread Alfredo Dal'Ava Junior
Author: alfredo Date: Wed Nov 18 19:23:30 2020 New Revision: 367811 URL: https://svnweb.freebsd.org/changeset/base/367811 Log: msun tests: use standard floating-point exception flags on lrint and fenv tests Some platforms have additional architecture-specific floating-point flags. Msun

svn commit: r367810 - head/usr.sbin/mergemaster

2020-11-18 Thread Warner Losh
Author: imp Date: Wed Nov 18 19:22:24 2020 New Revision: 367810 URL: https://svnweb.freebsd.org/changeset/base/367810 Log: mergemaster: handle symbolic links during update. /etc/os-release is now a symbolic link to a generated file. Make mergemaster cope with symbolic links generically.

svn commit: r367809 - head/contrib/elftoolchain/elfcopy

2020-11-18 Thread Dimitry Andric
Author: dim Date: Wed Nov 18 18:40:58 2020 New Revision: 367809 URL: https://svnweb.freebsd.org/changeset/base/367809 Log: When elftoolchain's objcopy (or strip) is rewriting a file in-place, make it create the temporary file in the same directory as the source file by default, instead of

svn commit: r367808 - vendor/NetBSD/bmake

2020-11-18 Thread Simon J. Gerraty
Author: sjg Date: Wed Nov 18 17:50:33 2020 New Revision: 367808 URL: https://svnweb.freebsd.org/changeset/base/367808 Log: Retain missing/sys/cdefs.h to support build on non-FreeBSD Modified: vendor/NetBSD/bmake/import.sh Modified: vendor/NetBSD/bmake/import.sh

svn commit: r367807 - head/sys/mips/cavium

2020-11-18 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 18 17:37:01 2020 New Revision: 367807 URL: https://svnweb.freebsd.org/changeset/base/367807 Log: Fix octeon_pmc post-r334827 MFC after:3 days Sponsored by: Juniper Networks, Inc Modified: head/sys/mips/cavium/octeon_pmc.c Modified:

svn commit: r367806 - head/sys/kern

2020-11-18 Thread John Baldwin
Author: jhb Date: Wed Nov 18 16:21:37 2020 New Revision: 367806 URL: https://svnweb.freebsd.org/changeset/base/367806 Log: Fix a few nits in vn_printf(). - Mask out recently added VV_* bits to avoid printing them twice. - Keep VI_LOCKed on the same line as the rest of the flags.

Re: svn commit: r367744 - in head/sys: compat/freebsd32 kern sys

2020-11-18 Thread Kyle Evans
On Tue, Nov 17, 2020 at 1:51 PM Brooks Davis wrote: > > On Tue, Nov 17, 2020 at 11:59:50AM -0600, Kyle Evans wrote: > > On Tue, Nov 17, 2020 at 11:11 AM Brooks Davis wrote: > > > > > > On Tue, Nov 17, 2020 at 03:36:58AM +, Kyle Evans wrote: > > > > Modified:

svn commit: r367805 - head/sys/dev/ena

2020-11-18 Thread Marcin Wojtas
Author: mw Date: Wed Nov 18 15:25:38 2020 New Revision: 367805 URL: https://svnweb.freebsd.org/changeset/base/367805 Log: Update ENA driver version to v2.3.0 The v2.3.0 introduces new ena_com layer, ENI metrics updates and SPDX license tags. Submitted by: Michal Krawczyk

svn commit: r367804 - head/share/man/man4

2020-11-18 Thread Nick Hibma
Author: n_hibma Date: Wed Nov 18 15:23:43 2020 New Revision: 367804 URL: https://svnweb.freebsd.org/changeset/base/367804 Log: Fix mandoc lint warnings. Modified: head/share/man/man4/ng_tag.4 Modified: head/share/man/man4/ng_tag.4

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

2020-11-18 Thread Mateusz Guzik
On 11/18/20, Konstantin Belousov wrote: > On Tue, Nov 17, 2020 at 03:36:31PM +0100, Mateusz Guzik wrote: >> On 11/17/20, Konstantin Belousov wrote: >> > On Tue, Nov 17, 2020 at 04:15:12AM +0100, Mateusz Guzik wrote: >> >> On 11/17/20, Konstantin Belousov wrote: >> >> > On Mon, Nov 16, 2020 at

svn commit: r367803 - head/sys/dev/ena

2020-11-18 Thread Marcin Wojtas
Author: mw Date: Wed Nov 18 15:20:01 2020 New Revision: 367803 URL: https://svnweb.freebsd.org/changeset/base/367803 Log: Rename descriptions of the supported ENA devices Some of the PCI ID were described as ENA with LLQ support - it's not fully accurate and because of that, their names

svn commit: r367802 - head/sys/dev/ena

2020-11-18 Thread Marcin Wojtas
Author: mw Date: Wed Nov 18 15:17:55 2020 New Revision: 367802 URL: https://svnweb.freebsd.org/changeset/base/367802 Log: Add ENI metrics for the ENA driver The new HAL allows the driver to read extra ENI stats. Exact meaning of each of them can be found in base/ena_defs/ena_admin_defs.h

svn commit: r367801 - in head: share/man/man4 sys/dev/ena sys/modules/ena

2020-11-18 Thread Marcin Wojtas
Author: mw Date: Wed Nov 18 15:07:34 2020 New Revision: 367801 URL: https://svnweb.freebsd.org/changeset/base/367801 Log: Add SPDX license tag to the ENA driver files Refering to guide: https://wiki.freebsd.org/SPDX the SPDX tag should not replace the standard license text, however it

svn commit: r367800 - head/sys/dev/ena

2020-11-18 Thread Marcin Wojtas
Author: mw Date: Wed Nov 18 15:02:12 2020 New Revision: 367800 URL: https://svnweb.freebsd.org/changeset/base/367800 Log: Add Rx offsets support for the ENA driver For the first descriptor in a chain the data may start at an offset. It is optional feature of some devices, so the driver

svn commit: r367799 - in head/sys: contrib/ena-com contrib/ena-com/ena_defs dev/ena

2020-11-18 Thread Marcin Wojtas
Author: mw Date: Wed Nov 18 14:59:22 2020 New Revision: 367799 URL: https://svnweb.freebsd.org/changeset/base/367799 Log: Adjust ENA driver files to latest ena-com changes * Use the new API of ena_trace_* * Fix typo syndrom --> syndrome * Remove validation of the Rx req ID (already

svn commit: r367797 - head/sys/net

2020-11-18 Thread Andrew Gallatin
Author: gallatin Date: Wed Nov 18 14:55:49 2020 New Revision: 367797 URL: https://svnweb.freebsd.org/changeset/base/367797 Log: LACP: When suppressing distributing, return ENOBUFS When links come and go, lacp goes into a "suppress distributing" mode where it drops traffic for 3 seconds.

svn commit: r367798 - vendor-sys/ena-com/2.3.0

2020-11-18 Thread Marcin Wojtas
Author: mw Date: Wed Nov 18 14:55:49 2020 New Revision: 367798 URL: https://svnweb.freebsd.org/changeset/base/367798 Log: Upgrade ENA HAL to v2.3.0 Sponsored by: Amazon, Inc. Added: vendor-sys/ena-com/2.3.0/ - copied from r367796, vendor-sys/ena-com/dist/

svn commit: r367796 - in vendor-sys/ena-com/dist: . ena_defs

2020-11-18 Thread Marcin Wojtas
Author: mw Date: Wed Nov 18 14:54:55 2020 New Revision: 367796 URL: https://svnweb.freebsd.org/changeset/base/367796 Log: Upgrade ENA HAL to the latest version (26/10/20) Add support for the ENI metrics, bug fix for destroying wait event and also other minor bug fixes, improvements, etc.

svn commit: r367795 - in head/sys: contrib/ena-com dev/ena

2020-11-18 Thread Marcin Wojtas
Author: mw Date: Wed Nov 18 14:50:12 2020 New Revision: 367795 URL: https://svnweb.freebsd.org/changeset/base/367795 Log: Fix completion descriptors alignment for the ENA The latest generation hardware requires IO CQ (completion queue) descriptors memory to be aligned to a 4K. It needs

svn commit: r367794 - vendor-sys/ena-com/2.2.1

2020-11-18 Thread Marcin Wojtas
Author: mw Date: Wed Nov 18 14:32:48 2020 New Revision: 367794 URL: https://svnweb.freebsd.org/changeset/base/367794 Log: Upgrade ena-com to v2.2.1 An upgrade contains the cdesc allocation alignment fix. Obtained from: Amazon, Inc Added: vendor-sys/ena-com/2.2.1/ - copied from

svn commit: r367793 - vendor-sys/ena-com/dist

2020-11-18 Thread Marcin Wojtas
Author: mw Date: Wed Nov 18 14:30:59 2020 New Revision: 367793 URL: https://svnweb.freebsd.org/changeset/base/367793 Log: ena-com: Fix ena-com to allocate cdesc aligned to 4k The latest generation hardware requires IO CQ (completion queue) descriptors memory to be aligned to a 4K. It

svn commit: r367792 - stable/12/sys/net

2020-11-18 Thread Mark Johnston
Author: markj Date: Wed Nov 18 14:27:47 2020 New Revision: 367792 URL: https://svnweb.freebsd.org/changeset/base/367792 Log: MFC r367596: iflib: Free full mbuf chains when draining transmit queues Modified: stable/12/sys/net/iflib.c Directory Properties: stable/12/ (props changed)

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

2020-11-18 Thread Mark Johnston
Author: markj Date: Wed Nov 18 14:27:24 2020 New Revision: 367791 URL: https://svnweb.freebsd.org/changeset/base/367791 Log: MFC r367588: Fix a pair of races in SIGIO registration Modified: stable/12/sys/kern/kern_descrip.c stable/12/sys/kern/kern_exit.c stable/12/sys/kern/kern_proc.c

svn commit: r367790 - stable/12/sys/net

2020-11-18 Thread Andrey V. Elsukov
Author: ae Date: Wed Nov 18 13:52:13 2020 New Revision: 367790 URL: https://svnweb.freebsd.org/changeset/base/367790 Log: MFC r367594: Fix possible NULL pointer dereference. lagg(4) replaces if_output method of its child interfaces and expects that this method can be called only

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: r367786 - stable/12/share/man/man7

2020-11-18 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Wed Nov 18 09:00:05 2020 New Revision: 367786 URL: https://svnweb.freebsd.org/changeset/base/367786 Log: MFC r367552: Do not document MOTIFLIB in ports(7) Perhaps it made sense in 1998 (r32836), but now it feels a bit out of place. We tend to