diff options
author | 2024-06-20 15:53:37 +0200 | |
---|---|---|
committer | 2024-07-10 10:31:28 -0700 | |
commit | 66c27e3b19d5aae58d7f0145113de61d6fba5e09 (patch) | |
tree | 57db3faaecc3bc9eff8685141a6282ccf94e8565 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | libeth: add cacheline / struct layout assertion helpers (diff) | |
download | wireguard-linux-66c27e3b19d5aae58d7f0145113de61d6fba5e09.tar.xz wireguard-linux-66c27e3b19d5aae58d7f0145113de61d6fba5e09.zip |
idpf: stop using macros for accessing queue descriptors
In C, we have structures and unions.
Casting `void *` via macros is not only error-prone, but also looks
confusing and awful in general.
In preparation for splitting the queue structs, replace it with a
union and direct array dereferences.
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Mina Almasry <almasrymina@google.com>
Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions