diff options
author | Shailend Chand <[email protected]> | 2024-05-01 23:25:48 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-05-05 14:35:34 +0100 |
commit | ee24284e2a1075966f0f2c5499c59b7d2b9bc2de (patch) | |
tree | e1a650c406567d5292c2b252d5bac40d7e855fb9 /lib/test_fortify/write_overflow-memset.c | |
parent | af9bcf910b1f86244f39e15e701b2dc564b469a6 (diff) |
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 <[email protected]>
Reviewed-by: Praveen Kaligineedi <[email protected]>
Reviewed-by: Harshitha Ramamurthy <[email protected]>
Signed-off-by: Shailend Chand <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memset.c')
0 files changed, 0 insertions, 0 deletions