Find a file
John Baldwin eba13bbc37 cxgbe: Support TCP_USE_DDP on offloaded TOE connections
When this socket option is enabled, relatively large contiguous
buffers are allocated and used to receive data from the remote
connection.  When data is received a wrapper M_EXT mbuf is queued to
the socket's receive buffer.  This reduces the length of the linked
list of received mbufs and allows consumers to consume receive data in
larger chunks.

To minimize reprogramming the page pods in the adapter, receive
buffers for a given connection are recycled.  When a buffer has been
fully consumed by the receiver and freed, the buffer is placed on a
per-connection free buffers list.

The size of the receive buffers defaults to 256k and can be set via
the hw.cxgbe.toe.ddp_rcvbuf_len sysctl.  The
hw.cxgbe.toe.ddp_rcvbuf_cache sysctl (defaults to 4) determines the
maximum number of free buffers cached per connection.  Note that this
limit does not apply to "in-flight" receive buffers that are
associated with mbufs in the socket's receive buffer.

Co-authored-by:	Navdeep Parhar <np@FreeBSD.org>
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D44001
2024-03-20 15:29:28 -07:00
.cirrus-ci
.github Vendor import of OpenSSH 9.7p1 2024-03-17 13:47:10 -04:00
bin tests: Fixing incomplete atf_skip if missing jail condition 2024-02-23 13:08:09 +01:00
cddl zfs: merge openzfs/zfs@8f2f6cd2a 2024-03-07 10:52:19 +01:00
contrib Vendor import of OpenSSH 9.7p1 2024-03-17 13:47:10 -04:00
crypto ssh: remove deprecated client VersionAddendum 2024-03-18 10:20:18 -04:00
etc pkgbase: make sendmail config files as config 2024-03-20 16:44:35 +01:00
gnu misc: Remove ancient SCCS tags. 2023-11-26 22:23:27 -07:00
include timezone: Move to the XSI/POSIX definition for timezone. 2024-03-11 22:19:31 -06:00
kerberos5 kerberos5: Mitigate the possibility of using an old libcrypto 2024-01-18 07:12:14 -08:00
lib pkgbase: install all libc test files into the tests package 2024-03-20 17:13:56 +01:00
libexec rc.initdiskless: Disable soft-updates in mdmfs (again) 2024-03-20 00:54:18 -04:00
release pkgbase: add a mechanism to be able to force a give ucl include 2024-03-20 09:39:18 +01:00
rescue rescue: Stop using LDADD_zstd 2024-02-22 20:56:05 +00:00
sbin pf: convert DIOCSETSTATUSIF to netlink 2024-03-19 16:30:08 +01:00
secure caroot: routine update 2024-02-11 00:35:16 -06:00
share random(9): bump removal to FreeBSD 15.0 2024-03-18 16:03:49 -04:00
stand loader.4th dictthreshold too small 2024-03-18 16:16:29 -07:00
sys cxgbe: Support TCP_USE_DDP on offloaded TOE connections 2024-03-20 15:29:28 -07:00
targets Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51 2023-12-08 18:34:50 +01:00
tests pf: convert DIOCSETSTATUSIF to netlink 2024-03-19 16:30:08 +01:00
tools lib{c,sys}: really fix incremental builds 2024-03-18 18:52:42 +00:00
usr.bin Add myself (eduardo) to the calendar. 2024-03-19 21:21:04 +00:00
usr.sbin daemon(8): handle case of waitpid() returning without exited child 2024-03-20 03:07:00 +02:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint
.cirrus.yml Cirrus-CI: Add manual Clang 18 jobs 2024-03-01 11:44:09 -05:00
.clang-format Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
.git-blame-ignore-revs Add another commit to .git-blame-ignore-revs 2024-03-15 23:11:52 +00:00
.gitattributes Remove SVN related Git attributes 2023-12-26 10:28:28 -07:00
.gitignore Vendor import of OpenSSH 9.7p1 2024-03-17 13:47:10 -04:00
.mailmap mailmap: Translate olce's personal address to olce@FreeBSD.org 2024-01-04 15:59:01 +01:00
CONTRIBUTING.md CONTRIBUTING.md: fix typo from commmit to commit 2023-12-28 10:01:03 -05:00
COPYRIGHT copyright: Bump the copyright date. 2023-12-31 23:15:43 -07:00
LOCKS Update LOCKS for Git 2023-12-26 10:28:25 -07:00
MAINTAINERS MAINTAINERS: change linuxkpi review Phabricator group. 2024-01-16 19:23:39 +00:00
Makefile build: Order kernel-toolchain and buildkernel targets 2024-03-20 01:32:24 -04:00
Makefile.inc1 pkgbase: add a mechanism to be able to force a give ucl include 2024-03-20 09:39:18 +01:00
Makefile.libcompat build{libcompat}: Pass UNIVERSE_TOOLCHAIN_PATH to the _lc_build-tools submake 2023-08-21 21:00:45 -07:00
Makefile.sys.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ObsoleteFiles.inc Add space before 20240211 entry in ObsoleteFiles.inc 2024-03-10 12:36:28 +01:00
README.md ota: Import One True Awk from 20240122 (6a07a6d3bb63) 2024-02-28 08:05:17 -07:00
RELNOTES RELNOTES: Add awk update from 2 weeks ago. 2024-03-12 09:24:39 -06:00
UPDATING libc: link libsys as a auxiliary filter library 2024-02-05 20:34:56 +00:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

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), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

Source Roadmap:

Directory Description
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 and gnu/COPYING.LIB 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 (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
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 FreeBSD Handbook.