diff options
| author | Laurent Vivier <lvivier@redhat.com> | 2026-05-13 13:52:11 +0200 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-05-20 01:21:19 +0200 |
| commit | d3a486858be2aa3e318047929e963cb4c02aa997 (patch) | |
| tree | 04dffd56acc94432e82452ffcd884477ddc82e6b /test/tcp/git: | |
| parent | d7259ea24c8aa4908f60d54f4df40bfcb3da6407 (diff) | |
| download | passt-d3a486858be2aa3e318047929e963cb4c02aa997.tar passt-d3a486858be2aa3e318047929e963cb4c02aa997.tar.gz passt-d3a486858be2aa3e318047929e963cb4c02aa997.tar.bz2 passt-d3a486858be2aa3e318047929e963cb4c02aa997.tar.lz passt-d3a486858be2aa3e318047929e963cb4c02aa997.tar.xz passt-d3a486858be2aa3e318047929e963cb4c02aa997.tar.zst passt-d3a486858be2aa3e318047929e963cb4c02aa997.zip | |
vu_common: Move vnethdr setup into vu_flush()
Every caller of vu_flush() was calling vu_set_vnethdr() beforehand with
the same pattern. Move it into vu_flush().
Remove vu_queue_notify() from vu_flush() and let callers invoke it
explicitly. This allows paths that perform multiple flushes, such as
tcp_vu_send_flag() and tcp_vu_data_from_sock(), to issue a single guest
notification at the end.
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Jon Maloy <jmaloy@redhat.com>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/tcp/git:')
0 files changed, 0 insertions, 0 deletions
