Andrew Gallatin 7687707dd4 Track device's NUMA domain in ifnet & alloc ifnet from NUMA local memory
This commit adds new if_alloc_domain() and if_alloc_dev() methods to
allocate ifnets.  When called with a domain on a NUMA machine,
ifalloc_domain() will record the NUMA domain in the ifnet, and it will
allocate the ifnet struct from memory which is local to that NUMA
node.  Similarly, if_alloc_dev() is a wrapper for if_alloc_domain
which uses a driver supplied device_t to call ifalloc_domain() with
the appropriate domain.

Note that the new if_numa_domain field fits in an alignment pad in
struct ifnet, and so does not alter the size of the structure.

Reviewed by:	glebius, kib, markj
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D19930
2019-04-22 19:24:21 +00:00
..
2019-03-20 17:27:00 +00:00
2019-02-25 21:59:01 +00:00
2019-01-25 21:38:28 +00:00
2019-03-19 14:34:53 +00:00
2019-02-19 19:37:02 +00:00
2019-02-04 21:28:25 +00:00
2018-12-17 21:34:09 +00:00
2019-03-20 17:27:00 +00:00
2019-04-02 04:12:06 +00:00
2019-04-10 20:44:54 +00:00
2019-02-22 19:54:28 +00:00
2019-01-08 05:41:04 +00:00
2019-02-05 21:37:34 +00:00
2019-03-11 14:26:45 +00:00
2019-02-05 21:37:34 +00:00
2019-02-05 21:37:34 +00:00
2019-03-20 17:21:17 +00:00
2019-02-04 21:28:25 +00:00
2019-04-16 02:46:21 +00:00
2019-04-15 17:32:38 +00:00
2019-04-12 18:54:09 +00:00
2019-02-26 19:55:03 +00:00