aboutsummaryrefslogtreecommitdiff
path: root/test/common.sh
diff options
context:
space:
mode:
authorMarek Vasut2020-05-17 18:24:14 +0200
committerDaniel Schwierzeck2020-06-29 22:36:35 +0200
commit89369b0ac2ca0621bfc30baed739bb9d9e7fdcad (patch)
tree32c237ea97019f71803c39f76be72ca778912598 /test/common.sh
parentd3b1df0f396adb2b5c25ff655c3dae8624c41e50 (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 'test/common.sh')
0 files changed, 0 insertions, 0 deletions