diff options
| author | Shailend Chand <[email protected]> | 2024-01-22 18:26:30 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-01-24 01:41:31 +0000 |
| commit | 92a6d7a4010c3e84894f4fb7f481e648f0b12e53 (patch) | |
| tree | db9ebfaaddd3e09db4ca4154610fb56564ba3046 /net/unix/garbage.c | |
| parent | gve: Switch to config-aware queue allocation (diff) | |
| download | kernel-92a6d7a4010c3e84894f4fb7f481e648f0b12e53.tar.gz kernel-92a6d7a4010c3e84894f4fb7f481e648f0b12e53.zip | |
gve: Refactor gve_open and gve_close
gve_open is rewritten to be composed of two funcs: gve_queues_mem_alloc
and gve_queues_start. The former only allocates queue resources without
doing anything to install the queues, which is taken up by the latter.
Similarly gve_close is split into gve_queues_stop and
gve_queues_mem_free.
Separating the acts of queue resource allocation and making the queue
become live help with subsequent changes that aim to not take down the
datapath when applying new configurations.
Signed-off-by: Shailend Chand <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Reviewed-by: Jeroen de Borst <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
