diff options
| author | Hannes Reinecke <[email protected]> | 2018-11-16 09:22:29 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-12-07 22:26:55 -0700 |
| commit | 103e515efa89be33d04e45aae82de136f0c49865 (patch) | |
| tree | 67151073e75ed659186af3fdd229e498e87730fa /tools/perf/scripts/python/netdev-times.py | |
| parent | 1190203555ec58d768ea802e8fdbb5c42187d9d5 (diff) | |
nvme: add a numa_node field to struct nvme_ctrl
Instead of directly poking into the struct device add a new numa_node
field to struct nvme_ctrl. This allows fabrics drivers where ctrl->dev
is a virtual device to support NUMA affinity as well.
Also expose the field as a sysfs attribute, and populate it for the
RDMA and FC transports.
Signed-off-by: Hannes Reinecke <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions