diff options
author | 2024-05-01 23:25:48 +0000 | |
---|---|---|
committer | 2024-05-05 14:35:34 +0100 | |
commit | ee24284e2a1075966f0f2c5499c59b7d2b9bc2de (patch) | |
tree | e1a650c406567d5292c2b252d5bac40d7e855fb9 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | gve: Account for stopped queues when reading NIC stats (diff) | |
download | wireguard-linux-ee24284e2a1075966f0f2c5499c59b7d2b9bc2de.tar.xz wireguard-linux-ee24284e2a1075966f0f2c5499c59b7d2b9bc2de.zip |
gve: Alloc and free QPLs with the rings
Every tx and rx ring has its own queue-page-list (QPL) that serves as
the bounce buffer. Previously we were allocating QPLs for all queues
before the queues themselves were allocated and later associating a QPL
with a queue. This is avoidable complexity: it is much more natural for
each queue to allocate and free its own QPL.
Moreover, the advent of new queue-manipulating ndo hooks make it hard to
keep things as is: we would need to transfer a QPL from an old queue to
a new queue, and that is unpleasant.
Tested-by: Mina Almasry <almasrymina@google.com>
Reviewed-by: Praveen Kaligineedi <pkaligineedi@google.com>
Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com>
Signed-off-by: Shailend Chand <shailend@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions