You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Stephan de Wit 42e3462718 axgbe: invert MTL RSF and TSF enable/disable flags
If the interface is in netmap mode (polling), it is possible for packets with 0 length to be DMAd into memory. While this doesn't seem to happen during normal, interrupt-based traffic, it is highly likely that it is possible for queue overflows to trigger a firmware issue where the RSF function allows zero-length packets to pass during polling mode.

We invert the flags as the documentation seems to suggest that setting a '1' in this register would be the default mode, e.g. read a packet from the RX queue only after a complete packet has been written to it, as opposed to operating in cut-through mode, in which the packet is subject to a certain threshold before the MAC actually reads it. The same goes for the TX side. This change seems to drastically increase throughput when in netmap mode.
2 days ago
.cirrus-ci Cirrus-CI: add some timing info on pkg install failure 1 year ago
.github Issues - add contributing guidelines and issue template. As this is mostly upstream, don't include feature request templates or questions 1 year ago
bin etc: OPNsense customisations 1 year ago
cddl libctf: Fix recursive descent into anonymous SOU fields 1 year ago
contrib contrib/tzdata: import tzdata 2022g 4 months ago
crypto Fix multiple OpenSSL vulnerabilities. 3 months ago
etc contrib/tzdata: import tzdata 2022d 7 months ago
gnu Bump shared library versions after ncurses bump in 13. 2 years ago
include Install unwind.h into /usr/include 1 year ago
kerberos5 pkgbase: Create a FreeBSD-kerberos package 1 year ago
lib geli: split the initalization of HMAC 4 months ago
libexec rc: run NAME_setup before RC_ARG_precmd 8 months ago
release release: fix on-disc pkg binary symbolic links 1 year ago
rescue Fix building rescue/rescue when sanitizers are enabled 2 years ago
sbin ipfw.8: MFC: improve description for interface matching 3 weeks ago
secure Fix multiple OpenSSL vulnerabilities. 3 months ago
share bridge: Add support for emulated netmap mode 2 months ago
stand loader: fix elf lookup_symbol type filtering 7 months ago
sys axgbe: invert MTL RSF and TSF enable/disable flags 2 days ago
targets Fix bootstrapping to actually build lldb-tblgen for later use 2 years ago
tests netmap: fix copyin/copyout of nmreq options list 2 months ago
tools contrib/tzdata: import tzdata 2022g 4 months ago
usr.bin vi: tired of declining vim state 11 months ago
usr.sbin netmap: several typo fixes 5 months ago
.arcconfig arcconfig: add callsign again 3 years ago
.arclint arc lint: ignore /tests/ in chmod 6 years ago
.cirrus.yml Cirrus-CI: add a manual amd64-gcc9 build and smoketest job 1 year ago
.clang-format clang-format: Add bitset loop macros 2 years ago
.gitattributes Add a basic clang-format configuration file 4 years ago
.gitignore add exuberant ctags tags file to gitignore 1 year ago
CONTRIBUTING.md Issues - add contributing guidelines and issue template. As this is mostly upstream, don't include feature request templates or questions 1 year ago
COPYRIGHT copyrights: Happy New Year 2021 2 years ago
LOCKS LOCKS: update current locks 5 years ago
MAINTAINERS Add a pointer to csprng@ for the CSPRNG driver. This is enforced anyway by 3 years ago
Makefile Fix 'make bmake' top-level bootstrapping. 1 year ago
Makefile.inc1 installworld: handle ldd including preloaded objects 1 year ago
Makefile.libcompat Prefer MK_SSP=no to SSP_CFLAGS= 2 years ago
Makefile.sys.inc AUTO_OBJ: For all top-level targets enforce using an OBJDIR. 6 years ago
ObsoleteFiles.inc contrib/tzdata: import tzdata 2022d 7 months ago
README README.md: update gnu directory description 1 year ago
README.md README.md: update gnu directory description 1 year ago
RELNOTES Switch RELNOTES to 13.1 1 year ago
UPDATING Add UPDATING entries and bump version. 3 months ago

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		Commands and libraries under the GNU General Public License
		(GPL) or Lesser General Public License (LGPL).  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