]> git.baikalelectronics.ru Git - kernel.git/commit
alx: prepare resource allocation for multi queue support
authorTobias Regnery <tobias.regnery@gmail.com>
Tue, 15 Nov 2016 11:43:13 +0000 (12:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2016 03:46:30 +0000 (22:46 -0500)
commit750528554c293e626949be9ab2d3a86b95f0b188
tree7d6726324cb9ba22e7be48a02f0796f3ed0615ef
parent1673419af0e69bb481769748ad9cb50d932f38cc
alx: prepare resource allocation for multi queue support

Allocate, initialise and free alx_tx_queue structs based on the number of
alx_napi structures. Also increase the size of the descriptor memory based
on the number of tx queues in use.

Based on the downstream driver at github.com/qca/alx

Signed-off-by: Tobias Regnery <tobias.regnery@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/alx/main.c