diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2016-04-07 21:39:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-08 22:26:04 +0300 |
commit | 1934680f5582b69a708181741cd77473a0d530ed (patch) | |
tree | d84f57278c9ff7aeb449b4032e5c2aacbb6000ce /drivers/net/ethernet/hisilicon | |
parent | 827deea9bcd8fec3b6c0acf0178a5c508f3dfbe1 (diff) | |
download | linux-1934680f5582b69a708181741cd77473a0d530ed.tar.xz |
nfp: reorganize initial filling of RX rings
Separate allocation of buffers from giving them to FW,
thanks to this it will be possible to move allocation
earlier on .ndo_open() path and reuse buffers during
runtime reconfiguration.
Similar to TX side clean up the spill of functionality
from flush to freeing the ring. Unlike on TX side,
RX ring reset does not free buffers from the ring.
Ring reset means only that FW pointers are zeroed and
buffers on the ring must be placed in [0, cnt - 1)
positions.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon')
0 files changed, 0 insertions, 0 deletions