]> git.baikalelectronics.ru Git - kernel.git/commit
amd-xgbe: Move ring allocation to device open
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Tue, 4 Nov 2014 22:06:26 +0000 (16:06 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Nov 2014 02:50:11 +0000 (21:50 -0500)
commitf8a47604095095de4ebe48b3974668524ea9c523
tree1feb576159fdb1cbde6067336b83377f2ec8f93d
parent3ac5d7d19af2dce4ccf18faf0ed1747aab3c2cce
amd-xgbe: Move ring allocation to device open

Move the channel and ring tracking structures allocation to device
open.  This will allow for future support to vary the number of Tx/Rx
queues without unloading the module.

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