mirror of
https://github.com/opnsense/src.git
synced 2026-03-16 23:55:19 -04:00
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 |
||
|---|---|---|
| .. | ||
| mlx5_accel | ||
| mlx5_core | ||
| mlx5_en | ||
| mlx5_fpga | ||
| mlx5_fpga_tools | ||
| mlx5_ib | ||
| mlx5_lib | ||
| cmd.h | ||
| cq.h | ||
| device.h | ||
| diagnostics.h | ||
| doorbell.h | ||
| driver.h | ||
| fs.h | ||
| mlx5_ifc.h | ||
| mlx5_rdma_if.h | ||
| mlx5io.h | ||
| port.h | ||
| qp.h | ||
| srq.h | ||
| vport.h | ||