]> git.baikalelectronics.ru Git - kernel.git/commit
net: aquantia: Limit number of MSIX irqs to the number of cpus
authorIgor Russkikh <igor.russkikh@aquantia.com>
Thu, 19 Oct 2017 15:23:56 +0000 (18:23 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Oct 2017 11:32:24 +0000 (12:32 +0100)
commiteb2112faee8caa5cd3a68098b0416b5b800d24b8
tree22fd3ead2d10ea19fd70feeadcb0e9980cfe2ade
parent79d20361782bf8d695f0567b51b419db31be2e44
net: aquantia: Limit number of MSIX irqs to the number of cpus

There is no much practical use from having MSIX vectors more that number
of cpus, thus cap this first with preconfigured limit, then with number
of cpus online.

Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c