Andrew Gallatin fbec776de0 Use busdma unconditionally in iflib
- Remove the complex mechanism to choose between using busdma
and raw pmap_kextract at runtime.   The reduced complexity makes
the code easier to read and maintain.

- Fix a bug in the small packet receive path where clusters were
repeatedly mapped but never unmapped. We now store the cluster's
bus address and avoid re-mapping the cluster each time a small
packet is received.

This patch fixes bugs I've seen where ixl(4) will not even
respond to ping without seeing DMAR faults.

I see a small improvement (14%) on packet forwarding tests using
a Haswell based Xeon E5-2697 v3.  Olivier sees a small
regression (-3% to -6%) with lower end hardware.

Reviewed by:	mmacy
Not objected to by:	sbruno
MFC after:	8 weeks
Sponsored by:	Netflix, Inc
Differential Revision:		https://reviews.freebsd.org/D17901
2018-11-27 20:01:05 +00:00
..
2018-05-31 09:11:21 +00:00
2018-10-30 09:53:57 +00:00
2018-10-03 07:35:16 +00:00
2018-10-03 07:35:16 +00:00
2018-05-19 05:27:49 +00:00
2018-11-26 13:42:18 +00:00
2018-11-27 20:01:05 +00:00
2018-03-23 16:56:44 +00:00
2018-03-23 16:56:44 +00:00
2018-11-02 16:57:23 +00:00
2018-06-16 19:21:09 +00:00
2018-11-26 13:42:18 +00:00