freebsd with flexible iflib nic queues
Go to file
Andrew Rybchenko ca8c913582 sfxge: [EF10] support RxQ scattering control
If, for example, a VF is configured to use a 1500 byte MTU, but the port
it is attached to is set to 9000 bytes, overlength frames can be received
by the VF. As Huntington scatters by default, these overlength packets
would be scattered across several descriptors, with all except the last
having the CONT bit set.

To avoid this, disable scatter when creating RXQs if the firmware
supports doing so, which all recent versions do. Then we only get
a single descriptor from an overlength frame. This will have the CONT
bit set to indicate it was truncated, so we can discard it.

Submitted by:   Mark Spender <mspender at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 days
Differential Revision: https://reviews.freebsd.org/D4354
2015-12-04 06:54:46 +00:00
bin Fix spelling, as recommended by igor tool. 2015-12-01 19:20:38 +00:00
cddl Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
contrib Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
crypto Merge OpenSSL 1.0.2e. 2015-12-03 21:13:35 +00:00
etc Regenerate usb.conf . 2015-12-03 16:54:45 +00:00
gnu Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
include Move obscure lib/ installation of /usr/lib/include symlink to include/. 2015-12-04 03:18:02 +00:00
kerberos5 META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host. 2015-11-25 19:10:28 +00:00
lib Move obscure lib/ installation of /usr/lib/include symlink to include/. 2015-12-04 03:18:02 +00:00
libexec Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
release Fix tmpfs(5) '/tmp' mount point. 2015-11-25 19:10:04 +00:00
rescue Fix the build after ifconfig was converted over to lib80211 in r291470 2015-11-30 16:34:13 +00:00
sbin Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
secure Merge OpenSSL 1.0.2e. 2015-12-03 21:13:35 +00:00
share Add assertion for when LIBADD should be used rather than LDADD/DPADD. 2015-12-04 03:17:59 +00:00
sys sfxge: [EF10] support RxQ scattering control 2015-12-04 06:54:46 +00:00
targets rescue/rescue does not yet build in meta mode. 2015-12-03 22:40:42 +00:00
tests Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
tools Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
usr.bin Remove disconnected directory RETEST. 2015-12-04 05:00:51 +00:00
usr.sbin Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
.arcconfig Add repository.callsign, to help arcanist figure out what repo it's 2015-07-02 22:23:52 +00:00
.arclint phabricator related changes: 2015-04-20 20:33:22 +00:00
COPYRIGHT Bump copyright year. 2014-12-31 10:00:43 +00:00
LOCKS
MAINTAINERS Move recently added entry above the "old" line. 2015-11-17 19:03:55 +00:00
Makefile Import OpenSSL 1.0.2e. 2015-12-03 17:22:58 +00:00
Makefile.inc1 bsd.subdir.mk: Only recurse on called targets, rather than dependencies. 2015-12-02 01:50:22 +00:00
ObsoleteFiles.inc Correct r291591: Don't remove /usr/lib/libelf*, these are still installed. 2015-12-01 16:16:40 +00:00
README Import OpenSSL 1.0.2e. 2015-12-03 17:22:58 +00:00
UPDATING Fix errors being ignored in many phases of the build since the bmake integration. 2015-12-01 19:00:43 +00:00

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

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)
and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for more information, including setting make(1) variables.

The `buildkernel` and `installkernel` targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process.  See build(7), config(8),
and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
for more information.

Note: If you want to build and install the kernel with the
`buildkernel` and `installkernel` targets, you might need to build
world before.  More information is available in the handbook.

The kernel configuration files reside in the sys/<arch>/conf
sub-directory.  GENERIC is the default configuration used in release builds.
NOTES contains entries and documentation for all possible
devices, not just those commonly used.


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.

games		Amusements.

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.

sys		Kernel sources.

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:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html