diff options
author | Shay Agroskin <[email protected]> | 2024-05-28 20:09:12 +0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-05-29 19:01:34 -0700 |
commit | 2dc8b1e7177d4f49f492ce648440caf2de0c3616 (patch) | |
tree | 8520cf2bc0f4f9c56941d5504d60d52a7eb944b5 /scripts/generate_rust_analyzer.py | |
parent | 602d9591a75eeb571dcc076ac4e4cedebfff03c1 (diff) |
net: ena: Fix redundant device NUMA node override
The driver overrides the NUMA node id of the device regardless of
whether it knows its correct value (often setting it to -1 even though
the node id is advertised in 'struct device'). This can lead to
suboptimal configurations.
This patch fixes this behavior and makes the shared memory allocation
functions use the NUMA node id advertised by the underlying device.
Fixes: 1738cd3ed342 ("net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)")
Signed-off-by: Shay Agroskin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions