commit | 8c2a4c8efb0c22cb68fcecf84f3ac7af25ebf542 | [log] [tgz] |
---|---|---|
author | Tobias Regnery <tobias.regnery@gmail.com> | Tue Nov 15 12:43:08 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 15 22:46:30 2016 -0500 |
tree | eecaae387612515f5049e784855d4466aed705f1 | |
parent | 11b8ad33da03d9a296b5428baf36660d5612a7de [diff] |
alx: refactor descriptor allocation Split the allocation of descriptor memory and the buffer allocation into a tx and rx function. This is in preparation for multiple queues where we need to iterate over the new functions. While at it drop the unneeded casting on the rx side. Signed-off-by: Tobias Regnery <tobias.regnery@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>