summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@amd.com>2024-03-07 02:29:51 +0300
committerDavid S. Miller <davem@davemloft.net>2024-03-08 14:54:34 +0300
commit4dcd4575bfb17d0f6e3d53e2f217a0414518a20c (patch)
tree3d8b5153916b47fd81b9ba8b71b665abc027c50d /tools/perf/scripts/python
parent65e548f6b0ffc4222a99feda8a033a2a9fb9f3e7 (diff)
downloadlinux-4dcd4575bfb17d0f6e3d53e2f217a0414518a20c.tar.xz
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 <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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions