]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit4780b7cae60cf10af4ae75bc5d6643f41d4c2969
tree1feb576159fdb1cbde6067336b83377f2ec8f93d
parent25de4668d094f00e44a8f2428dd3c1a4ecfa0053
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