freebsd-skq/sys/dev/cxgbe
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
..
common cxgbe/t4_tom: Add a "TCB history" feature that samples hardware state 2019-04-22 17:48:10 +00:00
crypto Reject new sessions if the necessary queues aren't initialized. 2019-01-15 18:53:45 +00:00
cudbg cxgbe(4): Fix unsafe mailbox access in cudbg. 2017-11-21 01:18:58 +00:00
cxgbei Check for an allocation failure before dereferencing the pointer. 2018-11-26 22:42:52 +00:00
firmware cxgbe(4): Treat the viid as an opaque identifier. 2019-03-20 17:27:11 +00:00
iw_cxgbe iw_cxgbe: Remove unused smac_idx from the ep structure. 2019-03-19 19:11:44 +00:00
tom cxgbe/t4_tom: Add a "TCB history" feature that samples hardware state 2019-04-22 17:48:10 +00:00
adapter.h cxgbe(4): Count and clear interrupts generated at the software's request. 2019-03-28 21:22:28 +00:00
if_cc.c cxgbe(4): Attach to cards with the Terminator 6 ASIC. T6 cards will 2016-09-16 00:08:37 +00:00
if_ccv.c cxgbe(4): Attach to cards with the Terminator 6 ASIC. T6 cards will 2016-09-16 00:08:37 +00:00
if_cxl.c
if_cxlv.c Chelsio T4/T5 VF driver. 2016-09-07 18:13:57 +00:00
offload.h cxgbe/t4_tom: Catch up with r344433, which removed tcb_autorcvbuf_inc. 2019-03-29 16:43:24 +00:00
osdep.h cxgbe(4): Add adapter information to messages logged by the OS-agnostic 2019-01-29 00:49:12 +00:00
t4_clip.c cxgbe(4): Do not issue mbox commands after t4_fw_bye. 2018-12-19 19:21:29 +00:00
t4_clip.h Move CLIP table handling out of TOM and into the base driver. 2018-11-29 01:15:53 +00:00
t4_filter.c cxgbe(4): Clear the reply-pending status of a hashfilter when the reply 2019-01-20 23:30:16 +00:00
t4_if.m
t4_ioctl.h cxgbe(4): Allow "pass" filters to distribute matching traffic using a 2018-10-25 14:37:26 +00:00
t4_iov.c cxgbe(4): Update the VF device ids too. This should have been part 2017-05-05 16:52:25 +00:00
t4_l2t.c cxgbe(4): Reuse existing "switching" L2T entries when possible. 2018-09-22 01:24:30 +00:00
t4_l2t.h cxgbe(4): Reuse existing "switching" L2T entries when possible. 2018-09-22 01:24:30 +00:00
t4_main.c Track device's NUMA domain in ifnet & alloc ifnet from NUMA local memory 2019-04-22 19:24:21 +00:00
t4_mp_ring.c cxgbe(4): Use fcmpset instead of cmpset when appropriate. 2018-08-23 16:24:27 +00:00
t4_mp_ring.h
t4_netmap.c cxgbe: revert r309725 2018-11-28 15:29:58 +00:00
t4_sched.c cxgbe(4): Treat the viid as an opaque identifier. 2019-03-20 17:27:11 +00:00
t4_sge.c cxgbe(4): Count and clear interrupts generated at the software's request. 2019-03-28 21:22:28 +00:00
t4_smt.c cxgbe(4): Move all control queues to the adapter. 2018-08-11 21:10:08 +00:00
t4_smt.h cxgbe(4): Retire an old check. 2018-06-01 01:05:34 +00:00
t4_tracer.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
t4_vf.c cxgbev(4): Enable 32b port capabilities in the VF driver. 2019-03-02 04:39:59 +00:00