summaryrefslogtreecommitdiff
path: root/trafgen/.gitignore
blob: 32aad4d4537ef26d0c36abbff8d7e36d246f1a91 (plain)
1
2
3
4
*.*

!.gitignore
!Makefile
cludemode:
authorNetanel Belgazal <netanel@annapurnalabs.com>2017-02-09 15:21:28 +0200
committerDavid S. Miller <davem@davemloft.net>2017-02-09 22:27:06 -0500
commit6a1ce2fb67161f249b372a87d1d9899d8b087c8e (patch)
tree41437a41b169f46f3d3009ff27092e0809b47025
parentfdeea0ad87fd05e5fcb5e7b6643eabc34f29405a (diff)
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
-rw-r--r--drivers/net/ethernet/amazon/ena/ena_netdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c b/drivers/net/ethernet/amazon/ena/ena_netdev.c