summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-04-05 05:28:46 +0300
committerDavid S. Miller <davem@davemloft.net>2017-04-06 22:38:04 +0300
commit87d18757ec1677c594ada9b5882ab815893da1e2 (patch)
treefe61074becc9e44e5e0846d62da5cddcc8bff5ad /include/linux
parent51764777354664b20963359ad3b78e564d14e1a5 (diff)
downloadlinux-87d18757ec1677c594ada9b5882ab815893da1e2.tar.xz
ftgmac100: Split ring alloc, init and rx buffer alloc
Currently, a single function is used to allocate the rings themselves, initialize them, populate the rx ring, and allocate the rx buffers. The same happens on free. This splits them into separate functions. This will be useful when properly implementing re-initialization on link changes and error handling when the rings will be repopulated but not freed. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions