diff options
author | Shailend Chand <shailend@google.com> | 2024-05-02 02:25:48 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-05-05 16:35:34 +0300 |
commit | ee24284e2a1075966f0f2c5499c59b7d2b9bc2de (patch) | |
tree | e1a650c406567d5292c2b252d5bac40d7e855fb9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | af9bcf910b1f86244f39e15e701b2dc564b469a6 (diff) | |
download | linux-ee24284e2a1075966f0f2c5499c59b7d2b9bc2de.tar.xz |
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions