Home
last modified time | relevance | path

Searched refs:node_cpu_mask (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dnetdev_rx.c159 cpumask_var_t node_cpu_mask; in hfi1_num_netdev_contexts() local
171 if (!zalloc_cpumask_var(&node_cpu_mask, GFP_KERNEL)) { in hfi1_num_netdev_contexts()
176 cpumask_and(node_cpu_mask, cpu_mask, cpumask_of_node(dd->node)); in hfi1_num_netdev_contexts()
178 available_cpus = cpumask_weight(node_cpu_mask); in hfi1_num_netdev_contexts()
180 free_cpumask_var(node_cpu_mask); in hfi1_num_netdev_contexts()