diff options
author | Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> | 2009-02-05 23:53:59 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-05 23:53:59 -0800 |
commit | bc97114d3f998a040876695a9b2b5be0b1a5320b (patch) | |
tree | 52ad12f26046d32d3cd0cbd2105d41fb82836a68 /block | |
parent | 56035022d86fff45299288cb372a42f752ba23fa (diff) | |
download | blackbird-op-linux-bc97114d3f998a040876695a9b2b5be0b1a5320b.tar.gz blackbird-op-linux-bc97114d3f998a040876695a9b2b5be0b1a5320b.zip |
ixgbe: Refactor set_num_queues() and cache_ring_register()
The current code to determine the number of queues the device will want
on driver initialization is ugly and difficult to maintain. It also
doesn't allow for easy expansion for future features or future hardware.
This patch refactors these routines, and make them easier to deal with.
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions