commit | 114bdef0be28aa9aa71e291d133e79edd514f8dc | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Thu Apr 07 19:39:41 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 08 15:26:05 2016 -0400 |
tree | 5ea9bd1da9787d8fbac4c5d1c94843964844a05a | |
parent | 1934680f5582b69a708181741cd77473a0d530ed [diff] |
nfp: preallocate RX buffers early in .ndo_open We want the .ndo_open() to have following structure: - allocate resources; - configure HW/FW; - enable the device from stack perspective. Therefore filling RX rings needs to be moved to the beginning of .ndo_open(). Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>