summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-02-11 10:13:53 -0800
committerJakub Kicinski <kuba@kernel.org>2025-02-12 16:38:51 -0800
commit93d2f2f36ea993841d2efec4caef1cc95f4baa84 (patch)
tree15d5a3f186f1d226db6f29510192dfddd2b505a0 /scripts/generate_rust_analyzer.py
parent34eea78a1112afc3579e06abb510a9f57521adaf (diff)
eth: fbnic: wrap tx queue stats in a struct
The queue stats struct is used for Rx and Tx queues. Wrap the Tx stats in a struct and a union, so that we can reuse the same space for Rx stats on Rx queues. This also makes it easy to add an assert to the stat handling code to catch new stats not being aggregated on shutdown. Acked-by: Joe Damato <jdamato@fastly.com> Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com> Link: https://patch.msgid.link/20250211181356.580800-3-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions