r307600 kevlo Oct. 19, 2016, 2:24 a.m.
r307598 jhibbits Oct. 19, 2016, 2:23 a.m.
Static variables aren't MP-safe, and this was causing bizarre segfaults on a
dual-core e500v2 system (P1022).

Still left is one static variable, which should be moved into the pcb instead,
but as illegal instructions haven't been hit yet, it's lower priority.

MFC after:	1 week
ViewVC
r307593 gonzo Oct. 19, 2016, 2:03 a.m.
r307592 gonzo Oct. 19, 2016, 2:02 a.m.
r307586 gonzo Oct. 18, 2016, 11:48 p.m.
Policy for FreeBSD/arm64 kernel config is the same one as for x86
architectures: provide GENERIC kernel bootable on as many systems
as possible. Since there is no SMP support for RPi 3 yet new kernel
config was introduced: GENERIC-UP, which is effectively GENERIC with
SMP option disabled
ViewVC
r307584 asomers Oct. 18, 2016, 11:20 p.m.
C99 allows array function parameters to use the static keyword for their
sizes. This tells the compiler that the parameter will have at least the
specified size, and calling code will fail to compile if that guarantee is
not met. However, this syntax is not legal in C++.

This commit reverts r300824, which worked around the problem for
sys/sys/md5.h only, and introduces a new macro: min_size(). min_size(x) can
be used in headers as a static array size, but will still compile in C++
mode.

Reviewed by:	cem, ed
MFC after:	4 weeks
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D8277
ViewVC
r307583 br Oct. 18, 2016, 10:53 p.m.
Requested by:	ngie
Sponsored by:	DARPA, AFRL
Sponsored by:	HEIF5
ViewVC
r307582 imp Oct. 18, 2016, 10:40 p.m.
r307581 imp Oct. 18, 2016, 10:40 p.m.
r307578 davidcs Oct. 18, 2016, 9:33 p.m.
fastpath and slowpath taskqueues.
2. Service all transmits in taskqueue threads.
3. additional stats counters for  keeping track of
	- bd availability
	- tx buf ring not emptied in the fp task queue.
	  These are drained via timeout taskqueue.
	- tx attempts during link down.

MFC after: 5 days
ViewVC
r307577 avos Oct. 18, 2016, 9:17 p.m.
r307574 luigi Oct. 18, 2016, 4:18 p.m.
fix build on 32 bit platforms
simplify logic in netmap_virt.h

The commands (in net/netmap.h) to configure communication with the
hypervisor may be revised soon.
At the moment they are unused so this will not be a change of API.
ViewVC
r307573 luigi Oct. 18, 2016, 3:50 p.m.
r307572 luigi Oct. 18, 2016, 3:41 p.m.
r307571 luigi Oct. 18, 2016, 3:24 p.m.