| commit | ca40feab8f3d46a69bde7a13d652db2c9246c067 | [log] [tgz] |
|---|---|---|
| author | Jakub Kicinski <jakub.kicinski@netronome.com> | Thu Apr 07 19:39:42 2016 +0100 |
| committer | David S. Miller <davem@davemloft.net> | Fri Apr 08 15:26:05 2016 -0400 |
| tree | 9d9e6a25c575ec75d3c53ba5ece9dce09faf03dd | |
| parent | 114bdef0be28aa9aa71e291d133e79edd514f8dc [diff] |
nfp: move filling ring information to FW config
nfp_net_[rt]x_ring_{alloc,free} should only allocate or free
ring resources without touching the device. Move setting
parameters in the BAR to separate functions. This will make
it possible to reuse alloc/free functions to allocate new
rings while the device is running.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>