Go to file
Kevin Bowling 748db414cd e1000: Rework em_msi_link interrupt filter
* Fix 82574 Link Status Changes, carrying the OTHER mask bit around as
  needed.
* Move igb-class LSC re-arming out of FAST back into the handler.
* Clarify spurious/other interrupt re-arms in FAST.

In MSI-X mode, 82574 and igb-class devices use an interrupt filter to
handle Link Status Changes. We want to do LSC re-arms in the handler
to take advantage of autoclear (EIAC) single shot behavior.

82574 uses 'Other' in ICR and IMS for LSC interrupt types when in MSI-X
mode, so we need to set and re-arm the 'Other' bit during attach and
after ICR reads in the FAST handler if not an LSC or after handling on
LSC due to autoclearing.

This work was primarily done to address the referenced PR, but inspired
some clarification and improvement for igb-class devices once the
intentions of previous bug fix attempts became clearer.

PR:		211219
Reported by:	Alexey <aserp3@gmail.com>
Tested by:	kbowling (I210 lagg), markj (I210)
Approved by:	markj
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D29943

(cherry picked from commit eea55de7b1)
2021-06-11 08:30:25 +02:00
bin freebsd-version: fix faulty variable evaluation in make context 2020-12-04 17:17:13 +01:00
cddl src: merge HardenedBSD releng/12.1 at 7b67f6bef7a6 2019-12-06 14:17:29 +01:00
contrib contrib/tzdata: import tzdata 2021a 2021-01-29 07:28:43 +01:00
crypto Fix multiple OpenSSL vulnerabilities. Add UPDATING and bump version. 2021-03-26 08:20:06 +01:00
etc src: merge HardenedBSD releng/12.1 at 7b67f6bef7a6 2019-12-06 14:17:29 +01:00
gnu src: merge HardenedBSD releng/12.1 at 7b67f6bef7a6 2019-12-06 14:17:29 +01:00
include src: clean-cut move to releng/12.1 2019-09-25 16:17:31 +02:00
kerberos5 src: merge HardenedBSD releng/12.1 at 7b67f6bef7a6 2019-12-06 14:17:29 +01:00
lib libradius: Fix attribute length validation in rad_get_attr(3) 2021-06-04 09:30:18 +02:00
libexec HBSD: Set PAX_HARDENING_NOSHLIBRANDOM in the RTLD by default 2020-09-17 10:23:49 -04:00
release src: merge HardenedBSD releng/12.1 at 7b67f6bef7a6 2019-12-06 14:17:29 +01:00
rescue src: merge HardenedBSD releng/12.1 at 7b67f6bef7a6 2019-12-06 14:17:29 +01:00
sbin dhclient: these ancient patches make no sense to me 2021-06-10 17:32:09 +02:00
secure src: merge HardenedBSD releng/12.1 at 7b67f6bef7a6 2019-12-06 14:17:29 +01:00
share pfctl: Add missing 'va' code point name 2021-03-28 11:08:43 +02:00
stand HBSD: do not print this on OPNsense boot 2019-12-09 16:22:52 +01:00
sys e1000: Rework em_msi_link interrupt filter 2021-06-11 08:30:25 +02:00
targets src: merge HardenedBSD releng/12.1 at 7b67f6bef7a6 2019-12-06 14:17:29 +01:00
tests src: merge HardenedBSD releng/12.1 at 7b67f6bef7a6 2019-12-06 14:17:29 +01:00
tools MFC r353775 2020-11-16 12:40:33 +01:00
usr.bin Fix regression in rpc.rquotad with certain NFS servers. 2020-04-23 16:01:51 +02:00
usr.sbin bsdinstall: change branding 2021-04-19 12:51:23 +02:00
.arcconfig src: switch to release/11.2.0 2018-10-07 14:26:34 +02:00
.arclint src: switch to release/11.2.0 2018-10-07 14:26:34 +02:00
.gitattributes src: clean-cut move to releng/12.1 2019-09-25 16:17:31 +02:00
.gitignore src: merge HardenedBSD releng/12.1 at 7b67f6bef7a6 2019-12-06 14:17:29 +01:00
COPYRIGHT src: clean-cut move to releng/12.1 2019-09-25 16:17:31 +02:00
LOCKS src: clean-cut move to releng/12.1 2019-09-25 16:17:31 +02:00
MAINTAINERS src: clean-cut move to releng/12.1 2019-09-25 16:17:31 +02:00
Makefile src: clean-cut move to releng/12.1 2019-09-25 16:17:31 +02:00
Makefile.inc1 src: merge HardenedBSD releng/12.1 at 7b67f6bef7a6 2019-12-06 14:17:29 +01:00
Makefile.libcompat src: merge HardenedBSD releng/12.1 at 7b67f6bef7a6 2019-12-06 14:17:29 +01:00
Makefile.sys.inc src: clean-cut move to releng/12.1 2019-09-25 16:17:31 +02:00
ObsoleteFiles.inc src: merge HardenedBSD releng/12.1 at 7b67f6bef7a6 2019-12-06 14:17:29 +01:00
README src: clean-cut move to releng/12.1 2019-09-25 16:17:31 +02:00
README.md src: clean-cut move to releng/12.1 2019-09-25 16:17:31 +02:00
UPDATING Add UPDATING entries and bump version 2021-06-04 09:31:37 +02:00
UPDATING-HardenedBSD src: merge HardenedBSD releng/12.1 at 7b67f6bef7a6 2019-12-06 14:17:29 +01:00

README.md

FreeBSD Source:

This is the top level of the FreeBSD source directory. This file was last revised on: FreeBSD

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html, and https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html for more information, including setting make(1) variables.

Source Roadmap:

bin		System/user commands.

cddl		Various commands and libraries under the Common Development
		and Distribution License.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

rescue		Build system for statically linked /rescue utilities.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

stand		Boot loader sources.

sys		Kernel sources.

sys/<arch>/conf Kernel configuration files. GENERIC is the configuration
		used in release builds. NOTES contains documentation of
		all possible entries.

tests		Regression tests which can be run by Kyua.  See tests/README
		for additional information.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html