diff options
author | 2017-02-09 15:21:28 +0200 | |
---|---|---|
committer | 2017-02-09 22:27:06 -0500 | |
commit | 6a1ce2fb67161f249b372a87d1d9899d8b087c8e (patch) | |
tree | 41437a41b169f46f3d3009ff27092e0809b47025 /drivers/net/loopback.c | |
parent | net/ena: remove ntuple filter support from device feature list (diff) | |
download | wireguard-linux-6a1ce2fb67161f249b372a87d1d9899d8b087c8e.tar.xz wireguard-linux-6a1ce2fb67161f249b372a87d1d9899d8b087c8e.zip |
net/ena: fix queues number calculation
The ENA driver tries to open a queue per vCPU.
To determine how many vCPUs the instance have it uses num_possible_cpus()
while it should have use num_online_cpus() instead.
Signed-off-by: Netanel Belgazal <netanel@annapurnalabs.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/loopback.c')
0 files changed, 0 insertions, 0 deletions