summaryrefslogtreecommitdiff
path: root/include/linux/linux_string.h
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2020-05-17 16:16:45 +0200
committerMarek Vasut <[email protected]>2020-06-18 19:34:40 +0200
commit1c38c36eb99abfd1bc46b90c80f7daa5c65f3527 (patch)
treed69aa20a859c0d45fe5b98c726ab3e0dc56dbcf9 /include/linux/linux_string.h
parente4797c31612d9c31b7b65fce8c3081ae2d150d00 (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 <[email protected]> Cc: Daniel Schwierzeck <[email protected]> Cc: Joe Hershberger <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions