diff options
author | Marek Vasut | 2020-05-17 18:24:14 +0200 |
---|---|---|
committer | Daniel Schwierzeck | 2020-06-29 22:36:35 +0200 |
commit | 89369b0ac2ca0621bfc30baed739bb9d9e7fdcad (patch) | |
tree | 32c237ea97019f71803c39f76be72ca778912598 /include/fsl_ddr_dimm_params.h | |
parent | d3b1df0f396adb2b5c25ff655c3dae8624c41e50 (diff) |
net: pcnet: Simplify private data allocation
The current code is horribly complex. Both the RX and TX buffer
descriptors are 16 bytes in size, the init block is 32 bytes in
size, so simplify the code such that the entire private data of
the driver are allocated cache aligned and the RX and TX buffer
descriptors are part of the private data.
This removes multiple malloc calls and cache flushes.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/fsl_ddr_dimm_params.h')
0 files changed, 0 insertions, 0 deletions