freebsd-dev/sys/dev/mlx5
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
..
mlx5_accel mlx5fpga: Initial code import. 2018-12-05 14:11:20 +00:00
mlx5_core mlx4/mlx5: Updated driver version to 3.5.0 2018-12-05 14:25:34 +00:00
mlx5_en Track device's NUMA domain in ifnet & alloc ifnet from NUMA local memory 2019-04-22 19:24:21 +00:00
mlx5_fpga mlx5fpga: Add set and query connect/disconnect FPGA 2018-12-05 14:19:55 +00:00
mlx5_fpga_tools mlx5fpga: Add set and query connect/disconnect FPGA 2018-12-05 14:19:55 +00:00
mlx5_ib mlx4/mlx5: Updated driver version to 3.5.0 2018-12-05 14:25:34 +00:00
mlx5_lib mlx5fpga: Initial code import. 2018-12-05 14:11:20 +00:00
cmd.h Remove duplicate prototypes. 2018-03-08 15:37:09 +00:00
cq.h Update version information for the mlx5 and mlx5en(4) modules. 2018-07-18 10:12:53 +00:00
device.h mlx5fpga: Initial code import. 2018-12-05 14:11:20 +00:00
diagnostics.h Make "desc" pointer non-constant inside the mlx5_core_diagnostics_entry 2017-01-30 08:35:15 +00:00
doorbell.h Update version information for the mlx5 and mlx5en(4) modules. 2018-07-18 10:12:53 +00:00
driver.h mlx5fpga: IOCTL for FPGA temperature measurement 2018-12-05 14:19:23 +00:00
fs.h Refactor the flowsteering APIs used by mlx5en(4). This change is needed by 2017-11-10 09:49:08 +00:00
mlx5_ifc.h mlx5en: Add support for IFM_10G_LR and IFM_40G_ER4 media types. 2018-12-05 14:22:30 +00:00
mlx5_rdma_if.h Update version information for the mlx5 and mlx5en(4) modules. 2018-07-18 10:12:53 +00:00
mlx5io.h Change u32 to uint32_t to allow the native-xtools target to build 2018-12-06 18:59:33 +00:00
port.h mlx5en: Add support for IFM_10G_LR and IFM_40G_ER4 media types. 2018-12-05 14:22:30 +00:00
qp.h Update version information for the mlx5 and mlx5en(4) modules. 2018-07-18 10:12:53 +00:00
srq.h Update version information for the mlx5 and mlx5en(4) modules. 2018-07-18 10:12:53 +00:00
vport.h mlx5en: Fix for inlining issues in transmit path 2018-12-05 14:21:28 +00:00