diff options
author | Shannon Nelson <[email protected]> | 2024-03-06 15:29:51 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-03-08 11:54:34 +0000 |
commit | 4dcd4575bfb17d0f6e3d53e2f217a0414518a20c (patch) | |
tree | 3d8b5153916b47fd81b9ba8b71b665abc027c50d /lib/zstd/compress/zstd_lazy.h | |
parent | 65e548f6b0ffc4222a99feda8a033a2a9fb9f3e7 (diff) |
ionic: use specialized desc info structs
Make desc_info structure specific to the queue type, which
allows us to cut down the Rx and AdminQ descriptor sizes by
not including all the fields needed for the Tx desriptors.
Before:
struct ionic_desc_info {
/* size: 464, cachelines: 8, members: 6 */
After:
struct ionic_tx_desc_info {
/* size: 464, cachelines: 8, members: 6 */
struct ionic_rx_desc_info {
/* size: 224, cachelines: 4, members: 2 */
struct ionic_admin_desc_info {
/* size: 8, cachelines: 1, members: 1 */
Suggested-by: Neel Patel <[email protected]>
Reviewed-by: Brett Creeley <[email protected]>
Signed-off-by: Shannon Nelson <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/zstd/compress/zstd_lazy.h')
0 files changed, 0 insertions, 0 deletions