diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-04-14 12:08:00 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-14 14:57:11 -0400 |
commit | 74b6f29163490d88ff53f7c54d0e4514bbf1630b (patch) | |
tree | 7d9d981d6d5fa3ea6e89e7cd944adfd1d6627084 /tools/perf/scripts/python/syscall-counts.py | |
parent | b9650557f3d58924e3be040df0ff7a3dae19ad83 (diff) | |
download | linux-74b6f29163490d88ff53f7c54d0e4514bbf1630b.tar.gz linux-74b6f29163490d88ff53f7c54d0e4514bbf1630b.tar.bz2 linux-74b6f29163490d88ff53f7c54d0e4514bbf1630b.zip |
bgmac: simplify dma init/cleanup
Instead of allocating buffers at device init time and initializing
descriptors at device open, do both at the same time (during open).
Free all buffers when closing the device.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Acked-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions