freebsd with flexible iflib nic queues
Go to file
Alexander V. Chernikov 11cdad9873 Partially merge r274887,r275334,r275577,r275578,r275586 to minimize
differences between projects/routing and HEAD.

This commit tries to keep code logic the same while changing underlying
code to use unified callbacks.

* Add llt_foreach_entry method to traverse all entries in given llt
* Add llt_dump_entry method to export particular lle entry in sysctl/rtsock
  format (code is not indented properly to minimize diff). Will be fixed
  in the next commits.
* Add llt_link_entry/llt_unlink_entry methods to link/unlink particular lle.
* Add llt_fill_sa_entry method to export address in the lle to sockaddr
  format.
* Add llt_hash method to use in generic hash table support code.
* Add llt_free_entry method which is used in llt_prefix_free code.

* Prepare for fine-grained locking by separating lle unlink and deletion in
  lltable_free() and lltable_prefix_free().

* Provide lltable_get<ifp|af>() functions to reduce direct 'struct lltable'
 access by external callers.

* Remove @llt agrument from lle_free() lle callback since it was unused.
* Temporarily add L3_CADDR() macro for 'const' sockaddr typecasting.
* Switch to per-af hashing code.
* Rename LLE_FREE_LOCKED() callback from in[6]_lltable_free() to
  in_[6]lltable_destroy() to avoid clashing with llt_free_entry() method.
  Update description from these functions.
* Use unified lltable_free_entry() function instead of per-af one.

Reviewed by:	ae
2015-08-10 12:03:59 +00:00
bin Cast uid and gid to the correct type for display to solve segfault in ls(1) on 32bit arches 2015-07-24 20:20:59 +00:00
cddl MFV 286546: 2015-08-09 20:02:16 +00:00
contrib In GNU as, avoid left-shifting negative integers, which is undefined. 2015-08-09 11:06:40 +00:00
crypto Fix multiple OpenSSH vulnerabilities. 2015-07-28 19:58:38 +00:00
etc Commit more of the reversion of r286410 . Sorry. 2015-08-10 06:12:24 +00:00
games Fix a typo. 2015-07-02 11:46:35 +00:00
gnu Remove old GNU Binutils tools now provided by ELF Tool Chain 2015-08-05 18:30:00 +00:00
include Vendor import apr-1.5.2 2015-08-09 04:32:54 +00:00
kerberos5 Fix a typo introduced in r262209. 2015-06-18 21:18:43 +00:00
lib In libm's exp2(3), avoid left-shifting a negative integer, which is 2015-08-09 10:00:13 +00:00
libexec Disable SSE in libthr 2015-08-05 12:53:55 +00:00
release Add iwm(4) to the hardware notes. 2015-08-10 10:41:40 +00:00
rescue Add META_MODE support. 2015-06-13 19:20:56 +00:00
sbin Allow to disable BIO_DELETE passthru in fstab for swap-on-geli devices by 2015-08-08 09:57:38 +00:00
secure Merge OpenSSL 1.0.1p. 2015-07-09 17:07:45 +00:00
share Xref iwm(4). 2015-08-10 10:54:35 +00:00
sys Partially merge r274887,r275334,r275577,r275578,r275586 to minimize 2015-08-10 12:03:59 +00:00
targets Updated depends 2015-07-03 06:11:54 +00:00
tests Add various tests to ensure that invalid arguments passed to mmap() 2015-08-06 16:14:29 +00:00
tools Finish reverting r286410 for now. 2015-08-10 06:12:53 +00:00
usr.bin Add a #ifndef around the HAVE_ICONV settings since it is supplied 2015-08-10 00:53:45 +00:00
usr.sbin Rather than hardcoding a string and limiting the comparison to these 2015-08-10 10:29:32 +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 Remove cokane@ from MAINTAINERS for 3dfx(4)/tdfx(4) because their email 2014-11-25 05:25:12 +00:00
Makefile Fix generation of src.conf.5 2015-07-03 06:10:09 +00:00
Makefile.inc1 cmp and cp are used by the kerberos install, so need to be imclided in 2015-08-09 18:15:33 +00:00
ObsoleteFiles.inc Add removed tests to ObsoleteFiles.inc 2015-08-02 02:23:30 +00:00
README README: changes and fixups 2015-04-19 07:16:44 +00:00
UPDATING Add a new group named 'video' with the id of 44. And make drm create 2015-08-09 12:58:56 +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