diff options
author | Shannon Nelson <shannon.nelson@amd.com> | 2024-03-07 00:29:50 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-03-08 12:54:34 +0100 |
commit | 65e548f6b0ffc4222a99feda8a033a2a9fb9f3e7 (patch) | |
tree | 64d64b48e377494e254c8cddcc5b0664c8e96dc9 /lib/find_bit.c | |
parent | ionic: remove callback pointer from desc_info (diff) | |
download | linux-65e548f6b0ffc4222a99feda8a033a2a9fb9f3e7.tar.xz linux-65e548f6b0ffc4222a99feda8a033a2a9fb9f3e7.zip |
ionic: remove the cq_info to save more memory
With a little simple math we don't need another struct array to
find the completion structs, so we can remove the ionic_cq_info
altogether. This doesn't really save anything in the ionic_cq
since it gets padded out to the cacheline, but it does remove
the parallel array allocation of 8 * num_descriptors, or about
8 Kbytes per queue in a default configuration.
Suggested-by: Neel Patel <npatel2@amd.com>
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/find_bit.c')
0 files changed, 0 insertions, 0 deletions