d1ecd3ac manu Oct. 25, 2019, 5:56 p.m.
Add this flash chip which is a 128Mb spi flash.

MFC after:	1 week
cgit ViewVC
c0750d9d bz Oct. 25, 2019, 5:41 p.m.
The change to conform to RFC 8200 for overlapping fragments now frees
the entire reassembly queue if the overlapping fragments are not an
exact match.
As a result we do see one less packet in the timeout statistics from
expiry.  No other statistics change as the event is not counted.
It can be argued that we should improve the statistics counters in
that case.
This test case update should have been committed alongside the original
commit.

Pointyhat to:	bz
MFC after:	3 weeks
X-MFC with:	r354046
Sponsored by:	Netflix
cgit ViewVC
42a62162 glebius Oct. 25, 2019, 4:59 p.m.
not allowed at ends of the request, and all non-bogus pages must be
consecutive.

Reviewed by:	kib
cgit ViewVC
174bd5b0 avg Oct. 25, 2019, 4:30 p.m.
MFC after:	1 week
cgit ViewVC
702828f6 bz Oct. 25, 2019, 4:29 p.m.
When allocating the IPv6 fragement packet queue entry we do checks
against counters and if we pass we increment one of the counters
to claim the spot.  Right after that we have two cases (malloc and MAC)
which can both fail in which case we free the entry but never released
our claim on the counter.  In theory this can lead to not accepting new
fragments after a long time, especially if it would be MAC "refusing"
them.
Rather than immediately subtracting the value in the error case, only
increment it after these two cases so we can no longer leak it.

MFC after:	3 weeks
Sponsored by:	Netflix
cgit ViewVC
c8001490 avg Oct. 25, 2019, 4:28 p.m.
MFC after:	1 week
cgit ViewVC
0aee3bdc avg Oct. 25, 2019, 4:07 p.m.
MFC after:	1 week
cgit ViewVC
dbb15ea5 avg Oct. 25, 2019, 3:46 p.m.
b8c776ba avg Oct. 25, 2019, 3:39 p.m.
Reviewed by:	imp
MFC after:	2 weeks
cgit ViewVC
bb7b803b avg Oct. 25, 2019, 3:38 p.m.
Previously the code used sbttous() before microseconds comparison in one
place, sbttons() and nanoseconds in another, division by SBT_1US and
microseconds in yet another.

Now the code consistently uses multiplication by SBT_1US to convert
microseconds to sbintime_t before comparing them with periods between
calls to sbinuptime().  This is fast, this is precise enough (below
0.03%) and the periods defined by the protocol cannot overflow.

Reviewed by:	imp (D22108)
MFC after:	2 weeks
cgit ViewVC
6c1633e1 andrew Oct. 25, 2019, 2:46 p.m.
Sponsored by:	DARPA, AFRL
cgit ViewVC
a3b4443c andrew Oct. 25, 2019, 2:30 p.m.
ID register macros.

MFC after:	2 weeks
Sponsored by:	DARPA, AFRL
cgit ViewVC
c1750b82 avg Oct. 25, 2019, 2:20 p.m.
Now this is done before starting the low pulse that has rather tight
timing.

Reviewed by:	imp (D22108)
MFC after:	2 weeks
cgit ViewVC
46ecf8e0 avg Oct. 25, 2019, 1:47 p.m.
The lock is used only for start / stop signaling.
It is used only for 'flags' field and the related condition variable.

This change is a follow-up to r354067, it was suggested by Warner in
D22107.

Suggested by:	imp
MFC after:	1 week
cgit ViewVC
f17aea53 avg Oct. 25, 2019, 1:42 p.m.
This is similar to what is done around other calls that lead to
own_command_wait() that can sleep.

Reviewed by:	imp
MFC after:	1 week
Differential Revision: https://reviews.freebsd.org/D22107
cgit ViewVC