]> git.baikalelectronics.ru Git - kernel.git/commit
amd-xgbe: Allow for a greater number of Rx queues
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Thu, 10 Nov 2016 23:10:05 +0000 (17:10 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 Nov 2016 05:56:26 +0000 (00:56 -0500)
commit5b4bf4ccbdca345006c9c2e458ffebb699bbdf8f
tree6c5e7bc3229eda37e82c6a47b3a1d318b928fa8d
parent60038f5a99d9c3d8a18574de8f04ebcabcf87f73
amd-xgbe: Allow for a greater number of Rx queues

Remove the call to netif_get_num_default_rss_queues() and replace it
with num_online_cpus() to allow for the possibility of using all of
the hardware DMA channels available.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-main.c