projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma
[platform/kernel/linux-starfive.git]
/
drivers
/
infiniband
/
hw
/
hfi1
/
netdev_rx.c
diff --git
a/drivers/infiniband/hw/hfi1/netdev_rx.c
b/drivers/infiniband/hw/hfi1/netdev_rx.c
index
01713e7
..
03b098a
100644
(file)
--- a/
drivers/infiniband/hw/hfi1/netdev_rx.c
+++ b/
drivers/infiniband/hw/hfi1/netdev_rx.c
@@
-173,8
+173,7
@@
u32 hfi1_num_netdev_contexts(struct hfi1_devdata *dd, u32 available_contexts,
return 0;
}
- cpumask_and(node_cpu_mask, cpu_mask,
- cpumask_of_node(pcibus_to_node(dd->pcidev->bus)));
+ cpumask_and(node_cpu_mask, cpu_mask, cpumask_of_node(dd->node));
available_cpus = cpumask_weight(node_cpu_mask);