r325997 nyan Nov. 19, 2017, 11:33 a.m.
r325995 kib Nov. 19, 2017, 11:21 a.m.
Sponsored by:	The FreeBSD Foundation
r325994 delphij Nov. 19, 2017, 3:52 a.m.
r325993 delphij Nov. 19, 2017, 3:51 a.m.
r325991 kevans Nov. 19, 2017, 3:14 a.m.
We currently support the a83t's r_intc in a somewhat hack-ish way; our .dts
describes it as nmi_intc, and uses a subset of the actual register space to
make it line up with a20/a31 nmi offsets.

This breaks with the recent 4.14 update describing r_intc using the full
register space, so update aw_nmi to use the correct register offsets with
the right compat data in a way that doesn't break our current dts with
nmi_intc or upstream with r_intc described.

Reviewed by:	manu
Approved by:	emaste (mentor)
Differential Revision:	https://reviews.freebsd.org/D13122
r325990 brd Nov. 19, 2017, 2:16 a.m.
Approved by:	gjb
r325988 emaste Nov. 19, 2017, 12:31 a.m.
PR:		223641
Submitted by:	ota@j.email.ne.jp
MFC after:	1 week
r325987 manu Nov. 18, 2017, 9:39 p.m.
Latest u-boot port provide the dts for pine64, remove our custom
and outdated dts for this board.
r325986 bdrewery Nov. 18, 2017, 9:27 p.m.
The else statement is already handling this by ensuring a safe .OBJDIR is used.

Sponsored by:	Dell
r325985 manu Nov. 18, 2017, 9:12 p.m.
Stale packets should not be transmitted when the interface comes up after being down.
Count the successfully transmitted ones for statistics and drop the rest.

Submitted by:	Guy Yur <guyyur@gmail.com>
Differential Revision:	https://reviews.freebsd.org/D12539
r325984 manu Nov. 18, 2017, 9:08 p.m.
Use a spare dma map when attempting to map a new mbuf on the rx path.
If the mbuf allocation fails or the dma map loading for the new mbuf fails just reuse the old mbuf
and increase the drop counter.

Submitted by:	Guy Yur <guyyur@gmail.com>
Differential Revision:	https://reviews.freebsd.org/D12538
r325983 manu Nov. 18, 2017, 9:04 p.m.
- use awg_encap and awg_txeof names to match iflib and other network drivers.
- handle m_collapse failure similarly by freeing the mbuf rather than reenqueuing it where it will continue to fail.

Submitted by:	Guy Yur <guyyur@gmail.com>
Differential Revision:	https://reviews.freebsd.org/D13035
r325982 manu Nov. 18, 2017, 8:59 p.m.
TX_BUF_UA_INT is set when there are no buffers to transmit and can
happen before hw.awg.tx_interval segments have been transmitted.

To reduce load, tx cleanup should be done in hw.awg.tx_interval intervals.

Submitted by:	Guy Yur <guyyur@gmail.com>
Differential Revision:	https://reviews.freebsd.org/D13034
r325981 manu Nov. 18, 2017, 8:55 p.m.
Small optimization

Submitted by:	Guy Yur <guyyur@gmail.com>
Differential Revision:	https://reviews.freebsd.org/D13033
r325980 manu Nov. 18, 2017, 8:50 p.m.
A packet may be built from multiple segments, don't increase the count for each segment

Submitted by:	Guy Yur <guyyur@gmail.com>
Differential Revision:	https://reviews.freebsd.org/D13032