diff options
| author | Stefano Brivio <sbrivio@redhat.com> | 2025-02-12 18:07:15 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-02-12 19:47:28 +0100 |
| commit | b899141ad52fb417fe608d9c8cfe66f9572207c7 (patch) | |
| tree | 9032870d08dc753d03a92a5cab9296feb6f1a562 /contrib | |
| parent | 155cd0c41e549cea956b7f8506cda7803cf63419 (diff) | |
| download | passt-b899141ad52fb417fe608d9c8cfe66f9572207c7.tar passt-b899141ad52fb417fe608d9c8cfe66f9572207c7.tar.gz passt-b899141ad52fb417fe608d9c8cfe66f9572207c7.tar.bz2 passt-b899141ad52fb417fe608d9c8cfe66f9572207c7.tar.lz passt-b899141ad52fb417fe608d9c8cfe66f9572207c7.tar.xz passt-b899141ad52fb417fe608d9c8cfe66f9572207c7.tar.zst passt-b899141ad52fb417fe608d9c8cfe66f9572207c7.zip | |
Add interfaces and configuration bits for passt-repair
In vhost-user mode, by default, create a second UNIX domain socket
accepting connections from passt-repair, with the usual listener
socket.
When we need to set or clear TCP_REPAIR on sockets, we'll send them
via SCM_RIGHTS to passt-repair, who sets the socket option values we
ask for.
To that end, introduce batched functions to request TCP_REPAIR
settings on sockets, so that we don't have to send a single message
for each socket, on migration. When needed, repair_flush() will
send the message and check for the reply.
Co-authored-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions
